Skip to content

Commit

Permalink
INI: Add support for new builds (fix #254)
Browse files Browse the repository at this point in the history
10.0.16199.1000 x86/x64
  • Loading branch information
binarymaster committed May 29, 2017
1 parent 85f2b39 commit 49c9cbf
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ Visit [issues](https://github.com/stascorp/rdpwrap/issues) section, and check wh
- 10.0.15063.0 (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)

#### Confirmed working on:
- Windows Vista Starter (x86 - Service Pack 1 and higher)
Expand Down
51 changes: 50 additions & 1 deletion res/rdpwrap-ini-kb.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Main]
; Last updated date
Updated=2017-05-17
Updated=2017-05-29
; Address to log file (RDP Wrapper will write it, if exists)
LogFile=\rdpwrap.txt
; Hook SLPolicy API on Windows NT 6.0
Expand Down Expand Up @@ -3001,6 +3001,36 @@ SLInitHook.x64=1
SLInitOffset.x64=21700
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.16199.1000]
; Patch CEnforcementCore::GetInstanceOfTSLicense
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=ABA68
LocalOnlyCode.x86=jmpshort
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=8CED1
LocalOnlyCode.x64=jmpshort
; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
SingleUserPatch.x86=1
SingleUserOffset.x86=348C5
SingleUserCode.x86=nop
SingleUserPatch.x64=1
SingleUserOffset.x64=28C14
SingleUserCode.x64=Zero
; Patch CDefPolicy::Query
DefPolicyPatch.x86=1
DefPolicyOffset.x86=319B9
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
DefPolicyPatch.x64=1
DefPolicyOffset.x64=CB25
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
; Hook CSLQuery::Initialize
SLInitHook.x86=1
SLInitOffset.x86=469B0
SLInitFunc.x86=New_CSLQuery_Initialize
SLInitHook.x64=1
SLInitOffset.x64=FA30
SLInitFunc.x64=New_CSLQuery_Initialize

[SLInit]
; Is server
bServerSku=1
Expand Down Expand Up @@ -4195,3 +4225,22 @@ bRemoteConnAllowed.x64=E9494
bMultimonAllowed.x64 =E9498
ulMaxDebugSessions.x64=E949C
bFUSEnabled.x64 =E94A0

[10.0.16199.1000-SLInit]
bInitialized.x86 =C8F74
bServerSku.x86 =C8F78
lMaxUserSessions.x86 =C8F7C
bAppServerAllowed.x86 =C8F80
bRemoteConnAllowed.x86=C8F84
bMultimonAllowed.x86 =C8F88
ulMaxDebugSessions.x86=C8F8C
bFUSEnabled.x86 =C8F90

bServerSku.x64 =E83E8
lMaxUserSessions.x64 =E83EC
bAppServerAllowed.x64 =E83F0
bInitialized.x64 =E94A0
bRemoteConnAllowed.x64=E94A4
bMultimonAllowed.x64 =E94A8
ulMaxDebugSessions.x64=E94AC
bFUSEnabled.x64 =E94B0
47 changes: 46 additions & 1 deletion res/rdpwrap.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; Do not modify without special knowledge

[Main]
Updated=2017-05-17
Updated=2017-05-29
LogFile=\rdpwrap.txt
SLPolicyHookNT60=1
SLPolicyHookNT61=1
Expand Down Expand Up @@ -1914,6 +1914,32 @@ SLInitHook.x64=1
SLInitOffset.x64=21700
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.16199.1000]
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=ABA68
LocalOnlyCode.x86=jmpshort
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=8CED1
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x86=1
SingleUserOffset.x86=348C5
SingleUserCode.x86=nop
SingleUserPatch.x64=1
SingleUserOffset.x64=28C14
SingleUserCode.x64=Zero
DefPolicyPatch.x86=1
DefPolicyOffset.x86=319B9
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
DefPolicyPatch.x64=1
DefPolicyOffset.x64=CB25
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x86=1
SLInitOffset.x86=469B0
SLInitFunc.x86=New_CSLQuery_Initialize
SLInitHook.x64=1
SLInitOffset.x64=FA30
SLInitFunc.x64=New_CSLQuery_Initialize

[SLInit]
bServerSku=1
bRemoteConnAllowed=1
Expand Down Expand Up @@ -3084,3 +3110,22 @@ bRemoteConnAllowed.x64=E9494
bMultimonAllowed.x64 =E9498
ulMaxDebugSessions.x64=E949C
bFUSEnabled.x64 =E94A0

[10.0.16199.1000-SLInit]
bInitialized.x86 =C8F74
bServerSku.x86 =C8F78
lMaxUserSessions.x86 =C8F7C
bAppServerAllowed.x86 =C8F80
bRemoteConnAllowed.x86=C8F84
bMultimonAllowed.x86 =C8F88
ulMaxDebugSessions.x86=C8F8C
bFUSEnabled.x86 =C8F90

bServerSku.x64 =E83E8
lMaxUserSessions.x64 =E83EC
bAppServerAllowed.x64 =E83F0
bInitialized.x64 =E94A0
bRemoteConnAllowed.x64=E94A4
bMultimonAllowed.x64 =E94A8
ulMaxDebugSessions.x64=E94AC
bFUSEnabled.x64 =E94B0
4 changes: 4 additions & 0 deletions technical.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,13 @@ Terminal Services supported versions
10.0.15063.0 (Windows 10 WinBuild.160101.0800) [init hook + extended patch]
10.0.16179.1000 (Windows 10 WinBuild.160101.0800) [init hook + extended patch]
10.0.16184.1001 (Windows 10 WinBuild.160101.0800) [init hook + extended patch]
10.0.16199.1000 (Windows 10 WinBuild.160101.0800) [init hook + extended patch]

Source code changelog (rdpwrap library):

2017.05.29 :
- added support for termsrv.dll 10.0.16199.1000

2017.05.17 :
- added support for termsrv.dll 10.0.14997.1001 x64

Expand Down

0 comments on commit 49c9cbf

Please sign in to comment.