Remove unnecessary command
This commit is contained in:
parent
8ec6015817
commit
660c33a843
|
@ -206,12 +206,6 @@
|
||||||
</SynchronousCommand> -->
|
</SynchronousCommand> -->
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<RequiresUserInput>true</RequiresUserInput>
|
|
||||||
<CommandLine>cmd /C wmic useraccount where name="Admin" set PasswordExpires=false</CommandLine>
|
|
||||||
<Description>Password Never Expires</Description>
|
|
||||||
</SynchronousCommand>
|
|
||||||
<SynchronousCommand wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<RequiresUserInput>false</RequiresUserInput>
|
<RequiresUserInput>false</RequiresUserInput>
|
||||||
<CommandLine>powershell -Command "Set-ExecutionPolicy -Force Bypass"</CommandLine>
|
<CommandLine>powershell -Command "Set-ExecutionPolicy -Force Bypass"</CommandLine>
|
||||||
<Description>Allow PowerShell scripts from anywhere.</Description>
|
<Description>Allow PowerShell scripts from anywhere.</Description>
|
||||||
|
|
Loading…
Reference in a new issue