Skip to content

Commit fd56533

Browse files
committed
Add support for 10.0.10041.0
1 parent 782dc34 commit fd56533

File tree

2 files changed

+93
-5
lines changed

2 files changed

+93
-5
lines changed

res/rdpwrap.ini

+85-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; Do not modify without special knowledge
33

44
[Main]
5-
Updated=2015-01-26
5+
Updated=2015-03-23
66
LogFile=\rdpwrap.txt
77
SLPolicyHookNT60=1
88
SLPolicyHookNT61=1
@@ -1320,6 +1320,71 @@ SLInitHook.x64=1
13201320
SLInitOffset.x64=24EC0
13211321
SLInitFunc.x64=New_CSLQuery_Initialize
13221322

1323+
[10.0.10041.0]
1324+
; Patch CEnforcementCore::GetInstanceOfTSLicense
1325+
; .text:100A9D7B call ?IsLicenseTypeLocalOnly@CSLQuery@@SGJAAU_GUID@@PAH@Z ; CSLQuery::IsLicenseTypeLocalOnly(_GUID &,int *)
1326+
; .text:100A9D80 test eax, eax
1327+
; .text:100A9D82 js short loc_100A9D9F
1328+
; .text:100A9D84 cmp [ebp+var_C], 0
1329+
; .text:100A9D88 jz short loc_100A9D9F <- jmp
1330+
LocalOnlyPatch.x86=1
1331+
LocalOnlyOffset.x86=A9D88
1332+
LocalOnlyCode.x86=jmpshort
1333+
; .text:0000000180097133 call ?IsLicenseTypeLocalOnly@CSLQuery@@SAJAEAU_GUID@@PEAH@Z ; CSLQuery::IsLicenseTypeLocalOnly(_GUID &,int *)
1334+
; .text:0000000180097138 test eax, eax
1335+
; .text:000000018009713A js short loc_18009715B
1336+
; .text:000000018009713C cmp [rsp+58h+arg_18], 0
1337+
; .text:0000000180097141 jz short loc_18009715B <- jmp
1338+
LocalOnlyPatch.x64=1
1339+
LocalOnlyOffset.x64=97141
1340+
LocalOnlyCode.x64=jmpshort
1341+
; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
1342+
; .text:10032211 lea eax, [esp+150h+VersionInformation]
1343+
; .text:10032215 inc ebx <- nop
1344+
; .text:10032216 mov [edi], ebx
1345+
; .text:10032218 push eax ; lpVersionInformation
1346+
; .text:10032219 call ds:__imp__GetVersionExW@4 ; GetVersionExW(x)
1347+
SingleUserPatch.x86=1
1348+
SingleUserOffset.x86=32215
1349+
SingleUserCode.x86=nop
1350+
; .text:0000000180015C5E call memset_0
1351+
; .text:0000000180015C63 mov ebx, 1 <- 0
1352+
; .text:0000000180015C68 mov [rsp+190h+VersionInformation.dwOSVersionInfoSize], 11Ch
1353+
; .text:0000000180015C70 lea rcx, [rsp+190h+VersionInformation] ; lpVersionInformation
1354+
; .text:0000000180015C75 mov [rdi], ebx
1355+
; .text:0000000180015C77 call cs:__imp_GetVersionExW
1356+
SingleUserPatch.x64=1
1357+
SingleUserOffset.x64=15C64
1358+
SingleUserCode.x64=Zero
1359+
; Patch CDefPolicy::Query
1360+
; Original
1361+
; .text:1002DFC9 cmp eax, [ecx+320h]
1362+
; .text:1002DFCF jz loc_10056550
1363+
; Changed
1364+
; .text:1002DFC9 mov eax, 100h
1365+
; .text:1002DFCE mov [ecx+320h], eax
1366+
; .text:1002DFD4 nop
1367+
DefPolicyPatch.x86=1
1368+
DefPolicyOffset.x86=2DFC9
1369+
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
1370+
; Original
1371+
; .text:000000018000B795 cmp [rcx+63Ch], eax
1372+
; .text:000000018000B79B jz sub_18003A79A
1373+
; Changed
1374+
; .text:000000018000B795 mov eax, 100h
1375+
; .text:000000018000B79A mov [rcx+638h], eax
1376+
; .text:000000018000B7A0 nop
1377+
DefPolicyPatch.x64=1
1378+
DefPolicyOffset.x64=B795
1379+
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
1380+
; Hook CSLQuery::Initialize
1381+
SLInitHook.x86=1
1382+
SLInitOffset.x86=46960
1383+
SLInitFunc.x86=New_CSLQuery_Initialize
1384+
SLInitHook.x64=1
1385+
SLInitOffset.x64=22E40
1386+
SLInitFunc.x64=New_CSLQuery_Initialize
1387+
13231388
[SLInit]
13241389
bServerSku=1
13251390
bRemoteConnAllowed=1
@@ -1481,3 +1546,22 @@ bMultimonAllowed.x64 =EEC00
14811546
bServerSku.x64 =EEC04
14821547
ulMaxDebugSessions.x64=EEC08
14831548
bRemoteConnAllowed.x64=EEC0C
1549+
1550+
[10.0.10041.0-SLInit]
1551+
bFUSEnabled.x86 =C5F60
1552+
lMaxUserSessions.x86 =C5F64
1553+
bAppServerAllowed.x86 =C5F68
1554+
bInitialized.x86 =C5F6C
1555+
bMultimonAllowed.x86 =C5F70
1556+
bServerSku.x86 =C5F74
1557+
ulMaxDebugSessions.x86=C5F78
1558+
bRemoteConnAllowed.x86=C5F7C
1559+
1560+
bFUSEnabled.x64 =F3448
1561+
lMaxUserSessions.x64 =F344C
1562+
bAppServerAllowed.x64 =F3450
1563+
bInitialized.x64 =F3454
1564+
bMultimonAllowed.x64 =F3458
1565+
bServerSku.x64 =F345C
1566+
ulMaxDebugSessions.x64=F3460
1567+
bRemoteConnAllowed.x64=F3464

