Sick of the constant annoyance of update notifications and the risk of broken computers? Of course you are! Want a superquick, convenient way to ensure devices don’t update to Windows 11? Of course you do! Well, fear not my friend! We have just the solution for you. This script acts as the operating system’s guardian angel, protecting it from the doom and gloom of upgrading to Windows 11.
But this script does more than just save you from the hassle of updating to Windows 11… it also helps protect your privacy! With the constant stream of data collection that occurs during updates, having control over what information is shared with Microsoft is critical. This script gives you that power, so you can choose when (or even if!) to upgrade your end-user operating systems to Windows 11.
The Script:
Atera does not guarantee the integrity, availability, security, virus-free, safety, lawfulness, non-infringement, rights’ status, or functionality of the scripts. The use of the shared scripts is at your own risk. Scripts are provided “AS IS”. *
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v TargetReleaseVersion /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v TargetReleaseVersionInfo /t REG_SZ /d "21H1" /f
Technical Notes:
- Admin permissions needed to run this script.
- The first command creates the TargetReleaseversion DWORD value in the WindowsUpdate key and sets it to 1.
- The second command specifies the Windows version you want to stay on, by creating the TargetReleaseversionInfo String value in the WindowsUpdate key and setting it to 21H1 or other Windows versions specified. You may have to change the value, depending on which Windows version you are.
For example if you are running Windows 10 21H2, the command will be as follows: “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate” /v TargetReleaseVersionInfo /t REG_SZ /d “21H2” /f