1

I would like to log off all users from my terminal server (running Windows Server 2003) at 7 PM every night. What script might I use that will accomplish this? Thanks, in advance, for your help!

Nathan
  • 13
  • 1
    This might help, it explains how to do part of what you are after: http://itknowledgeexchange.techtarget.com/itanswers/server-2003-2/ – Excalibur Sep 05 '12 at 22:03

1 Answers1

1

This will close all RDP (Remote Desktop) connections:

rwinsta rdp-tcp
u1686_grawity
  • 452,512
  • Can this command be added to a batch file and run on schedule? Is there any concern about running this command unattended (i.e. on a schedule at night)? Thanks! – Nathan Sep 18 '12 at 20:16