Disable automatic daily installation of Windows updates
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Windows onlyThis script improves your privacy on Windows
-  Impact: HighSystem Functionality Loss Risk: High
 This action improves privacy with high impact when you run the recommended script.
- Batch (batchfile)These changes use Windows system commands to update your settings.
-  Fully reversibleYou can fully restore this action (revert back to the original behavior) using this website. The restore/revert methods provided here can help you fix issues. 
Overview
This script stops Windows from automatically installing updates every day. By doing so, you gain control over when update happen on your computer 1 2.
By default, Windows is set to automatically update every day 2. Having control over the update timing allows you to review what is being changed, thereby protecting your privacy and enhancing your system's security.
Technically, what the script does is remove a specific setting in the computer's system registry, the ScheduledInstallDay key
from HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU 1 2.
Disabling the scheduled install day ensures that updates won't be forcibly applied on a specific day of the week.
- Not AdvisedThis script should only be used by advanced users. This script is not recommended for daily use as it breaks important functionality. Consider creating a system restore point before doing any changes. 
- Security Trade-offThis action prioritizes privacy over certain security features. It's not recommended and should only be used by advanced users after understanding its implications. Increased PrivacyEnhanced privacy through reduced data collection and trackingDecreased SecuritySome security features will be disabled or limitedThis script can be reversed, this allows you to restore the default system security. 
Sources
- Manage additional Windows Update settings - Windows Deployment. Microsoft Learn. (2023).
 Original: https://learn.microsoft.com/en-us/windows/deployment/update/waas-wu-settings
 Archived: https://web.archive.org/web/20230711172555/https://learn.microsoft.com/en-us/windows/deployment/update/waas-wu-settings#configuring-automatic-updates-by-editing-the-registry
- Update Policy CSP - Windows Client Management. Microsoft Learn. (2023).
 Original: https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-update
 Archived: https://web.archive.org/web/20230708165017/https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-update#scheduledinstallday
Apply Now
Choose one of three ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Help
How to apply or restore "Disable automatic daily installation of Windows updates" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1DownloadDownload the script file by clicking on the button above.
 Use button above to restore changes.
- 2Keep the fileIf warned by your browser, keep the file.
- 3OpenOpen the downloaded file.
- 4ExitOnce it's done, press any key to exit the window.
- 5RestartRestart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Disable automatic daily installation of Windows updates" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2Choose script- Search for the script name: Disable automatic daily installation of Windows updates
- Check the script by clicking on the checkbox.
 
- 3RunClick on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button. 
- Apply
- Revert
:: Delete the registry value "ScheduledInstallDay" from the key "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" 
PowerShell -ExecutionPolicy Unrestricted -Command "$keyName = 'HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU'; $valueName = 'ScheduledInstallDay'; $hive = $keyName.Split('\')[0]; $path = "^""$($hive):$($keyName.Substring($hive.Length))"^""; Write-Host "^""Removing the registry value '$valueName' from '$path'."^""; if (-Not (Test-Path -LiteralPath $path)) { Write-Host 'Skipping, no action needed, registry key does not exist.'; Exit 0; }; $existingValueNames = (Get-ItemProperty -LiteralPath $path).PSObject.Properties.Name; if (-Not ($existingValueNames -Contains $valueName)) { Write-Host 'Skipping, no action needed, registry value does not exist.'; Exit 0; }; try { if ($valueName -ieq '(default)') { Write-Host 'Removing the default value.'; $(Get-Item -LiteralPath $path).OpenSubKey('', $true).DeleteValue(''); } else { Remove-ItemProperty -LiteralPath $path -Name $valueName -Force -ErrorAction Stop; }; Write-Host 'Successfully removed the registry value.'; } catch { Write-Error "^""Failed to remove the registry value: $($_.Exception.Message)"^""; }"
Ijo6IFJlbW92ZSB0aGUgcmVnaXN0cnkgdmFsdWUgXCJTY2hlZHVsZW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bHVlIGRvZXMgbm90IGV4aXN0Lic7IEV4aXQgMDsgfTsgdHJ5IHsgaWYgKCR2YWx1ZU5hbWUgLWllcSAnKGRlZmF1bHQpJykgeyBXcml0ZS1Ib3N0ICdSZW1vdmluZyB0aGUgZGVmYXVsdCB2YWx1ZS4nOyAkKEdldC1JdGVtIC1MaXRlcmFsUGF0aCAkcGF0aCkuT3BlblN1YktleSgnJywgJHRydWUpLkRlbGV0ZVZhbHVlKCcnKTsgfSBlbHNlIHsgUmVtb3ZlLUl0ZW1Qcm9wZXJ0eSAtTGl0ZXJhbFBhdGggJHBhdGggLU5hbWUgJHZhbHVlTmFtZSAtRm9yY2UgLUVycm9yQWN0aW9uIFN0b3A7IH07IFdyaXRlLUhvc3QgJ1N1Y2Nlc3NmdWxseSByZW1vdmVkIHRoZSByZWdpc3RyeSB2YWx1ZS4nOyB9IGNhdGNoIHsgV3JpdGUtRXJyb3IgXCJeXCJcIkZhaWxlZCB0byByZW1vdmUgdGhlIHJlZ2lzdHJ5IHZhbHVlOiAkKCRfLkV4Y2VwdGlvbi5NZXNzYWdlKVwiXlwiXCI7IH1cIiI=
Help
How to apply or restore "Disable automatic daily installation of Windows updates" using commands
- ≈ 2 min to complete
- Tools: Command Prompt
- Difficulty: Medium
- ≈ 3 instructions
- 1Open Command PromptOpen Command Prompt as Administrator.
- 2Copy codeCopy the code:
- 3Paste & runPaste the commands into Command Prompt and press Enter to run.Some changes require a system restart to take effect 
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.These plans combine multiple privacy settings, including this one, for stronger protection.
- Disable automatic updates
- Privacy over security
Disabling automatic updates is often considered counterintuitive when it comes to securing your system. However, there are substantial arguments to consi...
Same Goal
Other guides in Disable automatic updates See settings that are in the same category as this guide.Using other actions in the same category may help you achieve your goal better.
See all 7 guides
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:- Expert review by undergroundwires- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
- Audited and verified using automated security tests
 
- Public review by large community- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
- Audited and verified using third-party security software
 
History
We continually monitor our guides, their impact and other potential privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.