Created
May 13, 2023 07:03
-
-
Save jd-boyd/e78506e2412bb2578683d4c4970a3597 to your computer and use it in GitHub Desktop.
Force Windows 10 to no try to update to Windows 11.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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