Prevent Office from being updated to a specific version: registry value blockversionComputerHKLM\software\policies\microsoft\office\16.0\common\officeupdate

Policy ID
L_UpdateBlockVersion
Scope
Computer Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Office 2016 (Machine) › Updates

Registry

blockversion

REG_SZComputer
Enabled value
Depends on the option value
Element
Block version:
Value type
REG_SZ
Required
false
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\officeupdate]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"blockversion"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "blockversion" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'blockversion' -PropertyType String -Value '<enter value>' -Force | Out-Null