Downloadbeperkingen toestaan: registerwaarde DownloadRestrictions (Chrome)ComputerHKLM\Software\Policies\Google\Chrome

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

Register

DownloadRestrictions

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
Downloadbeperkingen
Opties
ItemOpgeslagen waarde
Geen speciale beperkingen. Standaard.0
Schadelijke downloads en gevaarlijke bestandstypen blokkeren.1
Schadelijke downloads, ongebruikelijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren.2
Alle downloads blokkeren.3
Schadelijke downloads blokkeren. Aanbevolen.4
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)
; Geen speciale beperkingen. Standaard.
"DownloadRestrictions"=dword:00000000
; Schadelijke downloads en gevaarlijke bestandstypen blokkeren.
"DownloadRestrictions"=dword:00000001
; Schadelijke downloads, ongebruikelijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren.
"DownloadRestrictions"=dword:00000002
; Alle downloads blokkeren.
"DownloadRestrictions"=dword:00000003
; Schadelijke downloads blokkeren. Aanbevolen.
"DownloadRestrictions"=dword:00000004
CMD
:: Opties (gebruik er maar één)

:: Geen speciale beperkingen. Standaard.
reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f
:: Schadelijke downloads en gevaarlijke bestandstypen blokkeren.
reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 1 /f
:: Schadelijke downloads, ongebruikelijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren.
reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f
:: Alle downloads blokkeren.
reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f
:: Schadelijke downloads blokkeren. Aanbevolen.
reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opties (gebruik er maar één)
# Geen speciale beperkingen. Standaard.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null
# Schadelijke downloads en gevaarlijke bestandstypen blokkeren.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null
# Schadelijke downloads, ongebruikelijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null
# Alle downloads blokkeren.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null
# Schadelijke downloads blokkeren. Aanbevolen.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -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)
; Geen speciale beperkingen. Standaard.
"DownloadRestrictions"=dword:00000000
; Schadelijke downloads en gevaarlijke bestandstypen blokkeren.
"DownloadRestrictions"=dword:00000001
; Schadelijke downloads, ongebruikelijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren.
"DownloadRestrictions"=dword:00000002
; Alle downloads blokkeren.
"DownloadRestrictions"=dword:00000003
; Schadelijke downloads blokkeren. Aanbevolen.
"DownloadRestrictions"=dword:00000004
CMD
:: Opties (gebruik er maar één)

:: Geen speciale beperkingen. Standaard.
reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f
:: Schadelijke downloads en gevaarlijke bestandstypen blokkeren.
reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 1 /f
:: Schadelijke downloads, ongebruikelijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren.
reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f
:: Alle downloads blokkeren.
reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f
:: Schadelijke downloads blokkeren. Aanbevolen.
reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opties (gebruik er maar één)
# Geen speciale beperkingen. Standaard.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null
# Schadelijke downloads en gevaarlijke bestandstypen blokkeren.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null
# Schadelijke downloads, ongebruikelijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null
# Alle downloads blokkeren.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null
# Schadelijke downloads blokkeren. Aanbevolen.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null