Block Windows 11 Feature update via PDQ Deploy
I saw that you can use the RegEdit to block the Windows 11 feature update but I can't figure out the script.
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /f /v "TargetReleaseVersion" /t REG_DWORD /d 1
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate /v "TargetReleaseVersionInfo" /t REG_DWORD /d 21H2
Would this work?
-
DWORD values are numeric, so you probably need to use REG_SZ in your second line instead of REG_DWORD. I have not tested the following code:
REG ADD "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /f /v "TargetReleaseVersion" /t REG_DWORD /d 1
REG ADD "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /f /v "TargetReleaseVersionInfo" /t REG_SZ /d 21H2
Please sign in to leave a comment.
Comments
1 comment