technical.txt

+8-4
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,29 @@ Terminal Services supported versions
5656
6.4.9860.0 (Windows 10 Technical Preview UP1) [init hook + extended patch]
5757
6.4.9879.0 (Windows 10 Technical Preview UP2) [init hook + extended patch]
5858
10.0.9926.0 (Windows 10 Pro Technical Preview) [init hook + extended patch]
59-
10.0.10041.0 (Windows 10 Pro Technical Preview UP1) [!todo]
59+
10.0.10041.0 (Windows 10 Pro Technical Preview UP1) [init hook + extended patch]
6060

6161
Known failures
6262
6.0.6000.16386 (Windows Vista RTM x86, crashes on logon attempt)
6363

6464
Source code changelog (rdpwrap library):
6565

66+
2015.03.23 :
67+
- researching Windows 10 Pro Technical Preview UP1
68+
- added support for termsrv.dll 10.0.10041.0
69+
6670
2015.03.20 :
67-
- New build 10.0.10041.0 was released, obtaining files...
71+
- new build 10.0.10041.0 was released, obtaining files...
6872

6973
2015.01.26 :
70-
- Researching Windows 10 Pro Technical Preview (10.0.9926.0 x86)
74+
- researching Windows 10 Pro Technical Preview (10.0.9926.0 x86)
7175
- added support for termsrv.dll 10.0.9926.0 (x86)
7276

7377
2015.01.22 :
7478
- v-yadli contributed offsets for version 10.0.9926.0 (x64)
7579

7680
2014.12.13 :
77-
- Added more policy values to INI file
81+
- added more policy values to INI file
7882

7983
2014.12.10 :
8084
- C++ version seems to work well now!

0 commit comments

Comments
 (0)