Impostazione annunci per i siti con annunci invasivi: valore del Registro di sistema AdsSettingForIntrusiveAdsSitesUtenteHKCU\Software\Policies\Google\Chrome

ID criterio
AdsSettingForIntrusiveAdsSites
Ambito
Configurazione computer, Configurazione utente
Supportato in
Microsoft Windows 7 o versioni successive
Origine
Google Chrome Policy Templates (versione 156.0.8078.80)
Categoria
Google › Google Chrome

Registro

AdsSettingForIntrusiveAdsSites

REG_DWORDUtenteComputer
…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome Chiave corrente
HKLM\Software\Policies\Google\Chrome
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Impostazione annunci per i siti con annunci invasivi
Opzioni
VoceValore memorizzato
Consenti annunci su tutti i siti1
Non consentire gli annunci su siti con annunci invasivi2
Applica con .reg · CMD · PowerShell
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opzioni (usarne solo una)
; Consenti annunci su tutti i siti
"AdsSettingForIntrusiveAdsSites"=dword:00000001
; Non consentire gli annunci su siti con annunci invasivi
"AdsSettingForIntrusiveAdsSites"=dword:00000002
CMD
:: Opzioni (usarne solo una)

:: Consenti annunci su tutti i siti
reg add "HKCU\Software\Policies\Google\Chrome" /v "AdsSettingForIntrusiveAdsSites" /t REG_DWORD /d 1 /f
:: Non consentire gli annunci su siti con annunci invasivi
reg add "HKCU\Software\Policies\Google\Chrome" /v "AdsSettingForIntrusiveAdsSites" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opzioni (usarne solo una)
# Consenti annunci su tutti i siti
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'AdsSettingForIntrusiveAdsSites' -PropertyType DWord -Value 1 -Force | Out-Null
# Non consentire gli annunci su siti con annunci invasivi
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'AdsSettingForIntrusiveAdsSites' -PropertyType DWord -Value 2 -Force | Out-Null
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opzioni (usarne solo una)
; Consenti annunci su tutti i siti
"AdsSettingForIntrusiveAdsSites"=dword:00000001
; Non consentire gli annunci su siti con annunci invasivi
"AdsSettingForIntrusiveAdsSites"=dword:00000002
CMD
:: Opzioni (usarne solo una)

:: Consenti annunci su tutti i siti
reg add "HKLM\Software\Policies\Google\Chrome" /v "AdsSettingForIntrusiveAdsSites" /t REG_DWORD /d 1 /f
:: Non consentire gli annunci su siti con annunci invasivi
reg add "HKLM\Software\Policies\Google\Chrome" /v "AdsSettingForIntrusiveAdsSites" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opzioni (usarne solo una)
# Consenti annunci su tutti i siti
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'AdsSettingForIntrusiveAdsSites' -PropertyType DWord -Value 1 -Force | Out-Null
# Non consentire gli annunci su siti con annunci invasivi
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'AdsSettingForIntrusiveAdsSites' -PropertyType DWord -Value 2 -Force | Out-Null