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!
1 Answer
This will close all RDP (Remote Desktop) connections:
rwinsta rdp-tcp
-
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!– NathanSep 18, 2012 at 20:16