How can I initiate remote control of a session from the command line in Windows 2000 Server Terminal Services?

John Savill

October 8, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. You can use the SHADOW command line utility to initiate remote control of a session. Before you use this utility, you must ascertain the name of the session you want to control. You can obtain the session name with the QINSTA command. (Remember that you can only remotely control a session from within another Terminal Services session, so don't try any of the following commands except from within a session.)

G:>qwinsta
SESSIONNAME  USERNAME ID    STATE  TYPE    DEVICE
console      Administrator  0      Active  wdcon
rdp-tcp                     65536  Listen  rdpwd
>rdp-tcp#10  Administrator  1      Active  rdpwd
rdp-tcp#11   Administrator  2      Active  rdpwd

The session prefixed with a right angle bracket (>) is the current session.

To shadow a session, use the following syntax:

SHADOW [session name]

For example, to shadow the rdp-tcp#11 session, you would type the following command and see the following system messages:

G:>shadow rdp-tcp#11
Your session may appear frozen while the remote control approval is being negotiated.
Please wait...

To stop the remote control, press the default escape sequence Ctrl + the * key on the numeric keypad.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like