Skip to content

Commit

Permalink
INI: Add support for new builds (fix #195)
Browse files Browse the repository at this point in the history
10.0.15007.1000 x86/x64
  • Loading branch information
binarymaster committed Jan 15, 2017
1 parent 091a0b8 commit 5814e3f
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 @@ -319,6 +319,7 @@ Visit [issues](https://github.com/stascorp/rdpwrap/issues) section, and check wh
- 10.0.14971.1000 (Windows 10 RS Pre-Release 161111-1700)
- 10.0.14986.1000 (Windows 10 Build 160101.0800)
- 10.0.15002.1001 (Windows 10 Build 160101.0800)
- 10.0.15007.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-01-12
Updated=2017-01-15
; 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 @@ -2556,6 +2556,36 @@ SLInitHook.x64=1
SLInitOffset.x64=E000
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.15007.1000]
; Patch CEnforcementCore::GetInstanceOfTSLicense
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=A9648
LocalOnlyCode.x86=jmpshort
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=931EB
LocalOnlyCode.x64=jmpshort
; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
SingleUserPatch.x86=1
SingleUserOffset.x86=34665
SingleUserCode.x86=nop
SingleUserPatch.x64=1
SingleUserOffset.x64=274ED
SingleUserCode.x64=Zero
; Patch CDefPolicy::Query
DefPolicyPatch.x86=1
DefPolicyOffset.x86=3D719
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
DefPolicyPatch.x64=1
DefPolicyOffset.x64=1D95E
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
; Hook CSLQuery::Initialize
SLInitHook.x86=1
SLInitOffset.x86=47D30
SLInitFunc.x86=New_CSLQuery_Initialize
SLInitHook.x64=1
SLInitOffset.x64=E000
SLInitFunc.x64=New_CSLQuery_Initialize

[SLInit]
; Is server
bServerSku=1
Expand Down Expand Up @@ -3473,3 +3503,22 @@ bRemoteConnAllowed.x64=F0484
bMultimonAllowed.x64 =F0488
ulMaxDebugSessions.x64=F048C
bFUSEnabled.x64 =F0490

[10.0.15007.1000-SLInit]
bInitialized.x86 =C6F74
bServerSku.x86 =C6F78
lMaxUserSessions.x86 =C6F7C
bAppServerAllowed.x86 =C6F80
bRemoteConnAllowed.x86=C6F84
bMultimonAllowed.x86 =C6F88
ulMaxDebugSessions.x86=C6F8C
bFUSEnabled.x86 =C6F90

bServerSku.x64 =F0408
lMaxUserSessions.x64 =F040C
bAppServerAllowed.x64 =F0410
bInitialized.x64 =F0480
bRemoteConnAllowed.x64=F0484
bMultimonAllowed.x64 =F0488
ulMaxDebugSessions.x64=F048C
bFUSEnabled.x64 =F0490
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-01-12
Updated=2017-01-15
LogFile=\rdpwrap.txt
SLPolicyHookNT60=1
SLPolicyHookNT61=1
Expand Down Expand Up @@ -1533,6 +1533,32 @@ SLInitHook.x64=1
SLInitOffset.x64=E000
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.15007.1000]
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=A9648
LocalOnlyCode.x86=jmpshort
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=931EB
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x86=1
SingleUserOffset.x86=34665
SingleUserCode.x86=nop
SingleUserPatch.x64=1
SingleUserOffset.x64=274ED
SingleUserCode.x64=Zero
DefPolicyPatch.x86=1
DefPolicyOffset.x86=3D719
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
DefPolicyPatch.x64=1
DefPolicyOffset.x64=1D95E
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x86=1
SLInitOffset.x86=47D30
SLInitFunc.x86=New_CSLQuery_Initialize
SLInitHook.x64=1
SLInitOffset.x64=E000
SLInitFunc.x64=New_CSLQuery_Initialize

[SLInit]
bServerSku=1
bRemoteConnAllowed=1
Expand Down Expand Up @@ -2426,3 +2452,22 @@ bRemoteConnAllowed.x64=F0484
bMultimonAllowed.x64 =F0488
ulMaxDebugSessions.x64=F048C
bFUSEnabled.x64 =F0490

[10.0.15007.1000-SLInit]
bInitialized.x86 =C6F74
bServerSku.x86 =C6F78
lMaxUserSessions.x86 =C6F7C
bAppServerAllowed.x86 =C6F80
bRemoteConnAllowed.x86=C6F84
bMultimonAllowed.x86 =C6F88
ulMaxDebugSessions.x86=C6F8C
bFUSEnabled.x86 =C6F90

bServerSku.x64 =F0408
lMaxUserSessions.x64 =F040C
bAppServerAllowed.x64 =F0410
bInitialized.x64 =F0480
bRemoteConnAllowed.x64=F0484
bMultimonAllowed.x64 =F0488
ulMaxDebugSessions.x64=F048C
bFUSEnabled.x64 =F0490
4 changes: 4 additions & 0 deletions technical.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,13 @@ Terminal Services supported versions
10.0.14971.1000 (Windows 10 rs_prerelease.161111-1700) [init hook + extended patch]
10.0.14986.1000 (Windows 10 WinBuild.160101.0800) [init hook + extended patch]
10.0.15002.1001 (Windows 10 WinBuild.160101.0800) [init hook + extended patch]
10.0.15007.1000 (Windows 10 WinBuild.160101.0800) [init hook + extended patch]

Source code changelog (rdpwrap library):

2017.01.15 :
- added support for termsrv.dll 10.0.15007.1000

2017.01.12 :
- added support for termsrv.dll 10.0.15002.1001

Expand Down

0 comments on commit 5814e3f

Please sign in to comment.