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<br> SESSIONNAME USERNAME ID STATE TYPE DEVICE<br> console Administrator 0 Active wdcon<br> rdp-tcp 65536 Listen rdpwd<br> >rdp-tcp#10 Administrator 1 Active rdpwd<br> rdp-tcp#11 Administrator 2 Active rdpwd<br><br>The session prefixed with a right angle bracket (>) is the current session.
To shadow a session, use the following syntax:
SHADOW \[session name\]<br><br>
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<br> Your session may appear frozen while the remote control approval is being negotiated.<br> Please wait...<br><br> To stop the remote control, press the default escape sequence Ctrl + the * key on the numeric keypad.<br>