Configuración de anuncios de sitios web con anuncios invasivos: valor del Registro AdsSettingForIntrusiveAdsSitesEquipoHKLM\Software\Policies\Google\Chrome

Id. de directiva
AdsSettingForIntrusiveAdsSites
Ámbito
Configuración del equipo, configuración de usuario
Compatible con
Microsoft Windows 7 o versiones posteriores
Origen
Google Chrome Policy Templates (versión 156.0.8078.80)
Categoría
Google › Google Chrome

Registro

AdsSettingForIntrusiveAdsSites

REG_DWORDEquipoUsuario
…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Clave actual
HKCU\Software\Policies\Google\Chrome
Valor al habilitar
Depende del valor de la opción
Elemento
Configuración de anuncios de sitios web con anuncios invasivos
Opciones
Elemento de listaValor almacenado
Permitir anuncios en todos los sitios web1
No permitir anuncios en sitios web con anuncios invasivos2
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opciones (usar solo una)
; Permitir anuncios en todos los sitios web
"AdsSettingForIntrusiveAdsSites"=dword:00000001
; No permitir anuncios en sitios web con anuncios invasivos
"AdsSettingForIntrusiveAdsSites"=dword:00000002
CMD
:: Opciones (usar solo una)

:: Permitir anuncios en todos los sitios web
reg add "HKLM\Software\Policies\Google\Chrome" /v "AdsSettingForIntrusiveAdsSites" /t REG_DWORD /d 1 /f
:: No permitir anuncios en sitios web con anuncios invasivos
reg add "HKLM\Software\Policies\Google\Chrome" /v "AdsSettingForIntrusiveAdsSites" /t REG_DWORD /d 2 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opciones (usar solo una)
# Permitir anuncios en todos los sitios web
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'AdsSettingForIntrusiveAdsSites' -PropertyType DWord -Value 1 -Force | Out-Null
# No permitir anuncios en sitios web con anuncios invasivos
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'AdsSettingForIntrusiveAdsSites' -PropertyType DWord -Value 2 -Force | Out-Null
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opciones (usar solo una)
; Permitir anuncios en todos los sitios web
"AdsSettingForIntrusiveAdsSites"=dword:00000001
; No permitir anuncios en sitios web con anuncios invasivos
"AdsSettingForIntrusiveAdsSites"=dword:00000002
CMD
:: Opciones (usar solo una)

:: Permitir anuncios en todos los sitios web
reg add "HKCU\Software\Policies\Google\Chrome" /v "AdsSettingForIntrusiveAdsSites" /t REG_DWORD /d 1 /f
:: No permitir anuncios en sitios web con anuncios invasivos
reg add "HKCU\Software\Policies\Google\Chrome" /v "AdsSettingForIntrusiveAdsSites" /t REG_DWORD /d 2 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opciones (usar solo una)
# Permitir anuncios en todos los sitios web
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'AdsSettingForIntrusiveAdsSites' -PropertyType DWord -Value 1 -Force | Out-Null
# No permitir anuncios en sitios web con anuncios invasivos
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'AdsSettingForIntrusiveAdsSites' -PropertyType DWord -Value 2 -Force | Out-Null