| 
						
						
						
					 | 
					 | 
					@ -1,6 +1,6 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					[Main]
 | 
					 | 
					 | 
					 | 
					[Main]
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					; Last updated date
 | 
					 | 
					 | 
					 | 
					; Last updated date
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					Updated=2017-05-29
 | 
					 | 
					 | 
					 | 
					Updated=2017-06-10
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					; Address to log file (RDP Wrapper will write it, if exists)
 | 
					 | 
					 | 
					 | 
					; Address to log file (RDP Wrapper will write it, if exists)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					LogFile=\rdpwrap.txt
 | 
					 | 
					 | 
					 | 
					LogFile=\rdpwrap.txt
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					; Hook SLPolicy API on Windows NT 6.0
 | 
					 | 
					 | 
					 | 
					; Hook SLPolicy API on Windows NT 6.0
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -2941,6 +2941,36 @@ SLInitHook.x64=1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					SLInitOffset.x64=D1EC
 | 
					 | 
					 | 
					 | 
					SLInitOffset.x64=D1EC
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					SLInitFunc.x64=New_CSLQuery_Initialize
 | 
					 | 
					 | 
					 | 
					SLInitFunc.x64=New_CSLQuery_Initialize
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					[10.0.15063.296]
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					; Patch CEnforcementCore::GetInstanceOfTSLicense
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					LocalOnlyPatch.x86=1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					LocalOnlyOffset.x86=A5D68
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					LocalOnlyCode.x86=jmpshort
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					LocalOnlyPatch.x64=1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					LocalOnlyOffset.x64=8CAA1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					LocalOnlyCode.x64=jmpshort
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SingleUserPatch.x86=1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SingleUserOffset.x86=35075
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SingleUserCode.x86=nop
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SingleUserPatch.x64=1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SingleUserOffset.x64=24E74
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SingleUserCode.x64=Zero
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					; Patch CDefPolicy::Query
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					DefPolicyPatch.x86=1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					DefPolicyOffset.x86=2FCD9
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					DefPolicyPatch.x64=1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					DefPolicyOffset.x64=2DD65
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					; Hook CSLQuery::Initialize
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SLInitHook.x86=1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SLInitOffset.x86=4549D
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SLInitFunc.x86=New_CSLQuery_Initialize
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SLInitHook.x64=1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SLInitOffset.x64=D1EC
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					SLInitFunc.x64=New_CSLQuery_Initialize
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					[10.0.16179.1000]
 | 
					 | 
					 | 
					 | 
					[10.0.16179.1000]
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					; Patch CEnforcementCore::GetInstanceOfTSLicense
 | 
					 | 
					 | 
					 | 
					; Patch CEnforcementCore::GetInstanceOfTSLicense
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					LocalOnlyPatch.x86=1
 | 
					 | 
					 | 
					 | 
					LocalOnlyPatch.x86=1
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -4188,6 +4218,25 @@ bServerSku.x64        =E9484
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					lMaxUserSessions.x64  =E9488
 | 
					 | 
					 | 
					 | 
					lMaxUserSessions.x64  =E9488
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					bAppServerAllowed.x64 =E948C
 | 
					 | 
					 | 
					 | 
					bAppServerAllowed.x64 =E948C
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					[10.0.15063.296-SLInit]
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bInitialized.x86      =C2F70
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bServerSku.x86        =C2F74
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					lMaxUserSessions.x86  =C2F78
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bAppServerAllowed.x86 =C2F7C
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bRemoteConnAllowed.x86=C2F80
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bMultimonAllowed.x86  =C2F84
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					ulMaxDebugSessions.x86=C2F88
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bFUSEnabled.x86       =C2F8C
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bInitialized.x64      =E9468
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bRemoteConnAllowed.x64=E946C
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bMultimonAllowed.x64  =E9470
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					ulMaxDebugSessions.x64=E9474
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bFUSEnabled.x64       =E9478
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bServerSku.x64        =E9484
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					lMaxUserSessions.x64  =E9488
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					bAppServerAllowed.x64 =E948C
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					[10.0.16179.1000-SLInit]
 | 
					 | 
					 | 
					 | 
					[10.0.16179.1000-SLInit]
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					bInitialized.x86      =C7F6C
 | 
					 | 
					 | 
					 | 
					bInitialized.x86      =C7F6C
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					bServerSku.x86        =C7F70
 | 
					 | 
					 | 
					 | 
					bServerSku.x86        =C7F70
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |