Enable App Installer Allowed Zones for MSIX Packages
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert 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 SilentlyContinueOptions (5)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Local MachineLocalMachine | Drop-down listenum | LocalMachinein Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZones | REG_DWORD | Default choice (UI): #1
| ||||||
| IntranetIntranet | Drop-down listenum | Intranetin Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZones | REG_DWORD | Default choice (UI): #1
| ||||||
| Trusted SitesTrustedSites | Drop-down listenum | TrustedSitesin Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZones | REG_DWORD | Default choice (UI): #1
| ||||||
| InternetInternet | Drop-down listenum | Internetin Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZones | REG_DWORD | Default choice (UI): #1
| ||||||
| Untrusted SitesUntrustedSites | Drop-down listenum | UntrustedSitesin Software\Policies\Microsoft\Windows\AppInstaller\MsixAllowedZones | REG_DWORD | Default choice (UI): #0
|
Application
WinGet (App Installer) (Microsoft) — October 2026 templates
October 2026 templates from pl4nty/web-admx-tool.