Het starten van bureaublad-apps die zijn gerelateerd aan een URI-schema blokkeren.: registerwaarde BlockProtocolElevationGebruikerHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations

Beleids-ID
AppxRuntimeBlockProtocolElevation
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2012, Windows 8 of Windows RT
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › App-runtime

Register

BlockProtocolElevation

REG_DWORDGebruikerComputer
Waarde bij ingeschakeld
1
Waarde bij uitgeschakeld
0
Toepassen met .reg · CMD · PowerShell
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]

; Opties (gebruik er maar één)
; Ingeschakeld
"BlockProtocolElevation"=dword:00000001
; Uitgeschakeld
"BlockProtocolElevation"=dword:00000000
CMD
:: Opties (gebruik er maar één)

:: Ingeschakeld
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations" /v "BlockProtocolElevation" /t REG_DWORD /d 1 /f
:: Uitgeschakeld
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations" /v "BlockProtocolElevation" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Associations' -Force | Out-Null

# Opties (gebruik er maar één)
# Ingeschakeld
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Associations' -Name 'BlockProtocolElevation' -PropertyType DWord -Value 1 -Force | Out-Null
# Uitgeschakeld
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Associations' -Name 'BlockProtocolElevation' -PropertyType DWord -Value 0 -Force | Out-Null
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]

; Opties (gebruik er maar één)
; Ingeschakeld
"BlockProtocolElevation"=dword:00000001
; Uitgeschakeld
"BlockProtocolElevation"=dword:00000000
CMD
:: Opties (gebruik er maar één)

:: Ingeschakeld
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Associations" /v "BlockProtocolElevation" /t REG_DWORD /d 1 /f
:: Uitgeschakeld
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Associations" /v "BlockProtocolElevation" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Associations' -Force | Out-Null

# Opties (gebruik er maar één)
# Ingeschakeld
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Associations' -Name 'BlockProtocolElevation' -PropertyType DWord -Value 1 -Force | Out-Null
# Uitgeschakeld
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Associations' -Name 'BlockProtocolElevation' -PropertyType DWord -Value 0 -Force | Out-Null