RDP Shadow: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Created page with 'To shadow a RDP session you first need to RDP to the same server and obtain a list of users that have logged onto the server. <pre> query user </pre> Look specifically for the I…'
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
To shadow a RDP session you first need to RDP to the same server and obtain a list of users that have logged onto the server.
To shadow a RDP session you first need to RDP to the same server and obtain a list of users that have logged onto the server or ask the users already logged on to find the session ID.
<pre>
<pre>
query user
query user
</pre>
</pre>


Look specifically for the ID number.  Once you have the ID number of the user that you wish to shadow type in:
Look specifically for the ID number.  Once you have the ID number of the user that you wish to shadow from any computer on the same network type in:
<pre>
<pre>
shadow x
mstsc /v:servername /shadow:ID /prompt /control
</pre>
</pre>


... replacing the x with the number of the session number.
... replacing the ID with the number of the session number.
 
<pre>
      /shadow:ID – connect to the RDP session with the specified ID.
  /v:servername – hostname or IP address of the RDP / RDS server (if not set, a current server / computer will be used).
        /control – allows to interact with the user session (if not set – a user session view mode is used).
/noConsentPrompt – allows not to prompt the user for confirmation to connect to a session.
        /prompt – used to connect with other credentials. The user name and password are requested to connect to the remote computer.
</pre>


[[Category : Windows]]
[[Category : Windows]]

Latest revision as of 02:05, 14 January 2020

To shadow a RDP session you first need to RDP to the same server and obtain a list of users that have logged onto the server or ask the users already logged on to find the session ID.

query user

Look specifically for the ID number. Once you have the ID number of the user that you wish to shadow from any computer on the same network type in:

mstsc /v:servername /shadow:ID /prompt /control

... replacing the ID with the number of the session number.

      /shadow:ID – connect to the RDP session with the specified ID.
   /v:servername – hostname or IP address of the RDP / RDS server (if not set, a current server / computer will be used).
        /control – allows to interact with the user session (if not set – a user session view mode is used).
/noConsentPrompt – allows not to prompt the user for confirmation to connect to a session.
         /prompt – used to connect with other credentials. The user name and password are requested to connect to the remote computer.