Windows Shadow command to interact/connect with a user Remote Desktop Session
Purpose of Shadow Utility
This Window feature allows a remote (RDP) user to interact with another remote user of the same server. Shadow allows both the users to view and interact with the remote desktop session.
For example: if don’t have Gotomeeting, WebEx to call the user for a meeting and the user is having less bandwidth, to view the problem that user facing in the remote desktop session, shadow the user session, view the issue and recommend the fix.
Shadow Remote Desktop Session on the terminal server
Scenario describes with two users O and M, where O wants to shadow M Remote Desktop session.
- Both user need to login the terminal server using Remote Desktop Connection.
User O need to open Window “Task Manager” and identify the remote Session ID used by M.
- User need to open command prompt with Administrator privilege and enter the command
- User M is prompted with a wizard for allowing access for O, after granting the access user session of M is shadowed.
Remote desktop shadow command line in Windows 8.1
An administrator can also run the following command line on a machine with the Windows 8.1 MSTSC.EXE package.
Mstsc.exe [/shadow:sessionID [/v:Servername] [/u:[Username]] [/control] [/noConsentPrompt]]
/shadow:IDStarts shadow with the specified sessionID.
/v:servernameIf not specified, will use the current server as the default.
/u:usernameIf not specified, the currently logged on user is used.
/controlIf not specified, will only view the session.
/noConsentPromptAttempts to shadow without prompting the shadowee to grant permission.
Before running mstsc.exe /shadow, it is assumed that the administrator would have found the user’s session ID using some other mechanism, such as qwinsta.exe.
Shadow desktop of users using Windows 2012 Remote Desktop Service
Select Remote Desktop Services, Choose the user, right click and select Shadow
Query Remote Desktop Session details using Command line
query session [<SessionName> | <UserName> | <SessionID>] [/server:<ServerName>] [/mode] [/flow] [/connect] [/counter]
|<SessionName>||Specifies the name of the session that you want to query.|
|<UserName>||Specifies the name of the user whose sessions you want to query.|
|<SessionID>||Specifies the ID of the session that you want to query.|
|/server:<ServerName>||Identifies the RD Session Host server to query. The default is the current server.|
|/mode||Displays current line settings.|
|/flow||Displays current flow-control settings.|
|/connect||Displays current connect settings.|
|/counter||Displays current counters information, including the total number of sessions created, disconnected, and reconnected.|
|/?||Displays help at the command prompt.|
Latest posts by Melbin Mathew (see all)
- VMware virtual IDE to virtual SCSI hard disk conversion steps – Windows XP - August 6, 2015
- Stop Error “CRITICAL_STRUCTURE_CORRUPTION - August 5, 2015
- Error installing Windows server role and feature required for the Exchange 2010 - December 3, 2013