Giter Club home page Giter Club logo

rdpwrap's Introduction

RDP Wrapper Library by Stas'M

Telegram Environment Release License Downloads TotalDownloads

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.

NT Version Screenshots
Windows Vista Windows Vista Starter Windows Vista Home Basic
Windows 7 Windows 7 Starter Windows 7 Home Basic
Windows 8 Windows 8 Developer Preview Windows 8 Consumer Preview Windows 8 Release Preview Windows 8
Windows 8.1 Windows 8.1 Preview Windows 8.1
Windows 10 Windows 10 Technical Preview Windows 10 Pro Technical Preview Windows 10

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

Key features:

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:

Tutorial videos:

Files in release package:

File name Description
RDPWInst.exe RDP Wrapper Library installer/uninstaller
RDPCheck.exe Local RDP Checker (you can check the RDP is working)
RDPConf.exe RDP Wrapper Configuration
install.bat Quick install batch file
uninstall.bat Quick uninstall batch file
update.bat Quick update batch file

Frequently Asked Questions

Where can I download the installer or binaries?

In the GitHub Releases section.

Is it legal to use this application?

There is no definitive answer, see this discussion.

The installer tries to access the Internet, is it normal behaviour?

Yes, it works in online mode by default. You may disable it by removing -o flag in the install.bat file.

What is online install mode?

Online install mode introduced in version 1.6.1. When you installing RDP Wrapper first time using this mode, it will download latest INI file from GitHub. See this discussion.

What is INI file and why we need it?

INI file was introduced in version 1.5. It stores system configuration for RDP Wrapper — general wrapping settings, binary patch codes, and per build specific data. When new termsrv.dll build comes out, developer adds support for it by updating INI file in repository.

Config Tool reports version 1.5, but I installed higher version. What's the matter?

Beginning with version 1.5 the rdpwrap.dll is not updated anymore, since all settings are stored in INI file. Deal with it.

Config Tool shows [not supported] and RDP doesn't work. What can I do?

Make sure you're connected to the Internet and run update.bat.

Update doesn't help, it still shows [not supported].

Visit issues section, and check whether your termsrv.dll build is listed here. If you can't find such issue, create a new — specify your build version for adding to support.

Why RDPCheck doesn't allow to change resolution and other settings?

RDPCheck is a very simple application and only for testing purposes. You need to use Microsoft Remote Desktop Client (mstsc.exe) if you want to customize the settings. You can use 127.0.0.1 or 127.0.0.2 address for loopback connection.

Known issues:

  • Beginning with Windows 8 on tablet PCs inactive sessions will be logged out by system - more info
  • Beginning with Windows 10 you can accidentally lock yourself from PC - more info
  • Beginning with the Creators Update for Windows 10 Home, RDP Wrapper will no longer work, claiming that the listener is [not listening] because of rfxvmt.dll is missing - more info, download links
  • Terminal Service does not start after installing some updates or "Access Denied" issue - #215, #101
  • RDP Wrapper does not work with RemoteFX enabled hosts - #127, #208, #216
  • 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 can be removed by AVG Free Antivirus and Norton Antivirus - first make sure you downloaded official release from GitHub, then add it to exclusions.

Change log:

