Downloadbeperkingen toestaan: registerwaarde DownloadRestrictions (Edge\Recommended)ComputerHKLM\Software\Policies\Microsoft\Edge\Recommended

Beleids-ID
DownloadRestrictions_recommended
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
Microsoft Edge versie 77, Windows 7 of hoger
Bron
Microsoft Edge Policy Templates (versie 155.0.4283.45)
Categorie
Microsoft Edge - Standaardinstellingen (gebruikers kunnen deze overschrijven)

Register

DownloadRestrictions

REG_DWORDComputerGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Downloadbeperkingen
Opties
ItemOpgeslagen waarde
Geen speciale beperkingen0
Schadelijke downloads en gevaarlijke bestandstypen blokkeren1
Mogelijk gevaarlijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren2
Alle downloads blokkeren3
Schadelijke downloads blokkeren4
Toepassen met .reg · CMD · PowerShell
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Geen speciale beperkingen
"DownloadRestrictions"=dword:00000000
; Schadelijke downloads en gevaarlijke bestandstypen blokkeren
"DownloadRestrictions"=dword:00000001
; Mogelijk gevaarlijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren
"DownloadRestrictions"=dword:00000002
; Alle downloads blokkeren
"DownloadRestrictions"=dword:00000003
; Schadelijke downloads blokkeren
"DownloadRestrictions"=dword:00000004
CMD
:: Opties (gebruik er maar één)

:: Geen speciale beperkingen
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f
:: Schadelijke downloads en gevaarlijke bestandstypen blokkeren
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 1 /f
:: Mogelijk gevaarlijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f
:: Alle downloads blokkeren
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f
:: Schadelijke downloads blokkeren
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Force | Out-Null

# Opties (gebruik er maar één)
# Geen speciale beperkingen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null
# Schadelijke downloads en gevaarlijke bestandstypen blokkeren
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null
# Mogelijk gevaarlijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null
# Alle downloads blokkeren
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null
# Schadelijke downloads blokkeren
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Geen speciale beperkingen
"DownloadRestrictions"=dword:00000000
; Schadelijke downloads en gevaarlijke bestandstypen blokkeren
"DownloadRestrictions"=dword:00000001
; Mogelijk gevaarlijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren
"DownloadRestrictions"=dword:00000002
; Alle downloads blokkeren
"DownloadRestrictions"=dword:00000003
; Schadelijke downloads blokkeren
"DownloadRestrictions"=dword:00000004
CMD
:: Opties (gebruik er maar één)

:: Geen speciale beperkingen
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 0 /f
:: Schadelijke downloads en gevaarlijke bestandstypen blokkeren
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 1 /f
:: Mogelijk gevaarlijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 2 /f
:: Alle downloads blokkeren
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 3 /f
:: Schadelijke downloads blokkeren
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "DownloadRestrictions" /t REG_DWORD /d 4 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Force | Out-Null

# Opties (gebruik er maar één)
# Geen speciale beperkingen
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null
# Schadelijke downloads en gevaarlijke bestandstypen blokkeren
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null
# Mogelijk gevaarlijke of ongewenste downloads en gevaarlijke bestandstypen blokkeren
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 2 -Force | Out-Null
# Alle downloads blokkeren
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 3 -Force | Out-Null
# Schadelijke downloads blokkeren
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'DownloadRestrictions' -PropertyType DWord -Value 4 -Force | Out-Null