Open in the explorer

Enable App Installer Allowed Zones for MSIX Packages

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Desktop App Installer
Supported on
At least Windows Server 2016, Windows 10 Version 1809
ADMX file
DesktopAppInstaller.admx
Internal name
DesktopAppInstaller/EnableMsixAllowedZones

Explanation

This policy controls whether App Installer allows installing packages originating from specific URL Zones. A package's origin is determined by its URI and whether a Mart-of-the-Web (MotW) is present. If multiple URIs are involved, all of them are considered; for example, when using a .appinstaller file that involves redirection.

If you enable this policy, users will be able to install MSIX packages according to the configuration for each zone.

If you disable or do not configure this policy, users will be able to install MSIX packages from any zone except for Untrusted.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppInstaller
Value name
EnableMsixAllowedZones
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: DesktopAppInstaller/EnableMsixAllowedZones
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableMsixAllowedZones' -Value 1 -Type DWord
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZones'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Local Machine
# Possible options:
#   Block = 0
#   Allow = 1
Set-ItemProperty -Path $k -Name 'LocalMachine' -Value 1 -Type DWord
# Intranet
# Possible options:
#   Block = 0
#   Allow = 1
Set-ItemProperty -Path $k -Name 'Intranet' -Value 1 -Type DWord
# Trusted Sites
# Possible options:
#   Block = 0
#   Allow = 1
Set-ItemProperty -Path $k -Name 'TrustedSites' -Value 1 -Type DWord
# Internet
# Possible options:
#   Block = 0
#   Allow = 1
Set-ItemProperty -Path $k -Name 'Internet' -Value 1 -Type DWord
# Untrusted Sites
# Possible options:
#   Block = 0
#   Allow = 1
Set-ItemProperty -Path $k -Name 'UntrustedSites' -Value 0 -Type DWord

Disable

# Disable: DesktopAppInstaller/EnableMsixAllowedZones
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableMsixAllowedZones' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": DesktopAppInstaller/EnableMsixAllowedZones
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller'
Remove-ItemProperty -Path $k -Name 'EnableMsixAllowedZones' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZones'
Remove-ItemProperty -Path $k -Name 'LocalMachine' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Intranet' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'TrustedSites' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Internet' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'UntrustedSites' -ErrorAction SilentlyContinue

Options (5)

LabelControlRegistry valueREG typeConstraints / details
Local MachineLocalMachineDrop-down listenumLocalMachinein Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZonesREG_DWORD
Default choice (UI): #1
LabelValue
BlockREG_DWORD = 0
AllowREG_DWORD = 1
IntranetIntranetDrop-down listenumIntranetin Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZonesREG_DWORD
Default choice (UI): #1
LabelValue
BlockREG_DWORD = 0
AllowREG_DWORD = 1
Trusted SitesTrustedSitesDrop-down listenumTrustedSitesin Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZonesREG_DWORD
Default choice (UI): #1
LabelValue
BlockREG_DWORD = 0
AllowREG_DWORD = 1
InternetInternetDrop-down listenumInternetin Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZonesREG_DWORD
Default choice (UI): #1
LabelValue
BlockREG_DWORD = 0
AllowREG_DWORD = 1
Untrusted SitesUntrustedSitesDrop-down listenumUntrustedSitesin Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZonesREG_DWORD
Default choice (UI): #0
LabelValue
BlockREG_DWORD = 0
AllowREG_DWORD = 1

Application

WinGet (App Installer) (Microsoft) — October 2026 templates

October 2026 templates from pl4nty/web-admx-tool.