use logon.bat instead of launching disable_smartscreen directly
This commit is contained in:
parent
3dc9b3e4dd
commit
4457246008
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>
|
||||
|
||||
<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>
|
||||
|
||||
<MemoryInMB>8192</MemoryInMB>
|
||||
|
@ -18,7 +18,7 @@
|
||||
<ClipboardRedirection>false</ClipboardRedirection>
|
||||
|
||||
<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>
|
||||
|
||||
<MemoryInMB>8192</MemoryInMB>
|
||||
|
Loading…
x
Reference in New Issue
Block a user