2017.12.27

  • Version 1.6.2
  • Installer updated
  • Include updated INI file for latest Windows builds
  • Added check for supported Windows versions (#155)
  • Added feature to take INI file from current directory (#300)
  • Added feature to restore rfxvmt.dll (missing in Windows 10 Home #194)
  • RDP Config updated
  • Added feature to allow custom start programs (#13 (comment))
  • MSI installation package added (#14)

2016.08.01

  • Version 1.6.1
  • Include updated INI file for latest Windows builds
  • Installer updated
  • Added online install mode
  • Added feature to keep settings on uninstall
  • RDP Config updated
  • Fixed update firewall rule on RDP port change
  • Added feature to hide users on logon

2015.08.12

  • Version 1.6
  • Added support for Windows 10
  • INI file has smaller size now - all comments are moved to KB file
  • Installer updated
  • Added workaround for 1056 error (although it isn't an error)
  • Added update support to installer
  • Newest RDPClip versions are included with installer
  • RDP Checker updated
  • Changed connect IP to 127.0.0.2
  • Updated some text messages
  • RDP Config updated
  • Added all possible shadowing modes
  • Also it will write settings to the group policy

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.7600.20890 (Windows 7 with KB2479710)
  • 6.1.7600.21316 (Windows 7 with KB2750090)
  • 6.1.7601.17514 (Windows 7 SP1)
  • 6.1.7601.21650 (Windows 7 SP1 with KB2479710)
  • 6.1.7601.21866 (Windows 7 SP1 with KB2647409)
  • 6.1.7601.22104 (Windows 7 SP1 with KB2750090)
  • 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.1.7601.23403 (Windows 7 SP1 with KB3125574)
  • 6.1.7601.24234 (Windows 7 SP1 with KB4462923)
  • 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.3.9600.18692 (Windows 8.1 with KB4022720)
  • 6.3.9600.18708 (Windows 8.1 with KB4025335)
  • 6.3.9600.18928 (Windows 8.1 with KB4088876)
  • 6.3.9600.19093 (Windows 8.1 with KB4343891)
  • 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)
  • 10.0.10586.0 (Windows 10 TH2 Release 151029-1700)
  • 10.0.10586.589 (Windows 10 TH2 Release 160906-1759 with KB3185614)
  • 10.0.11082.1000 (Windows 10 RS1 Release 151210-2021)
  • 10.0.11102.1000 (Windows 10 RS1 Release 160113-1800)
  • 10.0.14251.1000 (Windows 10 RS1 Release 160124-1059)
  • 10.0.14271.1000 (Windows 10 RS1 Release 160218-2310)
  • 10.0.14279.1000 (Windows 10 RS1 Release 160229-1700)
  • 10.0.14295.1000 (Windows 10 RS1 Release 160318-1628)
  • 10.0.14300.1000 (Windows Server 2016 Technical Preview 5)
  • 10.0.14316.1000 (Windows 10 RS1 Release 160402-2227)
  • 10.0.14328.1000 (Windows 10 RS1 Release 160418-1609)
  • 10.0.14332.1001 (Windows 10 RS1 Release 160422-1940)
  • 10.0.14342.1000 (Windows 10 RS1 Release 160506-1708)
  • 10.0.14352.1002 (Windows 10 RS1 Release 160522-1930)
  • 10.0.14366.0 (Windows 10 RS1 Release 160610-1700)
  • 10.0.14367.0 (Windows 10 RS1 Release 160613-1700)
  • 10.0.14372.0 (Windows 10 RS1 Release 160620-2342)
  • 10.0.14379.0 (Windows 10 RS1 Release 160627-1607)
  • 10.0.14383.0 (Windows 10 RS1 Release 160701-1839)
  • 10.0.14385.0 (Windows 10 RS1 Release 160706-1700)
  • 10.0.14388.0 (Windows 10 RS1 Release 160709-1635)
  • 10.0.14393.0 (Windows 10 RS1 Release 160715-1616)
  • 10.0.14393.1198 (Windows 10 RS1 Release Sec 170427-1353 with KB4019472)
  • 10.0.14393.1737 (Windows 10 RS1 Release Inmarket 170914-1249 with KB4041691)
  • 10.0.14393.2457 (Windows 10 RS1 Release Inmarket 180822-1743 with KB4343884)
  • 10.0.14901.1000 (Windows 10 RS Pre-Release 160805-1700)
  • 10.0.14905.1000 (Windows 10 RS Pre-Release 160811-1739)
  • 10.0.14915.1000 (Windows 10 RS Pre-Release 160826-1902)
  • 10.0.14926.1000 (Windows 10 RS Pre-Release 160910-1529)
  • 10.0.14931.1000 (Windows 10 RS Pre-Release 160916-1700)
  • 10.0.14936.1000 (Windows 10 RS Pre-Release 160923-1700)
  • 10.0.14942.1000 (Windows 10 RS Pre-Release 161003-1929)
  • 10.0.14946.1000 (Windows 10 RS Pre-Release 161007-1700)
  • 10.0.14951.1000 (Windows 10 RS Pre-Release 161014-1700)
  • 10.0.14955.1000 (Windows 10 RS Pre-Release 161020-1700)
  • 10.0.14959.1000 (Windows 10 RS Pre-Release 161026-1700)
  • 10.0.14965.1001 (Windows 10 RS Pre-Release 161104-1700)
  • 10.0.14971.1000 (Windows 10 RS Pre-Release 161111-1700)
  • 10.0.14986.1000 (Windows 10 Build 160101.0800)
  • 10.0.14997.1001 (Windows 10 Build 160101.0800)
  • 10.0.15002.1001 (Windows 10 Build 160101.0800)
  • 10.0.15007.1000 (Windows 10 Build 160101.0800)
  • 10.0.15014.1000 (Windows 10 Build 160101.0800)
  • 10.0.15019.1000 (Windows 10 RS Pre-Release 170121-1513)
  • 10.0.15025.1000 (Windows 10 RS Pre-Release 170127-1750)
  • 10.0.15031.0 (Windows 10 RS2 Release 170204-1546)
  • 10.0.15042.0 (Windows 10 RS2 Release 170219-2329)
  • 10.0.15046.0 (Windows 10 Build 160101.0800)
  • 10.0.15048.0 (Windows 10 Build 160101.0800)
  • 10.0.15055.0 (Windows 10 Build 160101.0800)
  • 10.0.15058.0 (Windows 10 Build 160101.0800)
  • 10.0.15061.0 (Windows 10 Build 160101.0800)
  • 10.0.15063.0 (Windows 10 Build 160101.0800)
  • 10.0.15063.296 (Windows 10 Build 160101.0800)
  • 10.0.15063.994 (Windows 10 Build 160101.0800)
  • 10.0.15063.1155 (Windows 10 Build 160101.0800)
  • 10.0.16179.1000 (Windows 10 Build 160101.0800)
  • 10.0.16184.1001 (Windows 10 Build 160101.0800)
  • 10.0.16199.1000 (Windows 10 Build 160101.0800)
  • 10.0.16215.1000 (Windows 10 Build 160101.0800)
  • 10.0.16232.1000 (Windows 10 Build 160101.0800)
  • 10.0.16237.1001 (Windows 10 Build 160101.0800)
  • 10.0.16241.1001 (Windows 10 Build 160101.0800)
  • 10.0.16251.0 (Windows 10 Build 160101.0800)
  • 10.0.16251.1000 (Windows 10 Build 160101.0800)
  • 10.0.16257.1 (Windows 10 Build 160101.0800)
  • 10.0.16257.1000 (Windows 10 Build 160101.0800)
  • 10.0.16273.1000 (Windows 10 Build 160101.0800)
  • 10.0.16275.1000 (Windows 10 Build 160101.0800)
  • 10.0.16278.1000 (Windows 10 Build 160101.0800)
  • 10.0.16281.1000 (Windows 10 Build 160101.0800)
  • 10.0.16288.1 (Windows 10 Build 160101.0800)
  • 10.0.16291.0 (Windows 10 Build 160101.0800)
  • 10.0.16294.1 (Windows 10 Build 160101.0800)
  • 10.0.16296.0 (Windows 10 Build 160101.0800)
  • 10.0.16299.0 (Windows 10 Build 160101.0800)
  • 10.0.16299.15 (Windows 10 Build 160101.0800)
  • 10.0.16353.1000 (Windows 10 Build 160101.0800)
  • 10.0.16362.1000 (Windows 10 Build 160101.0800)
  • 10.0.17004.1000 (Windows 10 Build 160101.0800)
  • 10.0.17017.1000 (Windows 10 Build 160101.0800)
  • 10.0.17025.1000 (Windows 10 Build 160101.0800)
  • 10.0.17035.1000 (Windows 10 Build 160101.0800)
  • 10.0.17046.1000 (Windows 10 Build 160101.0800)
  • 10.0.17063.1000 (Windows 10 Build 160101.0800)
  • 10.0.17115.1 (Windows 10 Build 160101.0800)
  • 10.0.17128.1 (Windows 10 Build 160101.0800)
  • 10.0.17133.1 (Windows 10 Build 160101.0800)
  • 10.0.17134.1 (Windows 10 Build 160101.0800)
  • 10.0.17723.1000 (Windows 10 Build 160101.0800)
  • 10.0.17763.1 (Windows 10 Build 160101.0800)

Confirmed working on:

  • Windows Vista Starter (x86 - Service Pack 1 and higher)
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Ultimate
  • Windows Server 2008
  • Windows 7 Starter
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Enterprise
  • Windows 7 Ultimate
  • Windows Server 2008 R2
  • 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 Server 2012
  • 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 Server 2012 R2
  • Windows 10 Technical Preview
  • Windows 10 Pro Technical Preview
  • Windows 10 Home
  • Windows 10 Home Single Language
  • Windows 10 Pro
  • Windows 10 Enterprise
  • Windows Server 2016 Technical Preview

Installation instructions:

  • Download latest release binaries and unpack files
  • Right-click on install.bat and select Run as Administrator
  • See command output for details

To update INI file:

  • Right-click on update.bat and select Run as Administrator
  • See command output for details

To uninstall:

  • Go to the directory where you extracted the files
  • Right-click on uninstall.bat and select Run as Administrator
  • See command output for details

rdpwrap's People

Contributors

1nd1g0 avatar binarymaster avatar cher-nov avatar chocobo1 avatar derekl0576 avatar fre4kyc0de avatar galeksandrp avatar jimstar06 avatar kbmorris avatar ksmyth avatar wisdomwolf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rdpwrap's Issues

Can't choose which network adapter to bind to?

First off, thanks for creating this. Made it much simpler to enable RDP on my Win8.1 Home install, so that I don't have to do a clean install of Win8.1 Pro.

Now to the problem - it seems that only one Network adapter is bound to RDPWrap - I'd like to be able to choose which one to use (or even better, let me choose priority, so that if one is disconnected, it binds to the other). I can't seem to find any way to do this?

Windows 10 "not listening"

Hi, I just installed the rdpwrap with the current INI (using the youtube video guide). When I run the Config tool everything is green except the listener state which says "not listening".

I'm not sure what information to add to help solve this problem, so I'll just throw in some infos I can find:

  • I upgraded Windows 7 Home Premium to Windows 10 Home
  • Version next to wrapper state: 1.5.0.0
  • Version next to service state: 10.0.10240.16384
  • Port is 3386
  • I verified that "Remotedesktop" is allowed in the Firewall rules
  • I (obviously) can't connect using the check tool

I'm not sure if this is a bug or if I'm doing something wrong. Any help would be appreciated. If I can get any more data to help with this I'd be glad to provide them (given some directions where to retrieve them).

New offset values for 10.0.9926.0-SLInit

Greetings!

build 9926 has changed the major version of termserv.dll from 6 to 10.

After some asm debugging I found out the new offsets (I only have x64 version):

[10.0.9926.0]
; Patch CEnforcementCore::GetInstanceOfTSLicense
LocalOnlyPatch.x64=1
;;;OFFSET = 0x61
;;;BASE   = 0x95F90
LocalOnlyOffset.x64=95FF1
LocalOnlyCode.x64=jmpshort
; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
SingleUserPatch.x64=1
;;;OFFSET   = 0x43
;;;BASE     = 0x12F90
;;;;instruction = 0xBB 0x01 0x00 0x00 0x00
;;;                   ^^^ +1 offset
SingleUserOffset.x64=12A34
SingleUserCode.x64=Zero
; Patch CDefPolicy::Query
DefPolicyPatch.x64=1
;;;
;;;BASE     = 0xBDF0
;;;OFFSET   = 0x15
DefPolicyOffset.x64=BE05
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
; Hook CSLQuery::Initialize
SLInitHook.x64=1
SLInitOffset.x64=24EC0
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.9926.0-SLInit]
bFUSEnabled.x64       =EEBF0
lMaxUserSessions.x64  =EEBF4
bAppServerAllowed.x64 =EEBF8
bInitialized.x64      =EEBFC
bMultimonAllowed.x64  =EEC00
bServerSku.x64        =EEC04
ulMaxDebugSessions.x64=EEC08
bRemoteConnAllowed.x64=EEC0C

Error in DLL file at logon

Hi.

Running Windows 10 Pro 64Bit fully updated.

While having Multi Session Per User active and the user logged in locally. (Maybe with a locked desktop)
I then login remotely with the same user and switch to the local user via task-manager.

The next time you try to login remotely or locally it just return "There was a error in the DLL file." after you type in user and password.

You can only click ok and then it returns to the password prompt.
A reboot is then necessary to get it back up and running.

Simple change so that you just have to double-click on install.bat

Hi there, thanks for the precious tool.

You may do these simple changes to install.bat and uninstall.bat, so that when you double-click on theses batch files, they will work too :

  • install.bat, line 2:
    "%~dp0RDPWInst" -i
  • uninstall.bat, line 2:
    "%~dp0RDPWInst" -u

Allow Multiple RDP Session in Windows 10 Pro

Hi
I'm not sure if it's just me being incredibly thick, but I can't seem to get it to allow more than one session in Windows 10 pro. Everything is green, but I always get the screen saying it must log out the other user first (both with and without one session per user selected, RDP user being a different one from logged in user).

On a side note for anyone still having trouble with ini files, etc. The easiest thing to do it to download the latest 1.5 version under the Releases header on github, then use the "Download as Zip" button on the main github page to download the whole source as a zip. Unzip the Release zip, and from the source zip file, in the res folder, copy the two un/install.bat files over the ones in the unzipped release folder. Then right click and run the install.bat as administrator to install. Once done, go to the rdpwrap folder in program files and copy into it the rdpwrap.ini from the res folder in the source zip file. Run rdpconf from the unzipped release zip, and as they say, Bob's your Uncle (whoever Bob is, he he)!
Alex

Win 10 with new config but ending up without wrapper session

Hiya,

kinda lost in troubleshooting here - win 10 - wrapper 1.5 with new config installed fine and nicely but ending up like using no wrapper at all ...

diag stats...

hypersnapx_01844

rdpwrap log...

hypersnapx_01845

No real clue how to troubleshoot further - any advice will do tho ^^

--rgds marcO

Version 6 missing executable

It seems that the zip files do not contain an RDPWinst executable. Not being a programmer I don't know what to do.

Provide MSI install package

The wrapper is incredibly helpful, especially for system administrators. Therefore it would be great to be able to roll it out via GPO software deployment, but for that a MSI package would be needed.

Installation failing on Win 7

Hello,

Installation is failing on Windows 7 (French fresh install and fully up to date) as you can see :

[*] Installing...
[*] Terminal Services version: 6.1.7601.18637
[+] This version of Terminal Services is fully supported.
[*] Configuring TermService...
[*] Starting TermService...
[-] StartService error (code 1068).
[-] Failed to set up TermService. Unknown error.

Any suggestion as to how I could overcome the issue ?

Thanks,

Seb

We should log all the windows updates that do not alter functionality

I've a commercial version of a "similar" of rdpwrap the problem is always the same: in some cases a windows update changes something, then rdp does not work until next software release.
Solution would be logging all the successfull (= not critical against rdpwrap) windows updates
would be great to "invent" a way to extract from a pc all the updates and send them automatically to a server. I like .net programming (because is fast very fast for RAD programming and works also in linux with mono), so I would like to collaborate and help in that way if someone wants too!
I still do not use windows 10: i know there is another issue: you cannot avoid automatic updates unless you do not install a tool "https://support.microsoft.com/en-us/kb/3073930".

Slow RDP Win7 connection into Win8 computer: NOT a problem with RDPWrapper

In case it wasn't clear enough from the title line - this is not an issue with RDP Wrapper. I've been trying to get the RDP connection from my Win7 desktop to my Win8 desktop quicker - it's been really slow. I've tried several things - and most recently this:

http://superuser.com/questions/515180/rdp-connection-from-windows-7-8-to-server-2012-is-slow/571750#571750

Will that interfere with the (awesome!) functionality of RDP Wrapper?

Thanks,
Eliezer

RDP Wrap is not working on Windows 8.1 Pro - RDP session starts and then quits 5 seconds later

I've used RDP Wrap successfully on many different computers of all types.

I've never had any issue before now.

The PC is running Windows 8.1 Professional and the Terminal Services version is 6.3.9600.17415.

I have removed the AVG anti-virus completely from the system and it is now only using the default Windows Defender - which I've used before without any issue.

What is happening is that we are able to use a Remote Desktop Connection to connect to the "server" PC and we are presented with the normal User Log In screen and we are able to actually log into to the server as the user - briefly. The desktop session is created and the desktop is displayed completely - but after about 5 seconds a message box opens and explains that there is a problem and that the sessions needs to close. I don't have the exact message text but that is the gist of the message.

I have tried changing the desktop display from a photo to a solid color - thinking that the image could be somehow causing the session to quit. I've checked all of the normal permissions - remote desktop is allowed and we are not requiring NLA. Each user is an Administrator and also a member of the Remote Desktop Users group.

It is almost like there is something that is realizing that RDP is running and then it is being shutdown by something - without explanation.

Has anyone seen this? I would LOVE a prompt answer as I really need to get this working asap - thank you to everyone in advance for your assistance.

Charlie

Windows 10 Pro Insider 10240

Не получается запустить RDPWrapper.

ini-файл заменен на новый (от 17.07.2015), RDPConf показывает, что все ок.
image

лог:

>>> SvchostPushServiceGlobals
Loading configuration...
Configuration file: c:\program files\rdp wrapper\rdpwrap.ini
>>> SvchostPushServiceGlobals
Loading configuration...
Configuration file: c:\program files\rdp wrapper\rdpwrap.ini
>>> SvchostPushServiceGlobals
Loading configuration...
Configuration file: c:\program files\rdp wrapper\rdpwrap.ini
>>> SvchostPushServiceGlobals
Loading configuration...
Configuration file: c:\program files\rdp wrapper\rdpwrap.ini
Initializing RDP Wrapper...
Base addr:  0x00007FFA36000000
SvcMain:    termsrv.dll+0x000000000000CDF0
SvcGlobals: termsrv.dll+0x00000000000345A0
Version:    10.0.10240.16384
Freezing threads...
Resumimg threads...
<<< SvchostPushServiceGlobals
>>> ServiceMain
<<< ServiceMain
>>> SvchostPushServiceGlobals
>>> SvchostPushServiceGlobals
Loading configuration...
Configuration file: c:\program files\rdp wrapper\rdpwrap.ini
>>> SvchostPushServiceGlobals
Loading configuration...
Configuration file: c:\program files\rdp wrapper\rdpwrap.ini

Listener State Not Listening

I'm running Windows 10 Home. I installed RDPWrap v1.5 and updated the rdpwrap.ini file.
When I restarted rdpwinst I get a couple of StartService error (code 1056) in the CMD window and in the RDP Wrapper Configuration the Listener state is Not Listening.

This is my first time working with RDPWrap and I'm not too knowledgeable with this type of installation. Any help would be greatly appreciated.

capture

Locked out of PC after using RDPWrap

Windows 10 RTM Pro x64

Steps to reproduce:

  • Install RPWrap, make sure to update rdpwrap.ini to the lastest
  • Set the configurations as follows:

Picture1
[Enable RDP Check, Single User Session Uncheck, Default Auth, Shadowing with request]

  • Lock your desktop
  • Go to another pc.
  • Create an RDP session to your installation with the same user as you used above
  • Minimize it but do not close
  • Create a second RDP session to your installation with the same user as you used above
  • Disconnect both sessions. Do not Sign Out.
  • Try RDPing again or try log locally. In both cases you will be greeted with a screen similar to this:

Picture2
[Empty blue screen with a single string "Error in the DLL" and "ok" button underneath]

The only thing you can do now to get in is power-cycle and loose all your work.

This is the content of the log file after the power-cycle:

Initializing RDP Wrapper...
Base addr:  0x00007FF949CB0000
SvcMain:    termsrv.dll+0x000000000000CDF0
SvcGlobals: termsrv.dll+0x00000000000345A0
Version:    10.0.10240.16384
Freezing threads...
Patch CEnforcementCore::GetInstanceOfTSLicense
Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
Patch CDefPolicy::Query
Hook CSLQuery::Initialize
Resumimg threads...
<<< SvchostPushServiceGlobals
>>> ServiceMain
<<< ServiceMain
>>> CSLQuery::Initialize
SLInit [0x00007FF949DA23B8] bServerSku = 1
SLInit [0x00007FF949DA3470] bRemoteConnAllowed = 1
SLInit [0x00007FF949DA3460] bFUSEnabled = 1
SLInit [0x00007FF949DA23B4] bAppServerAllowed = 1
SLInit [0x00007FF949DA3468] bMultimonAllowed = 1
SLInit [0x00007FF949DA23B0] lMaxUserSessions = 0
SLInit [0x00007FF949DA346C] ulMaxDebugSessions = 0
SLInit [0x00007FF949DA3464] bInitialized = 1
<<< CSLQuery::Initialize
Initializing RDP Wrapper...
Base addr:  0x00007FFCE1CC0000
SvcMain:    termsrv.dll+0x000000000000CDF0
SvcGlobals: termsrv.dll+0x00000000000345A0
Version:    10.0.10240.16384
Freezing threads...
Patch CEnforcementCore::GetInstanceOfTSLicense
Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
Patch CDefPolicy::Query
Hook CSLQuery::Initialize
Resumimg threads...
<<< SvchostPushServiceGlobals
>>> ServiceMain
<<< ServiceMain
>>> CSLQuery::Initialize
SLInit [0x00007FFCE1DB23B8] bServerSku = 1
SLInit [0x00007FFCE1DB3470] bRemoteConnAllowed = 1
SLInit [0x00007FFCE1DB3460] bFUSEnabled = 1
SLInit [0x00007FFCE1DB23B4] bAppServerAllowed = 1
SLInit [0x00007FFCE1DB3468] bMultimonAllowed = 1
SLInit [0x00007FFCE1DB23B0] lMaxUserSessions = 0
SLInit [0x00007FFCE1DB346C] ulMaxDebugSessions = 0
SLInit [0x00007FFCE1DB3464] bInitialized = 1
<<< CSLQuery::Initialize

can RDPWrap allow me to take over the existing RDP / console session ?

This isn't an issue with RDPwrap, but it might be an enhancement request. :-)

I have a VM that is running Win 8.1 Enterprise x86, and would like to be able to RDP to this box, and carry on from where I left off, last time I was using it, either RDP or console. Currently, making a normal RDP connection (no RDPwrap installed), making a new connection always logs off the existing (console or RDP) session first. Does anyone else see that as well?

install.bat-uninstall.bat & UAC

If UAC is enabled - there is no other way to install RDPWrap than:

  1. launch elevated cmd
  2. change dir to rdpwrap folder
  3. execute install.bat

to fix this one line must be changed in install.bat:

RDPWInst -i

to

%~dp0RDPWInst -i

and in uninstall.bat

RDPWInst -u

to

%~dp0RDPWInst -u

renewed files will work from windows explorer as expected and there will be no need in 1&2

Is this legal?

This is awesome for me as I have Windows Basic on my tablet.
But does anyone know what the legal status of this is? To me it looks fine because you are not patching the dll with a hacked or unlicensed dll, just loading it with different parameters.

Enable RemoteApp

Hello,

I can see in your code that you change some variables for RemoteApp, so I tested RemoteApp on Windows 7 Pro x86 (6.1.7601.18637).
However, this is not working at all.

Full Desktop remote sessions are working fine, but RemoteApp not.
Do you have any idea on how this could work ?

Also, do you know how to activate Debug Messages for termsrv.dll ? I wanted to help you, but I cannot see these Debug Messages with WinDbg...

RDPWrap x64 fails to load INI file

Sorry if this isn't the place to ask but ive been using this for a long time and now its doing my head in

Currently running
Windows 10 Technical Preview
Builld 10041

I have RD-Clip installed with the latest .ini however it just doesn't do it.
I'e tried uninstall reinstall soooo many times

I still get the other user is logged in error message.

Have attached config and error screen.

Love you work appreciate it.

rdp
rdp1

Windows 10 Enterprise 10240.16384

Hi,

I have installed rdpwrap to Windows 10 enterprise. After upgrading ini file rdpconf said fully supported and everything is working fine.
But when I try it it won't allow more than one active rdp session.
Tried to find the log file, but there is no rdpwrap.txt on the root of the c:
Also tried to compile the latest x64 rdpwrap.dll, but the result is the same.

Any idea?

madar

kb2574819 / kb2592687 / kb2830177 (installed on the client) Black screen

Hello,

I have a problem with Win7 (all versions) / RDPWrapper 1.5.
With kb2574819 / kb2592687 / kb2830477 (installed on the client)
if I conect me to a windows 7 pc (with or without these update) and I select in the rdp client (experience settings: LAN> 10Mbit + all boxes checked / and DisplaySettings: full screen).
When I minimize the window and restore then : I have a black screen ... I have to deconecter me and reconnect ...
If the client has not these update all works well ...

there is a solution ?

First Test :
PC1 (server) with RDPWrapper 1.5 without kb2574819 / kb2592687 / kb2830477 : Win7 x64 Ultimate
PC2 (client) without RDPWrapper with kb2574819 / kb2592687 / kb2830477 : Win7 x86 Starter

Second Test :
PC1 (server/client) with RDPWrapper 1.5 and with kb2574819 / kb2592687 / kb2830477 : Win7 x64 Ultimate
If I conect on 127.0.0.2 I have the same issue ...

KB3000850 for Win 8.1 updates termsrv.dll again

Microsoft appears to be going crazy with updates to termsrv.dll lately.

KB3000850 for Win 8.1 and Server 2012 R2 is a very large (700MB+) update roll-up that updates termsrv.dll to version 6.3.9600.17415.

Because of the large number of things included in this update I'm not clear yet exactly why the file was updated, but it clearly is, so we need yet another update to RDP Wrapper to keep concurrent sessions working.

Strange intermittent "hanging" issue

Sadly I had to uninstall RDPWrap due to a strange intermittent "hanging on bootup" issue.
It was such a strange issue and very hard to isolate that RDPWrap was somehow causing it - but after uninstalling the wrapper, all is well now.
Basically, upon bootup & first login, a strange hanging effect was noticed in Windows 7 SP1 x64. Event viewer indicated the following errors whenever this phenomenon occurred:

  • A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NlaSvc service.
  • A timeout (30000 milliseconds) was reached while waiting for a transaction response from the CryptSvc service.
  • The server {F9A874B6-F8A8-4D73-B5A8-AB610816828B} did not register with DCOM within the required timeout.

(the third error's CLSID refers to "Terminal Services Connection Manager Class")

It's not clear to me why RDPWrap was causing these issues, but since RDPWrap touches each of the 3 services mentioned above, I thought there might be a connection. After uninstalling RDPWrap I am no longer getting this behaviour.

Windows 10 Home

Is there any possibility of getting this working on windows 10 home? (which is what my tablet seems to be running)

RDPconf shows the listening state as Not Listening [Not Supported] after installation, prior to install it just says Not listening

Windows 10 10240

Now Windows 10 has hit RTM, it would be great to have a new release supporting it.

Thanks

Windows 10: Unable to use Single Session Per User on tablet

I've been using rdpwrap on Windows 7 starter with Single Session Per User option activated, which works great. A user will have the same view of desktop/running apps whether its login directly from the console, or (later) logging in thru remote desktop. Obviously only one session for that user can be connected at the same time.

I'm trying to replicate the setup on Windows 10 home, but it doesn't work. I've replaced the ini file with the one from latest git (https://github.com/binarymaster/rdpwrap/blob/master/res/rdpwrap.ini). However, when an rdp client is connected, all connected sessions are logged out (including the console), and then closed. Even the new connected client is disconnected. If I try to connect again at this point, it works, but all running application on that user desktop is gone (obviously due to being force logged out).

Disabling Single Session Per User option allows multiple sessions from the same user (e.g. from console, and from several remote desktop connections), but each one has different sessions (e.g. different running app), which is not what I want. Trying to connect to existing session as suggested on #28 (task manager -> users -> select session -> connect) logs out the session instead (it shows "Signing Out", and then the rdp session is disconnected)

Is there a workaround or fix to achieve Single Session Per User the way it works in windows 7?

I saw #34 , but I already use latest git tip (and the symptom is different).

Any ideas?

Windows 10 home

I have try the version 1.5 but dont work, there is any solution?
rdpwrapper

New INI doesnt seem to be fully working with Official Windows 10 x64 Home

rdpwrap

replaced INI, restarted - by the way for those who could not copy the file even if it was elevated that were getting the cryptographic service lock... do it in elevated command prompt. that solved my issue.

i restarted just in case but it it says service is stopped and listener is not listening.

since i am on official upgrade via a dell purchase i can provide ANY file for analyzing if needed.

Concurrent sessions sound

[Windows 8.1] When a user is logged in locally and is playing game at the moment [for example], if I connect to that computer through rdp with "sound stay on local computer" setting - local user loses sound completely and needs to log in again. I basically want this to work like it did on Windows 7 [It played sound from two users at the same time from same speakers].

Terminal Services version: 10.0.10240.16384 not supported ?

Hi,

This is the install log :
Installer v2.2
Copyright (C) Stas'M Corp. 2014

[*] Notice to user:

  • By using all or any portion of this software, you are agreeing
    to be bound by all the terms and conditions of the license agreement.
  • To read the license agreement, run the installer with -l parameter.
  • If you do not agree to any terms of the license agreement,
    do not use the software.
    [] Installing...
    [
    ] Terminal Services version: 10.0.10240.16384
    [-] This version of Terminal Services is not supported.
    Send your termsrv.dll to project developer for support.
    [] Configuring TermService...
    [
    ] Starting TermService...
    [+] TermService found (pid 1116).
    [] Shared services found: CryptSvc, Dnscache, LanmanWorkstation, NlaSvc
    [
    ] Extracting files...
    [+] Folder created: C:\Program Files\RDP Wrapper
    [+] Extracted config -> C:\Program Files\RDP Wrapper\rdpwrap.ini
    [+] Extracted rdpw64 -> C:\Program Files\RDP Wrapper\rdpwrap.dll
    [] Configuring service library...
    [
    ] Checking dependencies...
    [] Checking CertPropSvc...
    [
    ] Checking SessionEnv...
    [] Terminating service...
    [
    ] Starting CryptSvc...
    [] Starting Dnscache...
    [-] StartService error (code 1056).
    [
    ] Starting LanmanWorkstation...
    [] Starting NlaSvc...
    [-] StartService error (code 1056).
    [
    ] Starting TermService...
    [] Configuring registry...
    [
    ] Configuring firewall...
    Ok.

[+] Successfully installed.

It's a clean install of Windows 10 Home French version. (How can I send you this file ?)

Thx

explorer.exe cpu usage [resolved]

Unfortunately, after installing RDP Wrapper, when I log in via Remote Desktop the explorer.exe process stays at a constant CPU usage between 30-60% (making the overall CPU usage between 80-100%). Without RDP Wrapper the explorer.exe process hovers around 0%.

Any suggestions?

EDIT

Apparently during the process of installing RDP Wrapper the icon cache for one of the desktop icons became corrupted (it was showing nothing). Using ProcessMonitor I was able to identify that the explorer.exe process was continuously trying to display this icon and thus was consuming a lot of CPU time. Rebuilding the icon cache per the instructions below resolved the issue:
http://www.sevenforums.com/tutorials/49819-icon-cache-rebuild.html

As long as RDP Wrapper wasn't the cause of the icon cache problem then I think everything is now OK.

Listener state: Not listening not supported

I follow the installation instruction:

  • download the latest released RDP WRAPPER, version 1.5
  • run the install.bat
  • run the RDPCheck.exe -- failed
  • run the RDPConf

I see that Windows 10 home edition has already been supported, where am I wrong?
Should I download the source codes and compile myself?

Win10 TP3 Build9926 not work

Hi, I upgraded my system to Win10 Build9926(x64) and found this is not working. Then I copied the content of rdpwrap.ini from the latest code to local, restarted system and then the entire remote desktop service refused to start.

RDPConf.exe prompt:
Wrapper state: Installed ver. 1.5.0.0
Service state: Stopped ver. 10.0.9926.0
Listener state: Not listening [fully supported]

Is the Win10TP3 version still in developing?

Version 1.6 Master

The RDPWinst file is not a windows executable file and I don't have the expertise to make it one. Can you help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.