Cookies configureren: registerwaarde Cookies (Main)GebruikerHKCU\Software\Policies\Microsoft\MicrosoftEdge\Main
- Beleids-ID
- Cookies
- Bereik
- Computerconfiguratie, Gebruikersconfiguratie
- Ondersteund op
- Microsoft Edge in Windows 10 of hoger
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Windows-onderdelen › Microsoft Edge
Register
Cookies
REG_DWORDGebruikerComputer…\Software\Policies\Microsoft\MicrosoftEdge\MainHKCU\Software\Policies\Microsoft\MicrosoftEdge\Main Huidige sleutel
HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main
HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Cookies configureren
| Item | Opgeslagen waarde |
|---|---|
| Alle cookies blokkeren | 0 |
| Alleen cookies van derden blokkeren | 1 |
| Alle cookies toestaan (standaard) | 2 |
Toepassen met .reg · CMD · PowerShell
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Main] ; Opties (gebruik er maar één) ; Alle cookies blokkeren "Cookies"=dword:00000000 ; Alleen cookies van derden blokkeren "Cookies"=dword:00000001 ; Alle cookies toestaan (standaard) "Cookies"=dword:00000002
CMD
:: Opties (gebruik er maar één) :: Alle cookies blokkeren reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 0 /f :: Alleen cookies van derden blokkeren reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 1 /f :: Alle cookies toestaan (standaard) reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Force | Out-Null # Opties (gebruik er maar één) # Alle cookies blokkeren New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 0 -Force | Out-Null # Alleen cookies van derden blokkeren New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 1 -Force | Out-Null # Alle cookies toestaan (standaard) New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 2 -Force | Out-Null
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\Main] ; Opties (gebruik er maar één) ; Alle cookies blokkeren "Cookies"=dword:00000000 ; Alleen cookies van derden blokkeren "Cookies"=dword:00000001 ; Alle cookies toestaan (standaard) "Cookies"=dword:00000002
CMD
:: Opties (gebruik er maar één) :: Alle cookies blokkeren reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 0 /f :: Alleen cookies van derden blokkeren reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 1 /f :: Alle cookies toestaan (standaard) reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "Cookies" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Force | Out-Null # Opties (gebruik er maar één) # Alle cookies blokkeren New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 0 -Force | Out-Null # Alleen cookies van derden blokkeren New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 1 -Force | Out-Null # Alle cookies toestaan (standaard) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'Cookies' -PropertyType DWord -Value 2 -Force | Out-Null