Configuring Remote Desktop for Full Control
The following steps will enable console-level Remote Desktop on Microsoft Windows Server 2003 and Windows XP computers.
1. Click
Start and then click
Run.
2. Enter the command:
gpedit.msc
3. Expand
Administrative Templates in the left pane, under Computer Configuration.
4. Expand
Windows Components.
5. Click on
Terminal Services in the left pane.
6. Double-click
Sets rules for remote control of Terminal Services user sessions in the right pane.
7. Click
Enabled on the Setting tab.
8. Click
Full Control with user's permission in the Options box and then click
OK.
Note: It is not recommended to leave this configuration in place permanently as it could become a security issue. This could provide unauthorized users access to the console, the registry and give them full permissions.
Opening a remote Console Session
The following steps describe how to open a console session directly through Remote Desktop.
Note: Anyone connected to this session will be logged out and removed from the session. If the server is on but no one is logged in locally, your connection will be forced into a non-console session.
1. Click
Start and then click
Run.
2. Enter the command:
mstsc -v:servername /f -console
RDP 6.1 has removed the console switch and replaced it with admin. See Technical Information for more information. To get the console session with 6.1, type the following:
mstsc -v:servername /f -admin
Shadowing the Console Session
Similar to opening a console session, you can also choose to shadow the console session. This method allows you to control a console session that is already in use.
The following steps describe how to shadow the console session.
1. Click
Start and then click
Run.
2. Enter the command:
mstsc -v:servername /f
3. Once connected, click
Start and then click
Run (within the RDP session.)
4. Enter the command:
shadow 0
You should see the following message: “Your session may appear frozen while remote control approval is being negotiated. Please wait.”
The user controlling the remote console session should see the following message: “Domain\User is requesting to control this session remotely. Do you accept?”
If the remote user accepts the connection then a shadow of the console session is negotiated.
To disconnect the shadow session, press
CTRL + *. You will then be returned to the original non-console session.
Verifying the Console Session
The following steps describe how to verify that you are connected to the console session.
1. Click
Start and then click
Run.
2. Enter the command:
query console or
qwinsta
3. The current session will be prefixed with ">"
4. If the current session ID is not 0 (Zero) then you don't have full access to the console registry.
NOTE: The value SESSIONNAME can be misleading... a mstsc session name will always be of the form "rdp-tcp#XX" even when using the /console or /admin switch.
Technical InformationRDP 6.1 is standard with Vista and Server 2008 and is a recommended download for XP and 2000.
Additionally, when using RDP 6.1 and connecting to a machine with RDP 6.0, running a SET in CMD will display the following:
Session = RDP TCP # X USERNAME SESSION ID
If session ID is O, this is shadowing console. If you run a QWINSTA in CMD you will get more detailed session information. Our install must be done through shadow of console (SESSION 0) or Console Session ONLY.