Turn off Hibernation in Windows autounattend.xml

Turn off Hibernation in Windows to correct issue #162
This commit is contained in:
Cowboy General 2021-11-20 08:42:31 -05:00 committed by Martin Wimpress
parent b9a1405917
commit 9ba10f91df

View file

@ -581,6 +581,11 @@ function unattended_windows() {
<Description>Install spice-vdagent SPICE agent</Description>
<Order>4</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>Cmd /c POWERCFG -H OFF</CommandLine>
<Description>Disable Hibernation</Description>
<Order>5</Order>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>