Ouvrir dans l'explorateur

Allow storage of user passwords

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

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Skype Entreprise 2016 › Stratégies de fonctionnalité Microsoft Lync EN : Computer Configuration › Policies › Administrative Templates › Skype for Business 2016 › Microsoft Lync Feature Policies
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
lync16.admx
Nom interne
lync16/L_PolicySavePassword

Explication

Allows Microsoft Lync to store user passwords.

If you enable this policy setting, Microsoft Lync can store a password on request from the user.

If you disable this policy setting, Microsoft Lync cannot store a password.

If you do not configure this policy setting and the user logs on to a domain, Microsoft Lync does not store the password. If you do not configure this policy setting and the user does not log on to a domain (for example, if the user logs on to a workgroup), Microsoft Lync can store the password.

Note: You can configure this policy setting under both Computer Configuration and User Configuration, but the policy setting under Computer Configuration takes precedence.

Registre

HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\lync
Nom de la valeur
savepassword
ÉtatValeur é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 : lync16/L_PolicySavePassword
$k = 'HKLM:\software\policies\microsoft\office\16.0\lync'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'savepassword' -Value 1 -Type DWord

Désactiver

# Désactiver : lync16/L_PolicySavePassword
$k = 'HKLM:\software\policies\microsoft\office\16.0\lync'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'savepassword' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : lync16/L_PolicySavePassword
$k = 'HKLM:\software\policies\microsoft\office\16.0\lync'
Remove-ItemProperty -Path $k -Name 'savepassword' -ErrorAction SilentlyContinue

Application

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

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