cschneegans / unattend-generator

.NET Core library to create highly customized autounattend.xml files
https://schneegans.de/windows/unattend-generator/
MIT License
680 stars 62 forks source link

[FEATURE] Add Option for disabling fast startup (win10/win11) #24

Closed MisterT87 closed 4 months ago

MisterT87 commented 4 months ago

Hey, is it possible to add a option to disable fast startup on windows 10/11 ?

Fast Startup comes from old win8 times, ssds werent standard as boot drives... IF your boot drive is a SSD -> disable fast startup and ohterwise not (if no SSD)

Fast Startup: Prevents windows 10/11 users to clean shutdown (ram will be saved to disk and recovered on reboot) (even RAM errors will be saved also) and SSD users only save around 2 seconds with fast startup enabled

AND btw thanks for your generator, it helps alot ! :)

cschneegans commented 4 months ago

You can easily add a .reg file

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"HiberbootEnabled"=dword:00000000

in the Scripts to run in the system context section. This link will configure the form accordingly.

MisterT87 commented 4 months ago

Thanks! Can I leave it open to add an option, or do you think no option will be added ?

cschneegans commented 4 months ago

This registry setting is so straightforward that I don't think it justifies an option in the generator UI, sorry.

MisterT87 commented 4 months ago

Ok true :) Just asking and again thanks for good work! :)