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.
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
How does the "Block Windows 11" script work?
The script works by enforcing the TargetedRelease group policy to stop the Windows 11 update. When a new update is available, the script will block the installation and keep your current operating system in place.
Can I still receive security updates if I use the "Block Windows 11" script?
Yes, you can still receive security updates even if you use the “Block Windows 11” script. The script only blocks the installation of Windows 11 and does not affect the ability to receive other updates or patches. It is important to keep your computer up to date with security updates to protect against vulnerabilities and keep your system secure.
What if I change my mind and want to upgrade to Windows 11?
No worries! If you want to upgrade to Windows 11, run the following command to delete the Windows Update policy you previously executed:
“reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate”
Please note that you may need to restart the device after running the command.
To download and install Windows 11, go to Start > Settings > Update & Security > Windows Update > Check for updates.
- 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
Explore our shared script library
The all-in-one IT management platform that will take your IT operations to the next level!