Created
December 14, 2021 03:11
-
-
Save Digressive/c904e870a531315619f2f547315543e5 to your computer and use it in GitHub Desktop.
Change registry settings to set Windows Updates to only install security updates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name 'BranchReadinessLevel' -Value 20 -PropertyType DWord -Force | |
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name 'DeferFeatureUpdatesPeriodInDays' -Value 365 -PropertyType DWord -Force | |
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name 'DeferQualityUpdatesPeriodInDays' -Value 5 -PropertyType DWord -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment