Consenti le restrizioni di download: valore del Registro di sistema DownloadRestrictions (Edge)ComputerHKLM\Software\Policies\Microsoft\Edge
- ID criterio
- DownloadRestrictions
- Ambito
- Configurazione computer, Configurazione utente
- Supportato in
- Microsoft Edge versione 77, Windows 7 o versione successiva
- Origine
- Microsoft Edge Policy Templates (versione 155.0.4283.45)
- Categoria
- Microsoft Edge
Registro
DownloadRestrictions
REG_DWORDComputerUtente…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Chiave corrente
HKCU\Software\Policies\Microsoft\Edge
HKCU\Software\Policies\Microsoft\Edge
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Restrizioni di download
| Voce | Valore memorizzato |
|---|---|
| Nessuna restrizione speciale | 0 |
| Blocca download dannosi e tipi di file pericolosi | 1 |
| Blocca i download potenzialmente pericolosi o indesiderati e i tipi di file pericolosi | 2 |
| Blocca tutti i download | 3 |
| Blocca download dannosi | 4 |
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; Opzioni (usarne solo una) ; Nessuna restrizione speciale "DownloadRestrictions"=dword:00000000 ; Blocca download dannosi e tipi di file pericolosi "DownloadRestrictions"=dword:00000001 ; Blocca i download potenzialmente pericolosi o indesiderati e i tipi di file pericolosi "DownloadRestrictions"=dword:00000002 ; Blocca tutti i download "DownloadRestrictions"=dword:00000003 ; Blocca download dannosi "DownloadRestrictions"=dword:00000004
CMD
:: Opzioni (usarne solo una) :: Nessuna restrizione speciale reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f :: Blocca download dannosi e tipi di file pericolosi reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DownloadRestrictions" /t REG_DWORD /d 1 /f :: Blocca i download potenzialmente pericolosi o indesiderati e i tipi di file pericolosi reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f :: Blocca tutti i download reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f :: Blocca download dannosi reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Opzioni (usarne solo una) # Nessuna restrizione speciale New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null # Blocca download dannosi e tipi di file pericolosi New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DownloadRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null # Blocca i download potenzialmente pericolosi o indesiderati e i tipi di file pericolosi New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null # Blocca tutti i download New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null # Blocca download dannosi New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; Opzioni (usarne solo una) ; Nessuna restrizione speciale "DownloadRestrictions"=dword:00000000 ; Blocca download dannosi e tipi di file pericolosi "DownloadRestrictions"=dword:00000001 ; Blocca i download potenzialmente pericolosi o indesiderati e i tipi di file pericolosi "DownloadRestrictions"=dword:00000002 ; Blocca tutti i download "DownloadRestrictions"=dword:00000003 ; Blocca download dannosi "DownloadRestrictions"=dword:00000004
CMD
:: Opzioni (usarne solo una) :: Nessuna restrizione speciale reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f :: Blocca download dannosi e tipi di file pericolosi reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DownloadRestrictions" /t REG_DWORD /d 1 /f :: Blocca i download potenzialmente pericolosi o indesiderati e i tipi di file pericolosi reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f :: Blocca tutti i download reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f :: Blocca download dannosi reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Opzioni (usarne solo una) # Nessuna restrizione speciale New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null # Blocca download dannosi e tipi di file pericolosi New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DownloadRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null # Blocca i download potenzialmente pericolosi o indesiderati e i tipi di file pericolosi New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null # Blocca tutti i download New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null # Blocca download dannosi New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null