rdpwrap_v2/README.md

257 lines
14 KiB
Markdown
Raw Normal View History

2014-10-23 01:27:03 +02:00
<b>RDP Wrapper Library by Stas'M</b><br>
<br>
The goal of this project is to enable Remote Desktop Host support and concurrent RDP sessions on reduced functionality systems for home usage.<br>
<br>
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.<br>
<br>
Screenshots:<br>
<div style="padding-top: 4px; width: 534px; white-space: nowrap; overflow: auto; overflow-y: hidden">
2014-10-23 01:28:33 +02:00
<a href="http://stascorp.com/images/rdpwrap/VistaST.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pVistaST.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/VistaHB.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pVistaHB.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/Win7ST.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin7ST.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/Win7HB.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin7HB.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/Win8DP.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin8DP.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/Win8CP.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin8CP.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/Win8RP.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin8RP.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/Win8.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin8.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/Win81P.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin81P.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/Win81.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin81.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/Win10TP.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin10TP.jpg"></a>&nbsp;
2015-07-17 02:45:22 +02:00
<a href="http://stascorp.com/images/rdpwrap/Win10PTP.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin10PTP.jpg"></a>&nbsp;
<a href="http://stascorp.com/images/rdpwrap/Win10.png" target="_blank"><img src="http://stascorp.com/images/rdpwrap/pWin10.jpg"></a>&nbsp;
2014-10-23 01:27:03 +02:00
</div><br>
This solution was inspired by <a href="http://forums.mydigitallife.info/threads/39411-Windows-Product-Policy-Editor" target="_blank">Windows Product Policy Editor</a>, big thanks to <b>kost</b> :)<br>
- binarymaster<br>
<br>
Attention:<br>
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.<br>
<br>
Information:<br>
• Source code is available, so you can build it on your own<br>
• RDP Wrapper does not patch termsrv.dll, it loads termsrv with different parameters<br>
• RDPWInst and RDPChecker can be redistributed without development folder and batch files<br>
• RDPWInst can be used for unattended installation / deployment<br>
• Windows 2000, XP and Server 2003 will not be supported<br>
<br>
Porting to other platforms:<br>
<b>ARM</b> for Windows RT (see links below)<br>
<b>IA-64</b> for Itanium-based Windows Server? <i>Well, I have no idea</i> :)<br>
<br>
Building the binaries:<br>
<b>x86 Delphi version</b> can be built with <i>Embarcadero RAD Studio 2010</i><br>
<b>x86/x64 C++ version</b> can be built with <i>Microsoft Visual Studio 2013</i><br>
<br>
2014-10-23 01:27:03 +02:00
<b>Links:</b><br>
2014-11-05 11:35:12 +01:00
• Official GitHub repository:<br>
2016-03-06 03:58:29 +01:00
<a href="https://github.com/stascorp/rdpwrap/" target="_blank">https://github.com/stascorp/rdpwrap/</a><br>
2014-11-05 11:35:12 +01:00
• Active discussion in the comments here:<br>
2014-10-23 01:27:03 +02:00
<a href="http://andrewblock.net/2013/07/19/enable-remote-desktop-on-windows-8-core/" target="_blank" title="Enable remote desktop on Windows 8 core / basic">Enable remote desktop on Windows 8 core / basic - Andrew Block .net</a><br>
2014-11-05 11:35:12 +01:00
• MDL Projects and Applications thread here:<br>
2014-10-23 01:27:03 +02:00
<a href="http://forums.mydigitallife.info/threads/55935-RDP-Wrapper-Library-(works-with-Windows-8-1-Basic)" target="_blank" title="Enable remote desktop on Windows 8 core / basic">RDP Wrapper Library (works with Windows 8.1 Basic)</a><br>
2014-11-05 11:35:12 +01:00
• Some ideas about porting to ARM for Windows RT (post #23):<br>
2014-10-23 01:27:03 +02:00
<a href="http://forum.xda-developers.com/showthread.php?t=2093525&page=3" target="_blank" title="Enable remote desktop on Windows 8 core / basic">[Q] Mod Windows RT to enable Remote Desktop</a><br>
2014-11-05 11:35:12 +01:00
• Adding «Remote Desktop Users» group:<br>
<a href="http://superuser.com/questions/680572/" target="_blank">http://superuser.com/questions/680572/</a><br>
2014-10-23 01:27:03 +02:00
<br>
2015-07-17 17:50:40 +02:00
<b>Tutorial videos:</b><br>
2015-08-12 19:06:31 +02:00
<s><a href="http://www.youtube.com/watch?v=W9BpbEt1yJw" target="_blank">Updating RDP Wrapper INI file manually</a></s> (now use installer to update INI file)<br>
2015-07-17 17:50:40 +02:00
<a href="http://www.youtube.com/watch?v=FiD86tmRBtk" target="_blank">How to find offsets for new termsrv.dll versions</a><br>
<br>
2014-10-23 01:27:03 +02:00
Files description:<br>
<br>
<table style="border-collapse: collapse; width: 100%; border: 1px solid black;" width="" align="">
<tbody>
<tr><td style="border: 1px solid black;"><b>RDPWInst.exe</b></td><td style="border: 1px solid black;">RDP Wrapper Library installer/uninstaller</td></tr>
<tr><td style="border: 1px solid black;"><b>RDPCheck.exe</b></td><td style="border: 1px solid black;">Local RDP Checker (you can check the RDP is working)</td></tr>
2014-12-10 23:42:25 +01:00
<tr><td style="border: 1px solid black;"><b>RDPConf.exe</b></td><td style="border: 1px solid black;">RDP Wrapper Configuration</td></tr>
2014-10-23 01:27:03 +02:00
<tr><td style="border: 1px solid black;"><b>install.bat</b></td><td style="border: 1px solid black;">Quick install batch file</td></tr>
<tr><td style="border: 1px solid black;"><b>uninstall.bat</b></td><td style="border: 1px solid black;">Quick uninstall batch file</td></tr>
2015-08-12 18:39:06 +02:00
<tr><td style="border: 1px solid black;"><b>update.bat</b></td><td style="border: 1px solid black;">Quick update batch file</td></tr>
2014-10-23 01:27:03 +02:00
</tbody>
</table><br>
Change log:<br>
<br>
2015-08-12 18:39:06 +02:00
<b><u>2015.08.12</u></b><br>
• Version 1.6<br>
• Added support for Windows 10<br>
• INI file has smaller size now - all comments are moved to KB file<br>
• Installer updated<br>
• Added workaround for 1056 error (although it isn't an error)<br>
• Added update support to installer<br>
• Newest RDPClip versions are included with installer<br>
• RDP Checker updated<br>
• Changed connect IP to 127.0.0.2<br>
• Updated some text messages<br>
• RDP Config updated<br>
• Added all possible shadowing modes<br>
• Also it will write settings to the group policy<br>
<br>
2014-12-10 23:42:25 +01:00
<b><u>2014.12.11</u></b><br>
• Version 1.5<br>
• Added INI config support<br>
• Configuration is stored in INI file now<br>
• We can extend version support without building new binaries<br>
• Added support for Windows 8.1 with KB3000850<br>
• Added support for Windows 10 Technical Preview Update 2<br>
• Installer updated<br>
• RDP Config updated<br>
• Diagnostics feature added to RDP Config<br>
<br>
2014-11-14 00:25:00 +01:00
<b><u>2014.11.14</u></b><br>
• Version 1.4<br>
• Added support for Windows 10 Technical Preview Update 1<br>
• Added support for Windows Vista SP2 with KB3003743<br>
• Added support for Windows 7 SP1 with KB3003743<br>
• Added new RDP Configuration Program<br>
<br>
2014-10-23 01:27:03 +02:00
<b><u>2014.10.21</u></b><br>
• Installer updated<br>
• Added feature to install RDP Wrapper to System32 directory<br>
• Fixed issue in the installer - NLA setting now remains unchanged<br>
• Local RDP Checker updated<br>
• SecurityLayer and UserAuthentification values changed on check start<br>
• RDP Checker restores values on exit<br>
<br>
<b><u>2014.10.20</u></b><br>
• Version 1.3<br>
• Added support for Windows 10 Technical Preview<br>
• Added support for Windows 7 with KB2984972<br>
• Added support for Windows 8 with KB2973501<br>
• Added extended support for Windows Vista (SP0, SP1 and SP2)<br>
• Added extended support for Windows 7 (SP0 and SP1)<br>
• Some improvements in the source code<br>
• Installer updated to v2.2<br>
• Fixed installation bug in Vista x64 (wrong expand path)<br>
• Local RDP Checker updated<br>
• Added description to error 0x708<br>
<br>
<b><u>2014.07.26</u></b><br>
• Version 1.2<br>
• Added support for Windows 8 Developer Preview<br>
• Added support for Windows 8 Consumer Preview<br>
• Added support for Windows 8 Release Preview<br>
• Added support for Windows 8.1 Preview<br>
• Added support for Windows 8.1<br>
• More details you will see in the source code<br>
• Installer updated to v2.1<br>
<br>
<b><u>2013.12.09</u></b><br>
• C++ port of RDP Wrapper was made by <b>Fusix</b><br>
• x64 architecture is supported now<br>
• Added new command line installer v2.0<br>
• Added local RDP checker<br>
• Source code (C++ port, installer 2.0, local RDP checker) is also included<br>
<br>
<b><u>2013.10.25</u></b><br>
• Version 1.1 source code is available<br>
<br>
<b><u>2013.10.22</u></b><br>
• Version 1.1<br>
• Stable release<br>
• Improved wrapper (now it can wrap internal unexported termsrv.dll SL Policy function)<br>
• Added support for Windows 8 Single Language (tested on Acer Tablet PC with Intel Atom Z2760)<br>
<br>
<b><u>2013.10.19</u></b><br>
• Version 1.0<br>
• First [beta] version<br>
• Basic SL Policy wrapper<br>
<br>
<b>Supported Terminal Services versions:</b><br>
<u>6.0.X.X</u> (Windows Vista / Server 2008)<br>
<u>6.0.6000.16386</u> (Windows Vista)<br>
<u>6.0.6001.18000</u> (Windows Vista SP1)<br>
<u>6.0.6002.18005</u> (Windows Vista SP2)<br>
2014-11-14 00:25:00 +01:00
<u>6.0.6002.19214</u> (Windows Vista SP2 with KB3003743 GDR)<br>
<u>6.0.6002.23521</u> (Windows Vista SP2 with KB3003743 LDR)<br>
2014-10-23 01:27:03 +02:00
<u>6.1.X.X</u> (Windows 7 / Server 2008 R2)<br>
<u>6.1.7600.16385</u> (Windows 7)<br>
<u>6.1.7601.17514</u> (Windows 7 SP1)<br>
<u>6.1.7601.18540</u> (Windows 7 SP1 with KB2984972 GDR)<br>
<u>6.1.7601.22750</u> (Windows 7 SP1 with KB2984972 LDR)<br>
2014-11-14 00:25:00 +01:00
<u>6.1.7601.18637</u> (Windows 7 SP1 with KB3003743 GDR)<br>
<u>6.1.7601.22843</u> (Windows 7 SP1 with KB3003743 LDR)<br>
2014-10-23 01:27:03 +02:00
<u>6.2.8102.0</u> (Windows 8 Developer Preview)<br>
<u>6.2.8250.0</u> (Windows 8 Consumer Preview)<br>
<u>6.2.8400.0</u> (Windows 8 Release Preview)<br>
<u>6.2.9200.16384</u> (Windows 8 / Server 2012)<br>
<u>6.2.9200.17048</u> (Windows 8 with KB2973501 GDR)<br>
<u>6.2.9200.21166</u> (Windows 8 with KB2973501 LDR)<br>
<u>6.3.9431.0</u> (Windows 8.1 Preview)<br>
<u>6.3.9600.16384</u> (Windows 8.1 / Server 2012 R2)<br>
<u>6.3.9600.17095</u> (Windows 8.1 with KB2959626)<br>
2014-12-10 23:42:25 +01:00
<u>6.3.9600.17415</u> (Windows 8.1 with KB3000850)<br>
2014-10-23 01:27:03 +02:00
<u>6.4.9841.0</u> (Windows 10 Technical Preview)<br>
2014-11-14 00:25:00 +01:00
<u>6.4.9860.0</u> (Windows 10 Technical Preview Update 1)<br>
2014-12-10 23:42:25 +01:00
<u>6.4.9879.0</u> (Windows 10 Technical Preview Update 2)<br>
2015-07-16 20:48:52 +02:00
<u>10.0.9926.0</u> (Windows 10 Pro Technical Preview)<br>
<u>10.0.10041.0</u> (Windows 10 Pro Technical Preview Update 1)<br>
2015-07-17 02:45:22 +02:00
<u>10.0.10240.16384</u> (Windows 10 RTM)<br>
2015-11-14 15:25:15 +01:00
<u>10.0.10586.0</u> (Windows 10 TH2 Release 151029-1700)<br>
2016-01-15 20:59:48 +01:00
<u>10.0.11082.1000</u> (Windows 10 RS1 Release 151210-2021)<br>
2016-01-26 16:37:44 +01:00
<u>10.0.11102.1000</u> (Windows 10 RS1 Release 160113-1800)<br>
2016-01-28 18:52:46 +01:00
<u>10.0.14251.1000</u> (Windows 10 RS1 Release 160124-1059)<br>
2016-02-29 12:37:49 +01:00
<u>10.0.14271.1000</u> (Windows 10 RS1 Release 160218-2310)<br>
2016-03-06 12:19:32 +01:00
<u>10.0.14279.1000</u> (Windows 10 RS1 Release 160229-1700)<br>
2016-04-06 13:12:47 +02:00
<u>10.0.14295.1000</u> (Windows 10 RS1 Release 160318-1628)<br>
2016-04-14 18:28:00 +02:00
<u>10.0.14316.1000</u> (Windows 10 RS1 Release 160402-2227)<br>
2014-10-23 01:27:03 +02:00
<br>
<b>Confirmed working on:</b><br>
• Windows Vista Starter (x86 - Service Pack 1 and higher)<br>
2015-07-17 18:06:57 +02:00
• Windows Vista Home Basic<br>
• Windows Vista Home Premium<br>
• Windows Vista Business<br>
• Windows Vista Enterprise<br>
• Windows Vista Ultimate<br>
2015-11-14 13:59:55 +01:00
• Windows Server 2008<br>
2014-10-23 01:27:03 +02:00
• Windows 7 Starter<br>
• Windows 7 Home Basic<br>
• Windows 7 Home Premium<br>
• Windows 7 Professional<br>
• Windows 7 Enterprise<br>
• Windows 7 Ultimate<br>
2015-11-14 13:59:55 +01:00
• Windows Server 2008 R2<br>
2014-10-23 01:27:03 +02:00
• Windows 8 Developer Preview<br>
• Windows 8 Consumer Preview<br>
• Windows 8 Release Preview<br>
• Windows 8<br>
• Windows 8 Single Language<br>
• Windows 8 Pro<br>
• Windows 8 Enterprise<br>
2015-11-14 13:59:55 +01:00
• Windows Server 2012<br>
2014-10-23 01:27:03 +02:00
• Windows 8.1 Preview<br>
• Windows 8.1<br>
2015-07-16 20:48:52 +02:00
• Windows 8.1 Connected (with Bing)<br>
2014-10-23 01:27:03 +02:00
• Windows 8.1 Single Language<br>
2015-07-16 22:32:16 +02:00
• Windows 8.1 Connected Single Language (with Bing)<br>
2014-10-23 01:27:03 +02:00
• Windows 8.1 Pro<br>
• Windows 8.1 Enterprise<br>
2015-11-14 13:59:55 +01:00
• Windows Server 2012 R2<br>
2014-10-23 01:27:03 +02:00
• Windows 10 Technical Preview<br>
2015-07-16 20:48:52 +02:00
• Windows 10 Pro Technical Preview<br>
2015-07-30 00:15:55 +02:00
• Windows 10 Home<br>
2015-11-14 13:59:55 +01:00
• Windows 10 Home Single Language<br>
2015-07-17 17:50:40 +02:00
• Windows 10 Pro<br>
2015-07-17 02:45:22 +02:00
• Windows 10 Enterprise<br>
2014-10-23 01:27:03 +02:00
<br>
2015-06-23 19:03:14 +02:00
<b>Known issues:</b><br>
2016-03-06 03:58:29 +01:00
• Beginning with Windows 8 (non-server editions) you can't connect to existing sessions (they will be logged out by system) - <a href="https://github.com/stascorp/rdpwrap/issues/37" target="_blank">more info</a><br>
• Beginning with Windows 10 you can accidentally lock yourself from PC - <a href="https://github.com/stascorp/rdpwrap/issues/50" target="_blank">more info</a><br>
2015-06-23 19:03:14 +02:00
• RDP works, but termsrv.dll crashes on logon attempt - Windows Vista Starter RTM x86 (termsrv.dll 6.0.6000.16386)<br>
• If Terminal Services hangs at startup, try to add <b>rdpwrap.dll</b> to antivirus exclusions. Also try to isolate RDP Wrapper from other shared services by the command:<br>
<tt>sc config TermService type= own</tt><br>
• RDP Wrapper Installer can be removed by AVG Free Antivirus after reboot - add it to exclusions.<br>
2014-10-23 01:27:03 +02:00
<br>
<u>Installation instructions:</u><br>
2014-12-10 23:52:25 +01:00
1. Download latest release binaries and unpack files<br>
2015-08-12 18:48:13 +02:00
2. Right-click on <b>install.bat</b> and select Run as Administrator<br>
3. See command output for details<br>
2014-10-23 01:27:03 +02:00
<br>
2016-01-15 20:59:48 +01:00
<u>To update INI file:</u><br>
1. Right-click on <b>update.bat</b> and select Run as Administrator<br>
2. See command output for details<br>
<br>
2014-10-23 01:27:03 +02:00
<u>To uninstall:</u><br>
2015-08-12 18:48:13 +02:00
1. Go to the directory where you extracted the files<br>
2. Right-click on <b>uninstall.bat</b> and select Run as Administrator<br>
3. See command output for details<br>