RDP Shadow: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
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 | mstsc /v:servername /shadow:ID /prompt /control | ||
</pre> | </pre> | ||
... replacing the | ... replacing the ID with the number of the session number. | ||
<pre> | <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> | </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.