Cookies konfigurieren: Registrierungswert Cookies (Main)BenutzerHKCU\Software\Policies\Microsoft\MicrosoftEdge\Main
- Richtlinien-ID
- Cookies
- Bereich
- Computerkonfiguration, Benutzerkonfiguration
- Unterstützt unter
- Microsoft Edge unter Windows 10 höher
- Quelle
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
- Kategorie
- Windows-Komponenten › Microsoft Edge
Registrierung
Cookies
REG_DWORDBenutzerComputer…\Software\Policies\Microsoft\MicrosoftEdge\MainHKCU\Software\Policies\Microsoft\MicrosoftEdge\Main Aktueller Schlüssel
HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main
HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main
- Wert bei Aktivierung
- Hängt vom Wert der Option ab
- Element
- Cookies konfigurieren
| Eintrag | Gespeicherter Wert |
|---|---|
| Alle Cookies blockieren | 0 |
| Nur Cookies von Drittanbietern blockieren | 1 |
| Alle Cookies zulassen (Standard) | 2 |
Mit .reg · CMD · PowerShell anwenden
BenutzerEinstellung pro Konto
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Main] ; Optionen (nur eine verwenden) ; Alle Cookies blockieren "Cookies"=dword:00000000 ; Nur Cookies von Drittanbietern blockieren "Cookies"=dword:00000001 ; Alle Cookies zulassen (Standard) "Cookies"=dword:00000002
CMD
:: Optionen (nur eine verwenden) :: Alle Cookies blockieren reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 0 /f :: Nur Cookies von Drittanbietern blockieren reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 1 /f :: Alle Cookies zulassen (Standard) reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen New-Item -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Force | Out-Null # Optionen (nur eine verwenden) # Alle Cookies blockieren New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 0 -Force | Out-Null # Nur Cookies von Drittanbietern blockieren New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 1 -Force | Out-Null # Alle Cookies zulassen (Standard) New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 2 -Force | Out-Null
ComputerComputerweite Einstellung
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\Main] ; Optionen (nur eine verwenden) ; Alle Cookies blockieren "Cookies"=dword:00000000 ; Nur Cookies von Drittanbietern blockieren "Cookies"=dword:00000001 ; Alle Cookies zulassen (Standard) "Cookies"=dword:00000002
CMD
:: Optionen (nur eine verwenden) :: Alle Cookies blockieren reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 0 /f :: Nur Cookies von Drittanbietern blockieren reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 1 /f :: Alle Cookies zulassen (Standard) reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen New-Item -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Force | Out-Null # Optionen (nur eine verwenden) # Alle Cookies blockieren New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 0 -Force | Out-Null # Nur Cookies von Drittanbietern blockieren New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 1 -Force | Out-Null # Alle Cookies zulassen (Standard) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 2 -Force | Out-Null