Specify the location to save the licensing token used by shared computer activation: registry value sclcacheoverride and 1 moreComputerHKLM\software\policies\microsoft\office\16.0\common\licensing

Policy ID
L_SCLCacheOverride
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) › Licensing Settings

Registry

sclcacheoverride

REG_SZComputer
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\licensing]

; Options (use only one)
; Enabled
"sclcacheoverride"="1"
; Disabled
"sclcacheoverride"="0"
CMD
:: Options (use only one)

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

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

sclcacheoverridedirectory

REG_SZComputer
Enabled value
Depends on the option value
Element
Folder location:
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\licensing]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"sclcacheoverridedirectory"="<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\licensing" /v "sclcacheoverridedirectory" /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\licensing' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\licensing' -Name 'sclcacheoverridedirectory' -PropertyType String -Value '<enter value>' -Force | Out-Null