stascorp / rdpwrap

RDP Wrapper Library
Apache License 2.0
14.62k stars 3.82k forks source link

rdpwrap_ini_updater: support for 10.0.18362.267, 10.0.18362.53, 10.0.18362.1, 10.0.17134.706 ... #795

Closed asmtron closed 2 years ago

asmtron commented 5 years ago

Hi,

the batch file rdpwrap_ini_updater add support to rdpwrap.ini for the following new termsrv.dll versions:

10.0.18362.267 10.0.18362.53   (Build 18362.239, 18362.207, 18362.175, 18362.145, 18362.116, 18362.53) 10.0.18362.1 10.0.17763.437 10.0.17763.379 10.0.17763.292 10.0.17763.165 x64 10.0.17134.706

It's easy to use and can be extended to newer upcoming versions...

rdpwrap_iniupdater(02_August_2019).zip

Usage: copy the batch files from zip archive to the "Program Files\RDP Wrapper" directory and then run "re-install.bat" as administrator

Note: RDP Wrapper needs the original termsrv.dll versions to work properly. Note: Please copy files only to the default directory %ProgramFiles%\RDP Wrapper Note: Add exclusion on Windows Defender (or other AV) for directory %ProgramFiles%\RDP Wrapper

graphixillusion commented 4 years ago

@Vakasutra you need to uncheck the option: "single session per user"

iacob28 commented 4 years ago

Try adding this to the end of your .ini file and don't forget the blank line at the bottom ... :

[10.0.18362.657] LocalOnlyPatch.x64=1 LocalOnlyOffset.x64=82FB5 LocalOnlyCode.x64=jmpshort SingleUserPatch.x64=1 SingleUserOffset.x64=0DBFC SingleUserCode.x64=Zero DefPolicyPatch.x64=1 DefPolicyOffset.x64=1FE15 DefPolicyCode.x64=CDefPolicy_Query_eax_rcx SLInitHook.x64=1 SLInitOffset.x64=22DDC SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.18362.657-SLInit] bInitialized.x64 =F6A8C bServerSku.x64 =F6A90 lMaxUserSessions.x64 =F6A94 bAppServerAllowed.x64 =F6A9C bRemoteConnAllowed.x64=F6AA0 bMultimonAllowed.x64 =F6AA4 ulMaxDebugSessions.x64=F6AA8 bFUSEnabled.x64 =F6AAC

This works for me

image

thestinger24rus commented 4 years ago

Try adding this to the end of your .ini file and don't forget the blank line at the bottom ... : [10.0.18362.657] LocalOnlyPatch.x64=1 LocalOnlyOffset.x64=82FB5 LocalOnlyCode.x64=jmpshort SingleUserPatch.x64=1 SingleUserOffset.x64=0DBFC SingleUserCode.x64=Zero DefPolicyPatch.x64=1 DefPolicyOffset.x64=1FE15 DefPolicyCode.x64=CDefPolicy_Query_eax_rcx SLInitHook.x64=1 SLInitOffset.x64=22DDC SLInitFunc.x64=New_CSLQuery_Initialize [10.0.18362.657-SLInit] bInitialized.x64 =F6A8C bServerSku.x64 =F6A90 lMaxUserSessions.x64 =F6A94 bAppServerAllowed.x64 =F6A9C bRemoteConnAllowed.x64=F6AA0 bMultimonAllowed.x64 =F6AA4 ulMaxDebugSessions.x64=F6AA8 bFUSEnabled.x64 =F6AAC

This works for me

image

Change authentication mode to NLA for secure reason

graphixillusion commented 4 years ago

@thestinger24rus the NLA auth works for you? You can set in the config but after the first connect, if you open the config again it switches back to GUI Auth.

thestinger24rus commented 4 years ago

@thestinger24rus the NLA auth works for you? You can set in the config but after the first connect, if you open the config again it switches back to GUI Auth.

i see it now. Just checked my server (i disabled updates there) and it works well. Checked my home win10 (i dont use RDPwrap actually) and its alway GUI. Need new injection code image

image

antonioambriz commented 4 years ago

My case:

I added above lines at the end of rdpwrap.ini, including obligatory empty lines. However, after executing re-install.bat these added lines disappeared from from rdpwrap.ini and rdpconf.exe showed not supported version.

Because of that I edited re-install.bat and added:

At the end of section :start_update:

findstr /x /c:"[10.0.18362.657]" %rdpwrap_ini% >nul || call :Update_10_0_18362_657

and at the end of the file

:Update_10_0_18362_657
set updated=1
echo [+] add support for termsrv.dll v.10.0.18362.657
(
echo.
echo [10.0.18362.657]
echo LocalOnlyPatch.x64=1
echo LocalOnlyOffset.x64=82FB5
echo LocalOnlyCode.x64=jmpshort
echo SingleUserPatch.x64=1
echo SingleUserOffset.x64=0DBFC
echo SingleUserCode.x64=Zero
echo DefPolicyPatch.x64=1
echo DefPolicyOffset.x64=1FE15
echo DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
echo SLInitHook.x64=1
echo SLInitOffset.x64=22DDC
echo SLInitFunc.x64=New_CSLQuery_Initialize
echo. 
echo [10.0.18362.657-SLInit]
echo bInitialized.x64 =F6A8C
echo bServerSku.x64 =F6A90
echo lMaxUserSessions.x64 =F6A94
echo bAppServerAllowed.x64 =F6A9C
echo bRemoteConnAllowed.x64=F6AA0
echo bMultimonAllowed.x64 =F6AA4
echo ulMaxDebugSessions.x64=F6AA8
echo bFUSEnabled.x64 =F6AAC
) >> %rdpwrap_ini%
goto :eof

These are the same codes with echo command in front of them. Then I executed re-install.bat and saw

изображение

Working with these procedure. Thank you for sharing!

srosato commented 4 years ago

Worked like a charm by following procedure + highly rated comments here for version 10.0.18362.267. Thanks a lot for this, it is a life saver!

g0mtech commented 4 years ago

1903 version don't work.

ner00 commented 4 years ago

1903 version don't work.

That's the Windows version. The only thing that matters is the termsrv.dll version. And honestly, I'm pretty sure the latest updates of 1903 are already covered and work fine.

g0mtech commented 4 years ago

1903 version don't work.

That's the Windows version. The only thing that matters is the termsrv.dll version. And honestly, I'm pretty sure the latest updates of 1903 are already covered and work fine.

of course this is windows version. not linux)

ner00 commented 4 years ago

of course this is windows version. not linux)

Did you miss the point or are you just trolling? 1903 means nothing because the patches are based on the termsrv DLL.'s version. In other words: saying "1903 version don't work." means nothing to anyone.

enigmen commented 4 years ago

изображение

MarkTycoon commented 3 years ago

Got it working with the latest Windows 10 Enterprise 1809 (LTSC) using the following ini updater: https://github.com/Octanium91/rdpwupDownloads/ (download latest version)

termsrv.dll version: 10.0.17763.771 (termsrv.dll.zip) Attached my RDP Wrapper folder in case it helps (RDP Wrapper.zip) RDP Wrapper.zip termsrv.dll.zip

sebaxakerhtc commented 2 years ago

One version = one issue