Standaardinstelling voor meldingen: registerwaarde DefaultNotificationsSetting (Chrome)ComputerHKLM\Software\Policies\Google\Chrome

Beleids-ID
DefaultNotificationsSetting
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
Microsoft Windows 7 of later
Bron
Google Chrome Policy Templates (versie 156.0.8078.80)
Categorie
Google › Google Chrome › Instellingen voor content

Register

DefaultNotificationsSetting

REG_DWORDComputerGebruiker
…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Huidige sleutel
HKCU\Software\Policies\Google\Chrome
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Standaardinstelling voor meldingen
Opties
ItemOpgeslagen waarde
Sites toestaan bureaubladmeldingen te tonen1
Niet toestaan dat sites bureaubladmeldingen tonen2
Altijd goedkeuring vragen wanneer een site bureaubladmeldingen wil tonen3
Toepassen met .reg · CMD · PowerShell
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opties (gebruik er maar één)
; Sites toestaan bureaubladmeldingen te tonen
"DefaultNotificationsSetting"=dword:00000001
; Niet toestaan dat sites bureaubladmeldingen tonen
"DefaultNotificationsSetting"=dword:00000002
; Altijd goedkeuring vragen wanneer een site bureaubladmeldingen wil tonen
"DefaultNotificationsSetting"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Sites toestaan bureaubladmeldingen te tonen
reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultNotificationsSetting" /t REG_DWORD /d 1 /f
:: Niet toestaan dat sites bureaubladmeldingen tonen
reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultNotificationsSetting" /t REG_DWORD /d 2 /f
:: Altijd goedkeuring vragen wanneer een site bureaubladmeldingen wil tonen
reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultNotificationsSetting" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opties (gebruik er maar één)
# Sites toestaan bureaubladmeldingen te tonen
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultNotificationsSetting' -PropertyType DWord -Value 1 -Force | Out-Null
# Niet toestaan dat sites bureaubladmeldingen tonen
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultNotificationsSetting' -PropertyType DWord -Value 2 -Force | Out-Null
# Altijd goedkeuring vragen wanneer een site bureaubladmeldingen wil tonen
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultNotificationsSetting' -PropertyType DWord -Value 3 -Force | Out-Null
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opties (gebruik er maar één)
; Sites toestaan bureaubladmeldingen te tonen
"DefaultNotificationsSetting"=dword:00000001
; Niet toestaan dat sites bureaubladmeldingen tonen
"DefaultNotificationsSetting"=dword:00000002
; Altijd goedkeuring vragen wanneer een site bureaubladmeldingen wil tonen
"DefaultNotificationsSetting"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Sites toestaan bureaubladmeldingen te tonen
reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultNotificationsSetting" /t REG_DWORD /d 1 /f
:: Niet toestaan dat sites bureaubladmeldingen tonen
reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultNotificationsSetting" /t REG_DWORD /d 2 /f
:: Altijd goedkeuring vragen wanneer een site bureaubladmeldingen wil tonen
reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultNotificationsSetting" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opties (gebruik er maar één)
# Sites toestaan bureaubladmeldingen te tonen
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultNotificationsSetting' -PropertyType DWord -Value 1 -Force | Out-Null
# Niet toestaan dat sites bureaubladmeldingen tonen
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultNotificationsSetting' -PropertyType DWord -Value 2 -Force | Out-Null
# Altijd goedkeuring vragen wanneer een site bureaubladmeldingen wil tonen
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultNotificationsSetting' -PropertyType DWord -Value 3 -Force | Out-Null