Friday, February 20, 2015

Multiple RDP (Remote Desktop) sessions on Windows 8

Windows 8.1 (as well as all previous Windows client OS version) allows only one concurrent user session. This means you can't connect via Remote Desktop if local user is already logged on. Normally it's not a problem on a client machine, but in some cases you may want ability to login concurrently. A good example is a Media Centre PC when somebody watches a movie and you want to access the machine without interrupting the movie.


To have multiple RDP sessions working you normally need server version of termsrv.dll file or modify/patch an existing version.


You can download the patched termsrv.dll from here.


You can also do this yourself using any HEX editor by replacing flowing string in your existing termsrv.dll:


39 81 3C 06 00 00 0F 84 D3 1E 02 00


with


B8 00 01 00 00 89 81 38 06 00 00 90


In case you screw something up, original unpatched termsrv.dll v6.3.9600.17415 can be downloaded from here.


Additionaly you may need to change these registry settings:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]

"fSingleSessionPerUser"=dword:00000000
"fDenyTSConnections"=dword:00000000

No comments:

Post a Comment