Allow download restrictions: wartość rejestru DownloadRestrictions (Recommended)KomputerHKLM\Software\Policies\Google\Chrome\Recommended
Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)
- Identyfikator zasady
- DownloadRestrictions_recommended
- 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 - Default Settings (users can override)
Rejestr
DownloadRestrictions
REG_DWORDKomputerUżytkownik…\Software\Policies\Google\Chrome\RecommendedHKLM\Software\Policies\Google\Chrome\Recommended Bieżący klucz
HKCU\Software\Policies\Google\Chrome\Recommended
HKCU\Software\Policies\Google\Chrome\Recommended
- Wartość włączona
- Zależy od wartości opcji
- Element
- Download restrictions
| Pozycja | Zapisana 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
KomputerUstawienie dla całego komputera
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\Recommended] ; 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\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f :: Block malicious downloads and dangerous file types. reg add "HKLM\Software\Policies\Google\Chrome\Recommended" /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\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f :: Block all downloads. reg add "HKLM\Software\Policies\Google\Chrome\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f :: Block malicious downloads. Recommended. reg add "HKLM\Software\Policies\Google\Chrome\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Google\Chrome\Recommended' -Force | Out-Null # Opcje (użyj tylko jednej) # No special restrictions. Default. New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null # Block malicious downloads and dangerous file types. New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\Recommended' -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\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null # Block all downloads. New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null # Block malicious downloads. Recommended. New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null
UżytkownikUstawienie dla każdego konta
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome\Recommended] ; 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\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f :: Block malicious downloads and dangerous file types. reg add "HKCU\Software\Policies\Google\Chrome\Recommended" /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\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f :: Block all downloads. reg add "HKCU\Software\Policies\Google\Chrome\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f :: Block malicious downloads. Recommended. reg add "HKCU\Software\Policies\Google\Chrome\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKCU:\Software\Policies\Google\Chrome\Recommended' -Force | Out-Null # Opcje (użyj tylko jednej) # No special restrictions. Default. New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null # Block malicious downloads and dangerous file types. New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\Recommended' -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\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null # Block all downloads. New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null # Block malicious downloads. Recommended. New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null