Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

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?

0

Comments

1 comment
Date Votes
  • 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
    1