Do not allow Windows to activate Enhanced Storage devices
Ne pas autoriser Windows à activer les dispositifs de stockage étendu
Explanation
This policy setting configures whether or not Windows will activate an Enhanced Storage device.
If you enable this policy setting, Windows will not activate unactivated Enhanced Storage devices.
If you disable or do not configure this policy setting, Windows will activate unactivated Enhanced Storage devices.
Ce paramètre de stratégie configure si Windows active ou non un dispositif de stockage étendu.
Si vous activez ce paramètre de stratégie, Windows n’active pas les dispositifs de stockage étendu non activés.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, Windows active les dispositifs de stockage étendu non activés.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EnhancedStorageDevices- Value name
TCGSecurityActivationDisabled
| 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: EnhancedStorage/TCGSecurityActivationDisabled
$k = 'HKLM:\Software\Policies\Microsoft\Windows\EnhancedStorageDevices'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'TCGSecurityActivationDisabled' -Value 1 -Type DWordDisable
# Disable: EnhancedStorage/TCGSecurityActivationDisabled
$k = 'HKLM:\Software\Policies\Microsoft\Windows\EnhancedStorageDevices'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'TCGSecurityActivationDisabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": EnhancedStorage/TCGSecurityActivationDisabled
$k = 'HKLM:\Software\Policies\Microsoft\Windows\EnhancedStorageDevices'
Remove-ItemProperty -Path $k -Name 'TCGSecurityActivationDisabled' -ErrorAction SilentlyContinue