Prevention of Windows 10 to 11 Auto-Upgrade

Modified on Sun, 16 Mar at 5:41 PM

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:

  1. Press Windows + R, type gpedit.msc, and press Enter to open Group Policy Editor.
  2. Navigate to the following path:
    • Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Update > Windows Update for Business
  3. Double-click Select the target feature update version.
  4. Set the policy to Enabled.
  5. Under the Options section, type 22H2 in the Target Version for Feature Updates field.
  6. 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:

  1. Copy the following content and save it as windows_update.bat:
  2. 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

  1. 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.

A screenshot of a computer

AI-generated content may be incorrect.

    • 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article