Disallow standard users from changing the PIN or password
Ne pas autoriser les utilisateurs standard à modifier le code PIN ou le mot de passe
Explanation
This policy setting allows you to configure whether or not standard users are allowed to change BitLocker volume PINs, provided they are able to provide the existing PIN first.
This policy setting is applied when you turn on BitLocker.
If you enable this policy setting, standard users will not be allowed to change BitLocker PINs or passwords.
If you disable or do not configure this policy setting, standard users will be permitted to change BitLocker PINs and passwords.
Ce paramètre de stratégie permet de configurer si les utilisateurs standard sont ou non autorisés à modifier les codes PIN des volumes BitLocker, à condition qu’ils puissent dans un premier temps fournir le code PIN existant.
Ce paramètre de stratégie est appliqué lorsque vous activez BitLocker.
Si vous activez ce paramètre de stratégie, les utilisateurs ne sont pas autorisés à modifier les codes PIN ou mots de passe BitLocker.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les utilisateurs standard sont autorisés à modifier les codes PIN et mots de passe BitLocker.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE- Value name
DisallowStandardUserPINReset
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
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: VolumeEncryption/DisallowStandardUsersCanChangePIN_Name
$k = 'HKLM:\Software\Policies\Microsoft\FVE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisallowStandardUserPINReset' -Value 1 -Type DWordDisable
# Disable: VolumeEncryption/DisallowStandardUsersCanChangePIN_Name
$k = 'HKLM:\Software\Policies\Microsoft\FVE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisallowStandardUserPINReset' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": VolumeEncryption/DisallowStandardUsersCanChangePIN_Name
$k = 'HKLM:\Software\Policies\Microsoft\FVE'
Remove-ItemProperty -Path $k -Name 'DisallowStandardUserPINReset' -ErrorAction SilentlyContinue