Online Repair: registry value onlinerepair and 2 moreComputerHKLM\software\policies\microsoft\office\16.0\common\officeupdate

Policy ID
L_OnlineRepair
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

onlinerepair

REG_DWORDComputer
Enabled value
1
Disabled value
0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Enabled
"onlinerepair"=dword:00000001
; Disabled
"onlinerepair"=dword:00000000
CMD
:: Options (use only one)

:: Enabled
reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "onlinerepair" /t REG_DWORD /d 1 /f
:: Disabled
reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "onlinerepair" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Force | Out-Null

# Options (use only one)
# Enabled
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'onlinerepair' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabled
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'onlinerepair' -PropertyType DWord -Value 0 -Force | Out-Null

fallbacktocdn

REG_DWORDComputer
Checked
1
Unchecked
0
Element
Use Office CDN (if needed)
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Checked
"fallbacktocdn"=dword:00000001
; Unchecked
"fallbacktocdn"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "fallbacktocdn" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "fallbacktocdn" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'fallbacktocdn' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'fallbacktocdn' -PropertyType DWord -Value 0 -Force | Out-Null

localodtpath

REG_SZComputer
Enabled value
Depends on the option value
Element
Location of Office Deployment Tool:
Value type
REG_SZ
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
"localodtpath"="<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 "localodtpath" /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 'localodtpath' -PropertyType String -Value '<enter value>' -Force | Out-Null