Skip to content

Instantly share code, notes, and snippets.

@jd-boyd
Created May 13, 2023 07:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jd-boyd/e78506e2412bb2578683d4c4970a3597 to your computer and use it in GitHub Desktop.
Save jd-boyd/e78506e2412bb2578683d4c4970a3597 to your computer and use it in GitHub Desktop.
Force Windows 10 to no try to update to Windows 11.
# must run as admin
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
gpupdate /force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment