Block Windows 11 Feature update via PDQ Deploy

Comments

1 comment

  • Colby Bouma

    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
    Comment actions Permalink

Please sign in to leave a comment.