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

gaikaz commented 5 years ago

Like @qSebastiaNp, got mine running after using the rdpwrap_ini_updater with Windows 10 Home which for me also shows up as 18362.53 in RDPWrap and Version 1903 (OS Build 18362.239) with winver

zhangjizhong-86 commented 5 years ago

Thanks, it worked. I think my promblem was that I didn't notice it must be installed to %ProgramFiles%\RDP Wrapper. Copied everything there and it turned "fully supported". WIN 10 1903 18362.175.

gitgotgone commented 5 years ago

Thanks! I'm on 18362.207 and it worked.

I had two issues I had to solve: 1) Windows SmartDefender needed to be off. 2) My 1.6.2 original install files including RDPWInst.exe needed to be in the Program Files\RDP Wrapper directory.

romanad commented 5 years ago

10.0.18362.267 doesn't work

marcosfrm commented 5 years ago

10.0.18362.267 (from https://github.com/stascorp/rdpwrap/issues/848):

[10.0.18362.267]
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=B7D06
LocalOnlyCode.x86=jmpshort
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=82FB5
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x86=1
SingleUserOffset.x86=50535
SingleUserCode.x86=nop
SingleUserPatch.x64=1
SingleUserOffset.x64=0DBFC
SingleUserCode.x64=Zero
DefPolicyPatch.x86=1
DefPolicyOffset.x86=50269
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
DefPolicyPatch.x64=1
DefPolicyOffset.x64=1FE15
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x86=1
SLInitOffset.x86=5A77A
SLInitFunc.x86=New_CSLQuery_Initialize
SLInitHook.x64=1
SLInitOffset.x64=22DDC
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.18362.267-SLInit]
bInitialized.x86      =D577C
bServerSku.x86        =D5780
lMaxUserSessions.x86  =D5784
bAppServerAllowed.x86 =D578C
bRemoteConnAllowed.x86=D5790
bMultimonAllowed.x86  =D5794
ulMaxDebugSessions.x86=D5798
bFUSEnabled.x86       =D579C

bInitialized.x64      =F6A8C
bServerSku.x64        =F6A90
lMaxUserSessions.x64  =F6A94
bAppServerAllowed.x64 =F6A9C
bRemoteConnAllowed.x64=F6AA0
bMultimonAllowed.x64  =F6AA4
ulMaxDebugSessions.x64=F6AA8
bFUSEnabled.x64       =F6AAC

Did not test it yet.

FormadorLar commented 5 years ago

10.0.18362.267 (from #848):

[10.0.18362.267]
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=B7D06
LocalOnlyCode.x86=jmpshort
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=82FB5
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x86=1
SingleUserOffset.x86=50535
SingleUserCode.x86=nop
SingleUserPatch.x64=1
SingleUserOffset.x64=0DBFC
SingleUserCode.x64=Zero
DefPolicyPatch.x86=1
DefPolicyOffset.x86=50269
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
DefPolicyPatch.x64=1
DefPolicyOffset.x64=1FE15
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x86=1
SLInitOffset.x86=5A77A
SLInitFunc.x86=New_CSLQuery_Initialize
SLInitHook.x64=1
SLInitOffset.x64=22DDC
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.18362.267-SLInit]
bInitialized.x86      =D577C
bServerSku.x86        =D5780
lMaxUserSessions.x86  =D5784
bAppServerAllowed.x86 =D578C
bRemoteConnAllowed.x86=D5790
bMultimonAllowed.x86  =D5794
ulMaxDebugSessions.x86=D5798
bFUSEnabled.x86       =D579C

bInitialized.x64      =F6A8C
bServerSku.x64        =F6A90
lMaxUserSessions.x64  =F6A94
bAppServerAllowed.x64 =F6A9C
bRemoteConnAllowed.x64=F6AA0
bMultimonAllowed.x64  =F6AA4
ulMaxDebugSessions.x64=F6AA8
bFUSEnabled.x64       =F6AAC

Did not test it yet.

Tested and working! x86 latest win10 professional

thestinger24rus commented 5 years ago
[10.0.18362.267-SLInit]

image

liugt34 commented 5 years ago

thanks! it works well... 10.0.17134.706

romanad commented 5 years ago

thanks! it works well... 10.0.17134.706

Does it work with NLA?

liugt34 commented 5 years ago

thanks! it works well... 10.0.17134.706

Does it work with NLA?

i checked my services, it has a service name of NLA,it run automatically image

romanad commented 5 years ago

thanks! it works well... 10.0.17134.706

Does it work with NLA?

i checked my services, it has a service name of NLA,it run automatically image : ) You need to enable Network Level Authentication in RDP Wrapper Configuration (see screenshot above), otherwise it's very insecure !

