This is how you lock the Windows build version—meaning this will prevent a future release from being automatically applied. Useful for gaining control over the build versions in your fleet.
Enable
reg add “HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate” /v TargetReleaseVersion /t REG_DWORD /d 1 /f /reg:64
Set Version
reg add “HKLM\SOFTWARE\Policies\M9icrosoft\Windows\WindowsUpdate” /v TargetReleaseVersionInfo /t REG_SZ /d 2004 /f /reg:64
Notes