rdpwrap/README.md

12 KiB

RDP Wrapper Library by Stas'M

The goal of this project is to enable Remote Desktop Host support and concurrent RDP sessions on reduced functionality systems for home usage.

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.

Screenshots:

                         

This solution was inspired by Windows Product Policy Editor, big thanks to kost :)
- binarymaster

Attention:
It's recommended to have original termsrv.dll file with the RDP Wrapper installation. If you have modified it before with other patchers, it may become unstable and crash in any moment.

Information:
• Source code is available, so you can build it on your own
• RDP Wrapper does not patch termsrv.dll, it loads termsrv with different parameters
• RDPWInst and RDPChecker can be redistributed without development folder and batch files
• RDPWInst can be used for unattended installation / deployment
• Windows 2000, XP and Server 2003 will not be supported

Porting to other platforms:
ARM for Windows RT (see links below)
IA-64 for Itanium-based Windows Server? Well, I have no idea :)

Building the binaries:
x86 Delphi version can be built with Embarcadero RAD Studio 2010
x86/x64 C++ version can be built with Microsoft Visual Studio 2013

Links:
• Official GitHub repository:
https://github.com/binarymaster/rdpwrap/
• Active discussion in the comments here:
Enable remote desktop on Windows 8 core / basic - Andrew Block .net
• MDL Projects and Applications thread here:
RDP Wrapper Library (works with Windows 8.1 Basic)
• Some ideas about porting to ARM for Windows RT (post #23):
[Q] Mod Windows RT to enable Remote Desktop
• Adding «Remote Desktop Users» group:
http://superuser.com/questions/680572/

Files description:

RDPWInst.exeRDP Wrapper Library installer/uninstaller
RDPCheck.exeLocal RDP Checker (you can check the RDP is working)
RDPConf.exeRDP Wrapper Configuration
install.batQuick install batch file
uninstall.batQuick uninstall batch file

Change log:

2014.12.11
• Version 1.5
• Added INI config support
• Configuration is stored in INI file now
• We can extend version support without building new binaries
• Added support for Windows 8.1 with KB3000850
• Added support for Windows 10 Technical Preview Update 2
• Installer updated
• RDP Config updated
• Diagnostics feature added to RDP Config

2014.11.14
• Version 1.4
• Added support for Windows 10 Technical Preview Update 1
• Added support for Windows Vista SP2 with KB3003743
• Added support for Windows 7 SP1 with KB3003743
• Added new RDP Configuration Program

2014.10.21
• Installer updated
• Added feature to install RDP Wrapper to System32 directory
• Fixed issue in the installer - NLA setting now remains unchanged
• Local RDP Checker updated
• SecurityLayer and UserAuthentification values changed on check start
• RDP Checker restores values on exit

2014.10.20
• Version 1.3
• Added support for Windows 10 Technical Preview
• Added support for Windows 7 with KB2984972
• Added support for Windows 8 with KB2973501
• Added extended support for Windows Vista (SP0, SP1 and SP2)
• Added extended support for Windows 7 (SP0 and SP1)
• Some improvements in the source code
• Installer updated to v2.2
• Fixed installation bug in Vista x64 (wrong expand path)
• Local RDP Checker updated
• Added description to error 0x708

2014.07.26
• Version 1.2
• Added support for Windows 8 Developer Preview
• Added support for Windows 8 Consumer Preview
• Added support for Windows 8 Release Preview
• Added support for Windows 8.1 Preview
• Added support for Windows 8.1
• More details you will see in the source code
• Installer updated to v2.1

2013.12.09
• C++ port of RDP Wrapper was made by Fusix
• x64 architecture is supported now
• Added new command line installer v2.0
• Added local RDP checker
• Source code (C++ port, installer 2.0, local RDP checker) is also included

2013.10.25
• Version 1.1 source code is available

2013.10.22
• Version 1.1
• Stable release
• Improved wrapper (now it can wrap internal unexported termsrv.dll SL Policy function)
• Added support for Windows 8 Single Language (tested on Acer Tablet PC with Intel Atom Z2760)

2013.10.19
• Version 1.0
• First [beta] version
• Basic SL Policy wrapper

Supported Terminal Services versions:
6.0.X.X (Windows Vista / Server 2008)
6.0.6000.16386 (Windows Vista)
6.0.6001.18000 (Windows Vista SP1)
6.0.6002.18005 (Windows Vista SP2)
6.0.6002.19214 (Windows Vista SP2 with KB3003743 GDR)
6.0.6002.23521 (Windows Vista SP2 with KB3003743 LDR)
6.1.X.X (Windows 7 / Server 2008 R2)
6.1.7600.16385 (Windows 7)
6.1.7601.17514 (Windows 7 SP1)
6.1.7601.18540 (Windows 7 SP1 with KB2984972 GDR)
6.1.7601.22750 (Windows 7 SP1 with KB2984972 LDR)
6.1.7601.18637 (Windows 7 SP1 with KB3003743 GDR)
6.1.7601.22843 (Windows 7 SP1 with KB3003743 LDR)
6.2.8102.0 (Windows 8 Developer Preview)
6.2.8250.0 (Windows 8 Consumer Preview)
6.2.8400.0 (Windows 8 Release Preview)
6.2.9200.16384 (Windows 8 / Server 2012)
6.2.9200.17048 (Windows 8 with KB2973501 GDR)
6.2.9200.21166 (Windows 8 with KB2973501 LDR)
6.3.9431.0 (Windows 8.1 Preview)
6.3.9600.16384 (Windows 8.1 / Server 2012 R2)
6.3.9600.17095 (Windows 8.1 with KB2959626)
6.3.9600.17415 (Windows 8.1 with KB3000850)
6.4.9841.0 (Windows 10 Technical Preview)
6.4.9860.0 (Windows 10 Technical Preview Update 1)
6.4.9879.0 (Windows 10 Technical Preview Update 2)
10.0.9926.0 (Windows 10 Pro Technical Preview)
10.0.10041.0 (Windows 10 Pro Technical Preview Update 1)
10.0.10240.16384 (Windows 10 RTM)

Confirmed working on:
• Windows Vista Starter (x86 - Service Pack 1 and higher)
• Windows Vista Home Basic (x86 - Service Pack 1 and higher)
• Windows Vista Home Premium (x86 - Service Pack 1 and higher)
• Windows Vista Business (x86 - Service Pack 1 and higher)
• Windows Vista Enterprise (x86 - Service Pack 1 and higher)
• Windows Vista Ultimate (x86 - Service Pack 1 and higher)
• Windows 7 Starter
• Windows 7 Home Basic
• Windows 7 Home Premium
• Windows 7 Professional
• Windows 7 Enterprise
• Windows 7 Ultimate
• Windows 8 Developer Preview
• Windows 8 Consumer Preview
• Windows 8 Release Preview
• Windows 8
• Windows 8 Single Language
• Windows 8 Pro
• Windows 8 Enterprise
• Windows 8.1 Preview
• Windows 8.1
• Windows 8.1 Connected (with Bing)
• Windows 8.1 Single Language
• Windows 8.1 Connected Single Language (with Bing)
• Windows 8.1 Pro
• Windows 8.1 Enterprise
• Windows 10 Technical Preview
• Windows 10 Pro Technical Preview
• Windows 10 Enterprise

Known issues:
• RDP works, but termsrv.dll crashes on logon attempt - Windows Vista Starter RTM x86 (termsrv.dll 6.0.6000.16386)
• If Terminal Services hangs at startup, try to add rdpwrap.dll to antivirus exclusions. Also try to isolate RDP Wrapper from other shared services by the command:
sc config TermService type= own
• RDP Wrapper Installer can be removed by AVG Free Antivirus after reboot - add it to exclusions.

Installation instructions:
1. Download latest release binaries and unpack files
2. Run Command Prompt (cmd) as administrator
3. Change directory to where you extracted the files
4. Type install.bat and press Enter
5. See command output for details

To uninstall:
1. Run Command Prompt as administrator
2. Change directory to where you extracted the files
3. Type uninstall.bat and press Enter
4. See command output for details