Consenti le restrizioni di download: valore del Registro di sistema DownloadRestrictions (Recommended)ComputerHKLM\Software\Policies\Microsoft\Edge\Recommended

ID criterio
DownloadRestrictions_recommended
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 - Impostazioni predefinite (sostituibili dagli utenti)

Registro

DownloadRestrictions

REG_DWORDComputerUtente
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Restrizioni di download
Opzioni
VoceValore memorizzato
Nessuna restrizione speciale0
Blocca download dannosi e tipi di file pericolosi1
Blocca i download potenzialmente pericolosi o indesiderati e i tipi di file pericolosi2
Blocca tutti i download3
Blocca download dannosi4
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\Recommended]

; 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\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f
:: Blocca download dannosi e tipi di file pericolosi
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /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\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f
:: Blocca tutti i download
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f
:: Blocca download dannosi
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Force | Out-Null

# Opzioni (usarne solo una)
# Nessuna restrizione speciale
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -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\Recommended' -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\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null
# Blocca tutti i download
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null
# Blocca download dannosi
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -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\Recommended]

; 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\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f
:: Blocca download dannosi e tipi di file pericolosi
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /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\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f
:: Blocca tutti i download
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f
:: Blocca download dannosi
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Force | Out-Null

# Opzioni (usarne solo una)
# Nessuna restrizione speciale
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -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\Recommended' -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\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null
# Blocca tutti i download
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null
# Blocca download dannosi
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null