Block Windows 11 Upgrade

By | June 30, 2023
In PowerShell as Admin Run:

$Ver=Get-ItemProperty ‘HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion’ | Select-Object CurrentMajorVersionNumber,DisplayVersion;$Ver

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v TargetReleaseversion /t REG_DWORD /d 1

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v TargetReleaseversionInfo /t REG_SZ /d 22H2

Get-ItemProperty ‘HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate’ | Select-Object TargetReleaseversion,TargetReleaseversionInfo