Easily connect to an RDP shadow session.
Shadow.bat requires some preparation on the client side.
Be careful as this increases security risks.
1. In gpedit.msc, go to the following directory:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections
2. Set the following parameters to Enabled:
set rules for remote control of Remote Desktop services user sessions
3. In the auxiliary fields, select the following:
Full Control without user's permission