mirror of
https://github.com/Dasharo/preseeds.git
synced 2026-06-13 10:16:39 -07:00
windows: Enable hibernation
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
This commit is contained in:
@@ -172,6 +172,12 @@ https://schneegans.de/windows/unattend-generator/?LanguageMode=Unattended&UILang
|
||||
<Description>Disable recovery</Description>
|
||||
<RequiresUserInput>false</RequiresUserInput>
|
||||
<CommandLine>powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\Users\Public\Desktop\custom_data\disable-recovery.ps1 *> C:\Users\Public\Desktop\custom_data\disable-recovery.log ;</CommandLine>
|
||||
</SynchronousCommand>
|
||||
<SynchronousCommand wcm:action="add">
|
||||
<Order>11</Order>
|
||||
<Description>Enable hibernation</Description>
|
||||
<RequiresUserInput>false</RequiresUserInput>
|
||||
<CommandLine>powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\Users\Public\Desktop\custom_data\enable-hibernation.ps1 *> C:\Users\Public\Desktop\custom_data\enable-hibernation.log ;</CommandLine>
|
||||
</SynchronousCommand>
|
||||
</FirstLogonCommands>
|
||||
</component>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
powercfg /h on
|
||||
powercfg /h /type full
|
||||
Reference in New Issue
Block a user