liugt34 commented 5 years ago

@romanad
i cheched the "Network Level Authentication" item ,it worked well image

thestinger24rus commented 5 years ago

image

i dont understand how i can image smaller, sorry. 3 different users at the same time. Works well

moaeddy 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

thanks mate, this really works for me

ultrawebmarketing commented 5 years ago

Just did the insider preview to 10.8956.1000 and I can no longer RDP. Is there documentation on what to do to create the appropriate configuration settings? I tried looking at the ini file and can tell that they look like hex patches. If there is some documentation on what to do I will create a patch.

abcdafeiji commented 5 years ago

1903 18362 succeeded step:

  1. Execute install.bat
  2. Copy RDPWInst.exe and rdpwrap_ini_updater.bat to C:\Program Files\RDP Wrapper\
  3. Execute rdpwrap_ini_updater.bat
  4. Success

Thank you for your help. I succeeded

asmtron commented 5 years ago

Automatic RDP Wrapper installer and updater (autoupdate.bat) https://github.com/stascorp/rdpwrap/issues/860

The new batch file "autoupdate.bat" check, install and update the RDP Wrapper automatically in the background. For example very useful after a windows update reboot ...

As update source it use up-to-date rdpwrap_ini files from GitHub

bramburn commented 5 years ago

thank you that worked !

MushuK commented 5 years ago

thank you that worker, you are the best!!

ramiwi commented 5 years ago

can you please add 18362.10013? termsrv-10013.zip 2019-08-19 11_54_44-RDP Wrapper Configuration

uplink777 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

Thank You! Works like charm in Windows 10 Home 1903 18362.295.

It's of VITAL importance to copy files into C:\Program Files\RDP Wrapper [NOT x64!] and to run rdpwrap_ini_updater.bat as administrator. I also uninstalled [using previous version uninstaller] the old version too. screenshot

andyj51 commented 5 years ago

18362.267 stilll not supported 微信截图_20190830124555

graphixillusion commented 5 years ago

@andyj51 you are doing something wrong. Try again from scratch and i suggest to use the last version of the script:

https://github.com/stascorp/rdpwrap/issues/860

CHOIKAMWING commented 5 years ago

please support the version for 10.0.18362.295,i hate the update auto to help me update this version

s0nic9 commented 5 years ago

@CHOIKAMWING please read carefully https://github.com/stascorp/rdpwrap/issues/871#issuecomment-526744678

mightytyphoon 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

Hi, it doesn't work with 10.0.18362.356

EDIT : IT WORKS BUT...

you absolutely need to make a C:\Program Files\RDP Wrapper folder and put all your stuff (bat files, ini files etc...) there.

(I know it was mentioned but I am a bit in a hurry sometimes)

ner00 commented 5 years ago

you absolutely need to make a C:\Program Files\RDP Wrapper folder and put all your stuff (bat files, ini files etc...) there.

Not necessarily. I just added the autoupdate.bat file to the original RDPWrapper and edited a few lines in the original install.bat:

