Policy
Block launching Universal Windows apps with Windows Runtime API access from hosted content.
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, WindowsServer2016
This policy setting controls whether Universal Windows apps with Windows Runtime API access directly from web content can be launched. If you enable this policy setting, Universal Windows apps which declare Windows Runtime API access in ApplicationContentUriRules section of the manifest cannot be launched; Universal Windows apps which have not declared Windows Runtime API access in the manifest are not affected. If you disable or do not configure this policy setting, all Universal Windows apps can be launched. This policy should not be enabled unless recommended by Microsoft as a security response because it can cause severe app compatibility issues.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\BlockHostedAppAccessWinRT | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAllow Microsoft accounts to be optionalAt least Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1
- UserBlock launching desktop apps associated with a file.At least Windows Server 2012, Windows 8 or Windows RT
- ComputerBlock launching desktop apps associated with a file.At least Windows Server 2012, Windows 8 or Windows RT
- UserBlock launching desktop apps associated with a URI schemeAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerBlock launching desktop apps associated with a URI schemeAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerTurn on dynamic Content URI Rules for packaged Microsoft Store appsAt least Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1