Automatic Certificate Deployment via Updates
Déploiement automatique de certificats par le biais des mises à jour
Explanation
For devices where test results are available that indicate that the device can process the certificate updates successfully, the updates will be initiated automatically as part of the servicing updates. This policy is enabled by default. For enterprises that desire managing automatic update, use this policy to explicitly enable or disable the feature.
For more information, see: https://aka.ms/GetSecureBoot
Pour les appareils dont les résultats de test indiquent qu’ils peuvent traiter avec succès les mises à jour des certificats, celles-ci seront lancées automatiquement dans le cadre des mises à jour de maintenance. Cette stratégie est activée par défaut. Pour les entreprises qui souhaitent gérer la mise à jour automatique, utilisez cette stratégie pour activer ou désactiver explicitement la fonctionnalité.
Pour plus d’informations, consultez : https://aka.ms/GetSecureBoot
Registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecureBoot- Value name
HighConfidenceOptOut
| 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: SecureBoot/SecureBoot_HighConfidenceOptOut
$k = 'HKLM:\SYSTEM\CurrentControlSet\Control\SecureBoot'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'HighConfidenceOptOut' -Value 1 -Type DWordDisable
# Disable: SecureBoot/SecureBoot_HighConfidenceOptOut
$k = 'HKLM:\SYSTEM\CurrentControlSet\Control\SecureBoot'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'HighConfidenceOptOut' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": SecureBoot/SecureBoot_HighConfidenceOptOut
$k = 'HKLM:\SYSTEM\CurrentControlSet\Control\SecureBoot'
Remove-ItemProperty -Path $k -Name 'HighConfidenceOptOut' -ErrorAction SilentlyContinue