Use 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 controls whether shared computer activation is used to activate the version of Office installed on the computer. By default, shared computer activation isn’t used for activation.
Shared computer activation is used only for situations where multiple users share the same computer. For example, when using Remote Desktop Services (RDS).
If you enable this policy setting, shared computer activation will be used to activate the version of Office installed on the computer.
If you do not configure this policy setting, shared computer activation will not be used to activate the version of Office installed on the computer unless you have enabled shared computer activation by using the Office Deployment Tool.
If you disable this policy setting, shared computer activation will not be used even if set using the Office Deployment Tool.
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
sharedcomputerlicensing
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 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_SharedComputerLicensing
$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 'sharedcomputerlicensing' -Value 1 -Type DWordDésactiver
# Désactiver : office16/L_SharedComputerLicensing
$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 'sharedcomputerlicensing' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : office16/L_SharedComputerLicensing
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\licensing'
Remove-ItemProperty -Path $k -Name 'sharedcomputerlicensing' -ErrorAction SilentlyContinueApplication
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.