use logon.bat instead of launching disable_smartscreen directly
This commit is contained in:
		
							
								
								
									
										2
									
								
								sandbox/SandboxInput/LogonScripts/logon.bat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								sandbox/SandboxInput/LogonScripts/logon.bat
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					powershell.exe -ExecutionPolicy Bypass -File "C:\Users\WDAGUtilityAccount\Desktop\SandboxInput\disable_smartscreen.ps1"
 | 
				
			||||||
@@ -23,7 +23,7 @@
 | 
				
			|||||||
<ClipboardRedirection>false</ClipboardRedirection>
 | 
					<ClipboardRedirection>false</ClipboardRedirection>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<LogonCommand>
 | 
					<LogonCommand>
 | 
				
			||||||
 <Command>powershell.exe -ExecutionPolicy Bypass -File "C:\Users\WDAGUtilityAccount\Desktop\SandboxInput\disable_smartscreen.ps1"</Command>
 | 
					 <Command>C:\Users\WDAGUtilityAccount\Desktop\SandboxInput\LogonScripts\logon.bat</Command>
 | 
				
			||||||
</LogonCommand>
 | 
					</LogonCommand>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<MemoryInMB>8192</MemoryInMB>
 | 
					<MemoryInMB>8192</MemoryInMB>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,7 +18,7 @@
 | 
				
			|||||||
<ClipboardRedirection>false</ClipboardRedirection>
 | 
					<ClipboardRedirection>false</ClipboardRedirection>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<LogonCommand>
 | 
					<LogonCommand>
 | 
				
			||||||
 <Command>powershell.exe -ExecutionPolicy Bypass -File "C:\Users\WDAGUtilityAccount\Desktop\SandboxInput\disable_smartscreen.ps1"</Command>
 | 
					 <Command>C:\Users\WDAGUtilityAccount\Desktop\SandboxInput\LogonScripts\logon.bat</Command>
 | 
				
			||||||
</LogonCommand>
 | 
					</LogonCommand>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<MemoryInMB>8192</MemoryInMB>
 | 
					<MemoryInMB>8192</MemoryInMB>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user