Consenti limitazioni dei download: valore del Registro di sistema DownloadRestrictions (Chrome)ComputerHKLM\Software\Policies\Google\Chrome
- ID criterio
- DownloadRestrictions
- 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
DownloadRestrictions
REG_DWORDComputerUtente…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Chiave corrente
HKCU\Software\Policies\Google\Chrome
HKCU\Software\Policies\Google\Chrome
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Limitazioni dei download
| Voce | Valore memorizzato |
|---|---|
| Nessuna limitazione speciale (opzione predefinita). | 0 |
| Blocca download dannosi e tipi di file pericolosi. | 1 |
| Blocca download dannosi, download insoliti o indesiderati e tipi di file pericolosi. | 2 |
| Blocca tutti i download. | 3 |
| Blocca download dannosi (opzione consigliata). | 4 |
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome] ; Opzioni (usarne solo una) ; Nessuna limitazione speciale (opzione predefinita). "DownloadRestrictions"=dword:00000000 ; Blocca download dannosi e tipi di file pericolosi. "DownloadRestrictions"=dword:00000001 ; Blocca download dannosi, download insoliti o indesiderati e tipi di file pericolosi. "DownloadRestrictions"=dword:00000002 ; Blocca tutti i download. "DownloadRestrictions"=dword:00000003 ; Blocca download dannosi (opzione consigliata). "DownloadRestrictions"=dword:00000004
CMD
:: Opzioni (usarne solo una) :: Nessuna limitazione speciale (opzione predefinita). reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f :: Blocca download dannosi e tipi di file pericolosi. reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 1 /f :: Blocca download dannosi, download insoliti o indesiderati e tipi di file pericolosi. reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f :: Blocca tutti i download. reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f :: Blocca download dannosi (opzione consigliata). reg add "HKLM\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # Opzioni (usarne solo una) # Nessuna limitazione speciale (opzione predefinita). New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null # Blocca download dannosi e tipi di file pericolosi. New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null # Blocca download dannosi, download insoliti o indesiderati e tipi di file pericolosi. New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null # Blocca tutti i download. New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null # Blocca download dannosi (opzione consigliata). New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome] ; Opzioni (usarne solo una) ; Nessuna limitazione speciale (opzione predefinita). "DownloadRestrictions"=dword:00000000 ; Blocca download dannosi e tipi di file pericolosi. "DownloadRestrictions"=dword:00000001 ; Blocca download dannosi, download insoliti o indesiderati e tipi di file pericolosi. "DownloadRestrictions"=dword:00000002 ; Blocca tutti i download. "DownloadRestrictions"=dword:00000003 ; Blocca download dannosi (opzione consigliata). "DownloadRestrictions"=dword:00000004
CMD
:: Opzioni (usarne solo una) :: Nessuna limitazione speciale (opzione predefinita). reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f :: Blocca download dannosi e tipi di file pericolosi. reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 1 /f :: Blocca download dannosi, download insoliti o indesiderati e tipi di file pericolosi. reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f :: Blocca tutti i download. reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f :: Blocca download dannosi (opzione consigliata). reg add "HKCU\Software\Policies\Google\Chrome" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # Opzioni (usarne solo una) # Nessuna limitazione speciale (opzione predefinita). New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null # Blocca download dannosi e tipi di file pericolosi. New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null # Blocca download dannosi, download insoliti o indesiderati e tipi di file pericolosi. New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null # Blocca tutti i download. New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null # Blocca download dannosi (opzione consigliata). New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null