Hiermee bepaalt u of unload gebeurtenis-handlers kunnen worden uitgeschakeld.: registerwaarde ForcePermissionPolicyUnloadDefaultEnabled (WebView2)GebruikerHKCU\Software\Policies\Microsoft\Edge\WebView2
- Beleids-ID
- ForcePermissionPolicyUnloadDefaultEnabled
- Bereik
- Computerconfiguratie, Gebruikersconfiguratie
- Ondersteund op
- Microsoft Edge versie 118, Windows 7 of hoger
- Bron
- Microsoft Edge Policy Templates (versie 155.0.4283.45)
- Categorie
- Microsoft Edge WebView2
Register
ForcePermissionPolicyUnloadDefaultEnabled
REG_DWORDGebruikerComputer…\Software\Policies\Microsoft\Edge\WebView2HKCU\Software\Policies\Microsoft\Edge\WebView2 Huidige sleutel
HKLM\Software\Policies\Microsoft\Edge\WebView2
HKLM\Software\Policies\Microsoft\Edge\WebView2
- 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\Policies\Microsoft\Edge\WebView2] ; Opties (gebruik er maar één) ; Ingeschakeld "ForcePermissionPolicyUnloadDefaultEnabled"=dword:00000001 ; Uitgeschakeld "ForcePermissionPolicyUnloadDefaultEnabled"=dword:00000000
CMD
:: Opties (gebruik er maar één) :: Ingeschakeld reg add "HKCU\Software\Policies\Microsoft\Edge\WebView2" /v "ForcePermissionPolicyUnloadDefaultEnabled" /t REG_DWORD /d 1 /f :: Uitgeschakeld reg add "HKCU\Software\Policies\Microsoft\Edge\WebView2" /v "ForcePermissionPolicyUnloadDefaultEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2' -Force | Out-Null # Opties (gebruik er maar één) # Ingeschakeld New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2' -Name 'ForcePermissionPolicyUnloadDefaultEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Uitgeschakeld New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2' -Name 'ForcePermissionPolicyUnloadDefaultEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\WebView2] ; Opties (gebruik er maar één) ; Ingeschakeld "ForcePermissionPolicyUnloadDefaultEnabled"=dword:00000001 ; Uitgeschakeld "ForcePermissionPolicyUnloadDefaultEnabled"=dword:00000000
CMD
:: Opties (gebruik er maar één) :: Ingeschakeld reg add "HKLM\Software\Policies\Microsoft\Edge\WebView2" /v "ForcePermissionPolicyUnloadDefaultEnabled" /t REG_DWORD /d 1 /f :: Uitgeschakeld reg add "HKLM\Software\Policies\Microsoft\Edge\WebView2" /v "ForcePermissionPolicyUnloadDefaultEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2' -Force | Out-Null # Opties (gebruik er maar één) # Ingeschakeld New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2' -Name 'ForcePermissionPolicyUnloadDefaultEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Uitgeschakeld New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2' -Name 'ForcePermissionPolicyUnloadDefaultEnabled' -PropertyType DWord -Value 0 -Force | Out-Null