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!

1

1 Answer 1

1

This will close all RDP (Remote Desktop) connections:

rwinsta rdp-tcp
1
  • 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, 2012 at 20:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .