I need a server process to run with full access to the physical desktop of the server. I also need to view/control it's state remotely.
My current solution involves a VNC Server service, but I want to have a more "native" solution.
I tried using RDP's session shadowing, but it doesn't work for the console session:
mstsc /shadow:3 /v:somehost.example.com /noConsentPrompt
All I get is "The specified session is not connected", while query the session on the server give me:
> query session
SESSIONNAME USERNAME ID STATE TYPE DEVICE
services 0 Disc
>rdp-tcp#2 Administrator 1 Active
console 3 Conn
rdp-tcp 65536 Listen
FWIW, I configured the group policy to allow connections without consent.
Is there something else I might be missing or this is just not possible ?
Best Answer
I don't think it can be done with windows 2012. I know in the past I have used either the /console or /admin switches because of the following reasons:
But it doesn't look like this is possible in Windows 2012 because it never attaches you to ID 0