WTSStartRemoteControlSession: does it work?

  • Thread starter Thread starter MissionCritical
  • Start date Start date
M

MissionCritical

Guest
In a nutshell, I can't get the WTSStartRemoteControlSession to work.

As a bit of background, my application currently uses the WinStationShadow api, found in WINSTA.DLL. This used to work, but perhaps over the years newer Windows versions changed something. Now the error "This function is not supported on this system" is returned when calling WinStationShadow. Changing to using WTSStartRemoteControlSession gets the exact same error.

The attempt to shadow a session is made on a session connected to the server, and this is done through a remote session, which I know is required for it to work. I was able to shadow the session using mstsc /shadow:<session_id>, so that part is working. I also tried a NULL server, which changes the error to 'The parameter is incorrect'.

Has anyone determined if this function still works on Server 2016 and onwards?

Continue reading...
 
Back
Top