Allow download restrictions: wartość rejestru DownloadRestrictions (Chrome)UżytkownikHKCU\Software\Policies\Google\Chrome

Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)

Identyfikator zasady
DownloadRestrictions
Zakres
Konfiguracja komputera, Konfiguracja użytkownika
Obsługiwane w systemach
Microsoft Windows 7 or later
Źródło
Google Chrome Policy Templates (wersja 156.0.8078.80)
Kategoria
Google › Google Chrome

Rejestr

DownloadRestrictions

REG_DWORDUżytkownikKomputer
…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome Bieżący klucz
HKLM\Software\Policies\Google\Chrome
Wartość włączona
Zależy od wartości opcji
Element
Download restrictions
Opcje
PozycjaZapisana wartość
No special restrictions. Default.0
Block malicious downloads and dangerous file types.1
Block malicious downloads, uncommon or unwanted downloads and dangerous file types.2
Block all downloads.3
Block malicious downloads. Recommended.4
Zastosuj przez .reg · CMD · PowerShell
UżytkownikUstawienie dla każdego konta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opcje (użyj tylko jednej)
; No special restrictions. Default.
"DownloadRestrictions"=dword:00000000
; Block malicious downloads and dangerous file types.
"DownloadRestrictions"=dword:00000001
; Block malicious downloads, uncommon or unwanted downloads and dangerous file types.
"DownloadRestrictions"=dword:00000002
; Block all downloads.
"DownloadRestrictions"=dword:00000003
; Block malicious downloads. Recommended.
"DownloadRestrictions"=dword:00000004
CMD
:: Opcje (użyj tylko jednej)

:: No special restrictions. Default.
reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f
:: Block malicious downloads and dangerous file types.
reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 1 /f
:: Block malicious downloads, uncommon or unwanted downloads and dangerous file types.
reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f
:: Block all downloads.
reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f
:: Block malicious downloads. Recommended.
reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opcje (użyj tylko jednej)
# No special restrictions. Default.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null
# Block malicious downloads and dangerous file types.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null
# Block malicious downloads, uncommon or unwanted downloads and dangerous file types.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null
# Block all downloads.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null
# Block malicious downloads. Recommended.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null
KomputerUstawienie dla całego komputera
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opcje (użyj tylko jednej)
; No special restrictions. Default.
"DownloadRestrictions"=dword:00000000
; Block malicious downloads and dangerous file types.
"DownloadRestrictions"=dword:00000001
; Block malicious downloads, uncommon or unwanted downloads and dangerous file types.
"DownloadRestrictions"=dword:00000002
; Block all downloads.
"DownloadRestrictions"=dword:00000003
; Block malicious downloads. Recommended.
"DownloadRestrictions"=dword:00000004
CMD
:: Opcje (użyj tylko jednej)

:: No special restrictions. Default.
reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f
:: Block malicious downloads and dangerous file types.
reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 1 /f
:: Block malicious downloads, uncommon or unwanted downloads and dangerous file types.
reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f
:: Block all downloads.
reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f
:: Block malicious downloads. Recommended.
reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opcje (użyj tylko jednej)
# No special restrictions. Default.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null
# Block malicious downloads and dangerous file types.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null
# Block malicious downloads, uncommon or unwanted downloads and dangerous file types.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null
# Block all downloads.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null
# Block malicious downloads. Recommended.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null