forked from M-Labs/wfvm
autounattend: use ForceShutdownNow instead of FirstLogonCommands shutdown
this moves the return a little earlier in the installation process. it is less of a hack, and less problematic with custom `defaultUser` settings.
This commit is contained in:
parent
ec54c9bf9b
commit
54d9f41a6d
@ -275,14 +275,12 @@ let
|
|||||||
</AutoLogon>
|
</AutoLogon>
|
||||||
''}
|
''}
|
||||||
|
|
||||||
<FirstLogonCommands>
|
</component>
|
||||||
<SynchronousCommand wcm:action="add">
|
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<Order>1</Order>
|
<Reseal>
|
||||||
<CommandLine>cmd /C shutdown /s /f /t 00</CommandLine>
|
<ForceShutdownNow>true</ForceShutdownNow>
|
||||||
<Description>ChangeHideFiles</Description>
|
<Mode>OOBE</Mode>
|
||||||
</SynchronousCommand>
|
</Reseal>
|
||||||
</FirstLogonCommands>
|
|
||||||
|
|
||||||
</component>
|
</component>
|
||||||
</settings>
|
</settings>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user