How to manage Termial services via Command line

I came a cross a problem when trying to connect to a system with the GUI Termical Services manager, had to use a different username and password and it came back as fail to login with the run as. I needed to clear some of the old disconnected sessions for a windows 2000 server. So I came a cross this blog http://weblogs.asp.net/owscott/archive/2003/12/30/Managing-Terminal-Services-Sessions-Remotely.aspx. about how to use qwinsta /server: and rwinsta /server: to view and disconnect the sessions, I did already have a IPC$ connection to the server with the user name that i needed not sure if that is why i did not get prompted for a user name and password via command line.

 

Another great resource http://technet.microsoft.com/en-us/library/cc775998(v=ws.10).aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: