Specify the location to save the licensing token used by shared computer activation
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
This policy setting allows you to specify the file folder to save the licensing token used by shared computer activation.
Shared computer activation is used only for situations where multiple users share the same computer. For example, when using Remote Desktop Services (RDS).
By default, the licensing token used by shared computer activation is saved in the %localappdata%\Microsoft\Office\16.0\Licensing folder. But, this location isn’t included in the user’s roaming profile, so the licensing token won’t be available if the user signs in to a different computer.
If you enable this policy setting, you need to specify a location to store the licensing token used by shared computer activation. You should specify a folder that is specific to the user and that will be available to the user from whatever computer on the network that the user signs in to. For example, a folder that’s included in the user’s roaming profile, or a shared folder on the network, where there is a folder for each user.
If you disable or don’t configure this policy setting, Office uses the default folder to save the licensing token used by shared computer activation.
Note: This policy setting only applies to subscription plans that include Microsoft 365 Apps for enterprise, and to subscription versions of Project and Visio.
Registre
HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\licensing- Nom de la valeur
sclcacheoverride
| État | Valeur écrite |
|---|---|
| Activé | REG_SZ = 1 |
| Désactivé | REG_SZ = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : office16/L_SCLCacheOverride
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\licensing'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'sclcacheoverride' -Value '1' -Type String
# Folder location
Set-ItemProperty -Path $k -Name 'sclcacheoverridedirectory' -Value '<valeur>' -Type StringDésactiver
# Désactiver : office16/L_SCLCacheOverride
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\licensing'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'sclcacheoverride' -Value '0' -Type StringRevenir à « Non configuré »
# Revenir à « Non configuré » : office16/L_SCLCacheOverride
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\licensing'
Remove-ItemProperty -Path $k -Name 'sclcacheoverride' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'sclcacheoverridedirectory' -ErrorAction SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Folder location:L_sclcacheoverride | Zone de textetext | sclcacheoverridedirectory | REG_SZ |
Application
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.