Overview:
Some Windows 10 devices are automatically upgraded to Windows 11. To prevent this, follow one of the solutions below.
Affected OS:
- Windows 10
Solution:
There are two methods to prevent Windows 11 updates:
1) Preventing Windows 11 Updates via Group Policy:
Follow these steps to configure Group Policy to block Windows 11 updates:
- Press Windows + R, type gpedit.msc, and press Enter to open Group Policy Editor.
- Navigate to the following path:
- Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Update > Windows Update for Business
- Double-click Select the target feature update version.
- Set the policy to Enabled.
- Under the Options section, type 22H2 in the Target Version for Feature Updates field.
- Click Apply and OK, then close all windows.
2) Preventing Windows 11 Update via Registry Change:
Follow these steps to block Windows 11 updates using a batch script:
- Copy the following content and save it as windows_update.bat:
- 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 22H2 /f
- Deploy the batch script using the PM Module:
- Go to PM > Missing Patches.
- Select the Windows 10 device group.
- Choose any missing security patch.
- On the left panel, select Remediation Scripts under Task Controls.
- Upload the windows_update.bat script as a pre-script.
- Click on Apply Selected Patches.
Note:
The above solutions should be applied to all Windows 10 devices to effectively prevent automatic upgrades to Windows 11.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article