Bereinigung von Stammzertifikaten konfigurieren: Registrierungswert RootCertificateCleanupOptionComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\CertProp
- Richtlinien-ID
- CertPropRootCleanupString
- Bereich
- Computerkonfiguration
- Unterstützt unter
- Mindestens Windows Vista
- Quelle
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
- Kategorie
- Windows-Komponenten › Smartcard
Registrierung
RootCertificateCleanupOption
REG_DWORDComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\CertProp Aktueller Schlüssel
- Wert bei Aktivierung
- Hängt vom Wert der Option ab
- Element
- Optionen für die Bereinigung von Stammzertifikaten
| Eintrag | Gespeicherter Wert |
|---|---|
| Keine Bereinigung | 0 |
| Zertifikate beim Entfernen der Smartcard bereinigen | 1 |
| Zertifikate beim Abmelden bereinigen | 2 |
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CertProp] ; Optionen (nur eine verwenden) ; Keine Bereinigung "RootCertificateCleanupOption"=dword:00000000 ; Zertifikate beim Entfernen der Smartcard bereinigen "RootCertificateCleanupOption"=dword:00000001 ; Zertifikate beim Abmelden bereinigen "RootCertificateCleanupOption"=dword:00000002
CMD
:: Optionen (nur eine verwenden) :: Keine Bereinigung reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CertProp" /v "RootCertificateCleanupOption" /t REG_DWORD /d 0 /f :: Zertifikate beim Entfernen der Smartcard bereinigen reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CertProp" /v "RootCertificateCleanupOption" /t REG_DWORD /d 1 /f :: Zertifikate beim Abmelden bereinigen reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CertProp" /v "RootCertificateCleanupOption" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CertProp' -Force | Out-Null # Optionen (nur eine verwenden) # Keine Bereinigung New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CertProp' -Name 'RootCertificateCleanupOption' -PropertyType DWord -Value 0 -Force | Out-Null # Zertifikate beim Entfernen der Smartcard bereinigen New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CertProp' -Name 'RootCertificateCleanupOption' -PropertyType DWord -Value 1 -Force | Out-Null # Zertifikate beim Abmelden bereinigen New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CertProp' -Name 'RootCertificateCleanupOption' -PropertyType DWord -Value 2 -Force | Out-Null