How to Enable Shadow Session in Windows Server

In this article, we’ll look at how to configure and use RDS Shadowing to connect and manage active RDP user sessions on Windows Server.
 
  • Function
Shadow session mode allows RDS administrators to view and interact with the user’s desktop. Remote Desktop Shadowing mode works on all modern versions of Windows, starting from Windows Server 2012 R2 and Windows 8.1 (except for Windows Server 2012, due to the transfer of the RDP stack from kernel to user mode).
 
  • Enabled Multiple Sessions
Please refer to the following document:
 
  • Enabled Rules in Windows Firewall
 
  • Set Rules in gpedit
  • Set Rules Manually
Administrative Templates -> Windows components -> Remote Desktop Services -> Remote Session Host -> Connections -> Set rules for remote control of Remote Desktop Services user sessions
 
  • Test
Please use the following command in Powershell
Check user and session ID:
qwinsta
Connect and View session:
Mstsc /shadow:session ID 
Connect and Control Session:
Mstsc /shadow:session ID /control
Note:
  • Only the user with administrator permission can connect to other users’ shadow sessions.
  • Shadow session must be active. If it’s disconnected or inactive, it cannot be connected.
  • Please remember to enable multiple sessions.

Add Feedback