While looking around for command-line Terminal Services management tools, I discovered
tsdiscon. Running it causes the workstation to, essentially, "switch user." Strictly speaking, it disconnects the Terminal Services session, so it would disconnect a Remote Desktop session if run under one.
Interestingly enough, this utility seems to not follow Microsoft's tendency to have programs in system directories not do anything without command line parameters. (People liked to click around in their system folders and accidentally do bad things.)
No comments:
Post a Comment