Policy

Block launching Universal Windows apps with Windows Runtime API access from hosted content.

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.

Policy
Pack Microsoft Windows
Category Windows Components / App runtime
Policy ID aa88451bdae7
Internal name AppxRuntimeBlockHostedAppAccessWinRT

Registry

Copy registry mappings

HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\BlockHostedAppAccessWinRT (enabled) = 1
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\BlockHostedAppAccessWinRT (disabled) = 0

Policy notes

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.

Related policies