Identity Manager: Prevent users from using Identities
Identity Manager : empêcher les utilisateurs d’utiliser des identifications
Explanation
Prevents users from configuring unique identities by using Identity Manager.
Identity Manager enables users to create multiple accounts, such as e-mail accounts, on the same computer. Each user has a unique identity, with a different password and different program preferences.
If you enable this policy, users will not be able to create new identities, manage existing identities, or switch identities. The Switch Identity option will be removed from the File menu in Address Book.
If you disable this policy or do not configure it, users can set up and change identities.
Empêche les utilisateurs de configurer des identifications uniques à l’aide de Identity Manager.
Identity Manager permet aux utilisateurs de créer plusieurs comptes, tels que des comptes de messagerie, dans le même ordinateur. Chaque utilisateur a une identification unique avec un mot de passe et des préférences de programmes différents.
Si vous activez ce paramètre de stratégie, les utilisateurs ne peuvent pas créer de nouvelles identifications, gérer les identifications existantes ou modifier leurs identifications. L’option Changer d’identité est supprimée du menu Fichier du carnet d’adresses.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent configurer et modifier leurs identifications.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Identities- Value name
Locked Down
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX |
| Disabled | not defined in the ADMX |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: inetres/Identities
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Identities'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'Locked Down' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: inetres/Identities
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Identities'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'Locked Down' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/Identities
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Identities'
Remove-ItemProperty -Path $k -Name 'Locked Down' -ErrorAction SilentlyContinue