@echo off
:: RUN AUTOUPDATE (https://github.com/asmtron/rdpwrap/blob/master/bin/autoupdate.bat)
if exist "%~dp0autoupdate.bat" cmd /c "%~dp0autoupdate.bat"
:: RUN NORMAL INSTALL
if not exist "%~dp0RDPWInst.exe" goto :error
"%~dp0RDPWInst" -i -o
echo ______________________________________________________________
echo.
echo You can check RDP functionality with RDPCheck program.
echo Also you can configure advanced settings with RDPConf program.
echo.
goto :anykey
:error
echo [-] Installer executable not found.
echo Please extract all files from the downloaded package or check your anti-virus.
:anykey
:: COPY LATEST rdpwrap.ini
if exist "%ProgramFiles%\RDP Wrapper\rdpwrap.ini" copy "%~dp0rdpwrap.ini" "%ProgramFiles%\RDP Wrapper\rdpwrap.ini" /Y
"%~dp0RDPWInst.exe" -r
pause

This isn't all that original, and does service terminations and restarts consecutively, but this way I don't have to do anything else manually, nor did I want to swift through autoupdate.bat to make the necessary changes.

jendakol commented 4 years ago

I confirm it works for W10 1903 (18362.418). Many thanks ❤️

Sp0oner commented 4 years ago

I've followed the instructions and turned off anti virus and I get not listening but everything else green.

I'm on 10.0.18362.476 but the wrapper thinks i'm on .267

Any suggestions?

huangxuezhen commented 4 years ago

I've followed the instructions and turned off anti virus and I get not listening but everything else green.

I'm on 10.0.18362.476 but the wrapper thinks i'm on .267

Any suggestions?

I suggest to check the version of termsrv.dll (C:\Windows\System32\termsrv.dll). For my case, my Win10 version is 18362.476, while my termsrv.dll version is .267 I follow the SlavaSumyUA's reply in #845, and solving my problem.

Sp0oner commented 4 years ago

I've followed the instructions and turned off anti virus and I get not listening but everything else green. I'm on 10.0.18362.476 but the wrapper thinks i'm on .267 Any suggestions?

I suggest to check the version of termsrv.dll (C:\Windows\System32\termsrv.dll). For my case, my Win10 version is 18362.476, while my termsrv.dll version is .267 I follow the mytharch's reply in #845, and solving my problem.

Many thanks! I have followed that and replaced the ini but it's still not working for me with listener state still not listening.

thestinger24rus commented 4 years ago

you did something wrong. I've tested it on many virtual machines and it works. Read more.

Sp0oner commented 4 years ago

you did something wrong. I've tested it on many virtual machines and it works. Read more.

I've done exactly as stated, stop termservice copy ini file over to install folder then start termservice then reboot pc. Prior to this rdpwrapper has been updated with latest version as per other threads and everything was done to the letter.

thestinger24rus commented 4 years ago

Show us your ini file "C:\Program Files\RDP Wrapper\rdpwrap.ini"

Sp0oner commented 4 years ago

rdpwrap.txt

Jeka80jeka commented 4 years ago

Please, help. Windows 10.0.18362.3 build, printers are not migrated after updating rdp wrap. In RDPConf everything is ok. thank you

Artycoka commented 4 years ago

Please, help. Windows 10.0.18362.3 build, printers are not migrated after updating rdp wrap. In RDPConf everything is ok. thank you

same issue

gonzalolamata commented 4 years ago

I need your help, today the version of Windows was updated to “10.0.18362.657”

The update of 2-ogosto-2019 does not work for me

You can tell me how to update RDP to this version.

Thank you.

nakemar 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

Artycoka 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

Is it fixing the print issue?

jhonny003 commented 4 years ago

hola! tengo el mismo problema y realicé los pasos de agregar las lineas anteriores dentro del .ini pero al reiniciar el sistema me puso el SERVICE STATE en STOPPED y el LISTENER STATE en NOT LISTENING pero FULLY SUPPORTED.

Pudieron encontrar alguna solución para el rdpwrap_10.0.18362.567 ???

DESDE YA, MUCHAS GRACIAS! Juan Manuel

gonzalolamata commented 4 years ago

Lo acabo de probar y funciona perfectamente.

Gracias por la rapidez y la eficacia.


I just tried it and it works perfectly.

Thanks for the speed and efficiency.

jhonny003 commented 4 years ago

Lo acabo de probar y funciona perfectamente.

Gracias por la rapidez y la eficacia.

I just tried it and it works perfectly.

Thanks for the speed and efficiency.

Gonza... cómo lograste resolverlo? Con qué versión te quedó trabajando... con la 18362.567? Te molesto porque yo no logré resolverlo.

gonzalolamata commented 4 years ago

Simplemente aplicando la actualización de agosto. y después unicamente añadir al archivo "rdpwrap.ini" ubicado en "C:\Program Files\RDP Wrapper".

` [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

`

NOTA: Para editar el archivo "rdpwrap.ini" hay que hacerlo como administrador. Importante dejar una linea vacía al final de archivo.

RingIT-Tech 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

Is it fixing the print issue?

I tried the above fix and its not working. Build windows build is Windows 10 Pro, 1909, 18363.657

After loading this into the ini I get this error image

ner00 commented 4 years ago

Are you sure that you have an empty line after the last line (SLInitFunc.x64) of the first block?

And then another empty line at the end of the second block, after the last line (bFUSEnabled.x64)?

jwalkerbg 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

изображение

BUDDGAF 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

изображение

The solution I just quoted works for 1909 build 18636.657 as well. thank you sir!

Vakasutra 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 изображение

The solution I just quoted works for 1909 build 18636.657 as well. thank you sir!

Hi guys ... could you help me, I already added the lines, but it appears to me that I am doing it wrong. Could you please help me image

Vakasutra 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 изображение

The solution I just quoted works for 1909 build 18636.657 as well. thank you sir!

Hi guys ... could you help me, I already added the lines, but it appears to me that I am doing it wrong. Could you please help me image

Hello again ... I could correct that message but now what happens is that if I log in with multisession in the Remote Desktop the account is loaded but in the main machine that user disconnects me and I can see what they do with the one connected. Help