You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2021. It is now read-only.
# Note: This doesn't disable the need for the restart but rather tries to ensure that the restart doesn't happen in the least expected moment. Allow the machine to restart as soon as possible anyway.
1040
-
FunctionDisableUpdateRestart {
1041
-
Write-Output"Disabling Windows Update automatic restart..."
1038
+
# Disable nightly wake-up for Automatic Maintenance and Windows Updates
1039
+
FunctionDisableMaintenanceWakeUp {
1040
+
Write-Output"Disabling nightly wake-up for Automatic Maintenance..."
1042
1041
If (!(Test-Path"HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU")) {
0 commit comments