I need a script either bat or vbs that will log off all users from a win 2k3 server.

I need a script that i could run as a scheduled task that will log off users from a win 2k3 server...
Thanks in advance
geoasher023Asked:
Who is Participating?
 
Robin CMConnect With a Mentor Senior Security and Infrastructure EngineerCommented:
Microsoft already wrote this:
http://support.microsoft.com/kb/259436
0
 
seanyc111Commented:
type shutdown -i in cmd and it will open a gui giving you options of restarting, shutting down or logging off computers and you can add computers at the top

this will need user input each time but you can write a very simple vbs file that will inpput all the commands for u using oShell.sendkeys. i can even write the vbs file for u    

0
 
geoasher023Author Commented:
That would be awesome thanx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.