I presume you want to stop exchange service only (not the server box
totally).

use the PSTools suite fr Mark Russinovich of SysInternals
(www.sysinternals.com). 
btw, it is free :-)

The tools included in the PsTools suite, which are downloadable individually
or as a package, are: 
o PsExec - execute processes remotely 
o PsFile - shows files opened remotely 
o PsGetSid - display the SID of a computer or a user 
o PsKill - kill processes by name or process ID 
o PsInfo - list information about a system 
o PsList - list detailed information about processes 
o PsLoggedOn - see who's logged on locally and via resource sharing (full
source is included) 
o PsLogList - dump event log records 
o PsService - view and control services 
o PsShutdown - shuts down and optionally reboots a computer 
o PsSuspend - suspends processes 
o PsUptime - shows you how long a system has been running since its last
reboot (PsUptime's functionality has been incorporated into PsInfo) 

All of the utilities in the PsTools suite work on both Windows NT and
Windows 2000. 
The PSService tool, i think, is the immediate solution to your problem.

hope I was able to help,
-botp



-----Original Message-----
From: Michael Brandon [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 11, 2001 7:10 AM
To: Exchange Discussions
Subject: RE: Disabling access to an Exchange 5.5 server programmatically


Thanks for the suggestion. It's an effective method for disabling user
access to the Exchange server, but (a) it isn't practical if you don't have
IT staff at the site (b) it isn't quick if you have to shut down large
numbers of servers and (c) it isn't helpful when you want to work on the
server remotely after user access has been disabled.

Cheerio, Michael

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

Reply via email to