TermWrap
TermWrap copied to clipboard
My rewrite of rdpwrap
TermWrap
My rewrite of rdpwrap
Compared to original rdpwrap
-
Integrated RDPWrapOffsetFinder, patch offsets are automatically searched, and will survive after installing updates
-
Improved SingleUserPatch which patches all two possible locations
-
Enabled camera and USB redirection for all SKUs by additional wrap of UmRdpService
-
Enabled audio recording redirection for all SKUs by additional wrap of rdpendp.dll
Usage
Install
First, ensure Microsoft Visual C++ 2015-2022 Redistributable (x64) is installed
Copy the dlls for your architecture to "%ProgramFiles%\RDP Wrapper" and merge "Install_termwrap_umwrap.reg" or "Install_termwrap_only.reg", then reboot system
UmWrap is only needed on server and home editions, Professional/Enterprise editions already has the features enabled. Currently UmWrap only supports x64 system
Uninstall
Merge "Revert_to_default.reg" and reboot system, then delete files in "%ProgramFiles%\RDP Wrapper"
Enable USB redirection
To enable remote desktop USB redirection, additional group policy settings are required:
Computer Configuration\Administrative Templates\System\Device Installation\Allow remote access to the Plug and Play interface -> Enabled
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection\Do not allow supported Plug and Play device redirection -> Disabled
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Connection Client\RemoteFX USB Device Redirection\Allow RDP redirection of other supported RemoteFX USB devices from this computer -> Enabled
Notes on audio recording redirection
Just like UmWrap, EndpWrap is only needed on server and home editions. It gets loaded in all applications that play/record remote audio, and may cause some tricky applications to stuck or crash.
To enable audio recording redirection, both EndpWrap.dll and Zydis.dll needs to be copied to the system32 folder. After that, change the following registry entry from rdpendp.dll to EndpWrap.dll:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\AudioEnumeratorDll