Windows: Difference between revisions

Line 63: Line 63:
==Windows Update==
==Windows Update==
===Prevent Auto-restarts===
===Prevent Auto-restarts===
Auto-restarts are easily the worst part about windows. They happen even if you're doing something such as training a model or other data processing. 
https://superuser.com/questions/1843873/windows-11-seems-to-have-disabled-all-ways-to-get-around-auto-update-restarts-i
See the long complaint thread at [https://answers.microsoft.com/en-us/windows/forum/all/disable-windows-10-automatic-restart-after-updates/16f1826d-a796-4de8-ac99-1d625420d265?auth=1 https://answers.microsoft.com/en-us/windows/forum/all/disable-windows-10-automatic-restart-after-updates/16f1826d-a796-4de8-ac99-1d625420d265?auth=1].
 
From [https://gist.github.com/JimmyAppelt/1b85b518c7fd44b6742fe2aafa17b646 JimmyAppelt/disableWinRestartOnUpdate.md]
# Run <code>gpedit.msc</code>
# In the Local Group Policy Editor, go to
#:<pre>Computer Configuration -> Administrative Templates-> Windows Components-> Windows Update</pre>
# Double-click on “No auto-restart with automatic installations of scheduled updates”.
# Select "Enabled", and then click "OK".
 
;Notes
* I'm not 100% sure if this works.
* Group policies are only available on Windows 10 Pro.