Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want to logoff all users. How?

Status
Not open for further replies.

RonA

MIS
Sep 21, 1999
3
US
I want to logoff all users from the server using a batch program? Is there a utility that will let me do this?<br>
Thanks,
 
Does it have to be a batch or can you use server manager?
 
It needs to be a progam that I can start with a timer and have it run unattended.
 
You could try using the AT command or the command scheduler from the resource kit, with the command &quot;net session /delete&quot; to end all the sessions, or with the command &quot;net stop server&quot; to stop the server service&quot; and &quot;net start server&quot; to start it again.<br>

 
Is this something you're doing on a regualr basis? You could set hours restrictions on your user accounts.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top