Turn off Automatic Root Certificates Update
Désactiver la mise à jour automatique des certificats racines
Explanation
This policy setting specifies whether to automatically update root certificates using the Windows Update website.
Typically, a certificate is used when you use a secure website or when you send and receive secure email. Anyone can issue certificates, but to have transactions that are as secure as possible, certificates must be issued by a trusted certificate authority (CA). Microsoft has included a list in Windows XP and other products of companies and organizations that it considers trusted authorities.
If you enable this policy setting, when you are presented with a certificate issued by an untrusted root authority, your computer will not contact the Windows Update website to see if Microsoft has added the CA to its list of trusted authorities.
If you disable or do not configure this policy setting, your computer will contact the Windows Update website.
Ce paramètre de stratégie indique si les certificats racines doivent être mis à jour automatiquement en utilisant le site Web Windows Update.
Généralement, un certificat est employé lorsque vous utilisez un site Web sécurisé ou lorsque vous envoyez et recevez du courrier électronique sécurisé. Tout le monde peut émettre des certificats, mais pour que les transactions soient aussi sécurisées que possible, les certificats doivent être émis par une autorité de certification de confiance. Microsoft a inclus dans Windows XP et dans d’autres produits une liste de sociétés et d’organisations considérées comme étant des autorités de confiance.
Si vous activez ce paramètre de stratégie, lorsqu’un certificat vous est présenté par une autorité racine non approuvée, votre ordinateur ne contacte pas le site Web Windows Update pour savoir si Microsoft a ajouté l’autorité de certification à sa liste d’autorités de confiance.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, votre ordinateur contacte le site Web Windows Update.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\SystemCertificates\AuthRoot- Value name
DisableRootAutoUpdate
| 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: ICM/CertMgr_DisableAutoRootUpdates
$k = 'HKLM:\Software\Policies\Microsoft\SystemCertificates\AuthRoot'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableRootAutoUpdate' -Value 1 -Type DWordDisable
# Disable: ICM/CertMgr_DisableAutoRootUpdates
$k = 'HKLM:\Software\Policies\Microsoft\SystemCertificates\AuthRoot'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableRootAutoUpdate' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": ICM/CertMgr_DisableAutoRootUpdates
$k = 'HKLM:\Software\Policies\Microsoft\SystemCertificates\AuthRoot'
Remove-ItemProperty -Path $k -Name 'DisableRootAutoUpdate' -ErrorAction SilentlyContinue