RDPWrap download - remotely connecting to Windows using Remote Desktop multiple times without hacking termsrv.dll

  • Posted on: 10 March 2016
  • By: Michał Turecki
AttachmentSize
Package icon RDPWrapper16.zip1.52 MB

Having a home media centre PC (categorised as such because it's connected to a TV instead of a monitor) which is always on, from time to time I need to remote in to it and only Server editions of Windows allow a user to be logged in both locally and remotely at the same time.

As far as I know there are 2 ways to correct this:

  1. Patching termsrv.dll library. This was made harder in Windows 10 as permissions to modify this file have been limited recently and changing of file permissions is needed which is not ideal. It's also not windows update friendly.
  2. RDP Wrapper library by Stas'M is a set of tools prepared to hook into windows remote desktop facilities. It is not invasive but definitely hackish in a way that as far as I know it hooks on in-memory RDP methods.

As it states on the repository website:

RDP Wrapper works as a layer between Service Control Manager and Terminal Services, so the original termsrv.dll file remains untouched. Also this method is very strong against Windows Update

There is one problem though. For some reason binary releases section does not contain the actual binaries (which need to be compiled using Delphi). Not many people out there have access to Delphi development environment so I prepared a build which can be downloaded below for all those who are interested in experimenting with it.

Binary releases are now available, download the binaries from GitHub to get most up to date version.

How to use:

  1. Run install.bat as Administrator to install the patch
  2. Run update.bat as Administrator to update current list of binary patches from git (firewall must allow RDPWInst.exe to access the Internet - it grabs most recent patch offsets from github)