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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

force disconnection of users on windows 2003 server

Status
Not open for further replies.

zon123

IS-IT--Management
Joined
Oct 11, 2005
Messages
49
Location
US
Hi,
I need to be able to force disconnection of all users ( except 1 user)from all servers at 11pm to 3am everyday. How do I do this on a WIndows 2003 sever.
 
You can set the logon hours for your domain. set up a GPO for this. If users are already connected I dont know what would happen. I dont think they automatically get disconnected though.
 
I need a script that would probably kill all the net sessions except one, and run the script as a scheduled job.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top