Ouvrir dans l'explorateur

Block signing into Office

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Office 2016 › Divers EN : User Configuration › Policies › Administrative Templates › Microsoft Office 2016 › Miscellaneous
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
office16.admx
Nom interne
office16/L_SignInOptions

Explication

This policy setting controls whether users can provide credentials to Office using either their Microsoft Account or the user ID assigned by your organization for accessing Office 365.
If you enable this policy setting, you can specify one of the following options:

- If you select "Both IDs allowed", users can sign in and access Office content by using either ID
- If you select "Microsoft Account only", users can sign in only by using their Microsoft Account.
- If you select "Organization only", users can sign in only by using the user ID assigned by your organization for accessing Office 365.
- If you select "None allowed", users cannot sign in by using either ID.

If you disable or do not configure this policy setting, users can sign in by using either ID.

Note: This policy does not apply to licensing. A user can license their product using any applicable ID if they have a valid license associated with that account. Providing credentials for licensing purposes when that ID type has been disabled, however, will not affect the signed in state of Office.

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\signin
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

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_SignInOptions
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\signin'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Block signing into Office
# Options possibles :
#   Both IDs allowed = 0
#   Microsoft Account only = 1
#   Org ID only = 2
#   None allowed = 3
Set-ItemProperty -Path $k -Name 'signinoptions' -Value 0 -Type DWord

Désactiver

# Désactiver : office16/L_SignInOptions
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : office16/L_SignInOptions
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\signin'
Remove-ItemProperty -Path $k -Name 'signinoptions' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Block signing into OfficeL_SignInOptions5Liste déroulanteenumsigninoptionsREG_DWORD
Choix par défaut (interface) : n° 0
LibelléValeur
Both IDs allowedREG_DWORD = 0
Microsoft Account onlyREG_DWORD = 1
Org ID onlyREG_DWORD = 2
None allowedREG_DWORD = 3

Application

Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.