Habilitar Zonas Permitidas para Pacotes MSIX: valor do Registro LocalMachine e mais 4 (MsixAllowedZones)ComputadorHKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones

ID da política
EnableMsixAllowedZones
Escopo
Configuração do Computador
Compatível com
Pelo menos Windows 11 Versão 24H2
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › Implantação do Pacote de Aplicativos

Registro

EnableMsixAllowedZones

-Computador

LocalMachine

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Computador Local
Opções
ItemValor armazenado
Bloquear0
Permitir1
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones]

; Opções (use apenas uma)
; Bloquear
"LocalMachine"=dword:00000000
; Permitir
"LocalMachine"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Bloquear
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "LocalMachine" /t REG_DWORD /d 0 /f
:: Permitir
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "LocalMachine" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opções (use apenas uma)
# Bloquear
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'LocalMachine' -PropertyType DWord -Value 0 -Force | Out-Null
# Permitir
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'LocalMachine' -PropertyType DWord -Value 1 -Force | Out-Null

Intranet

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Intranet
Opções
ItemValor armazenado
Bloquear0
Permitir1
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones]

; Opções (use apenas uma)
; Bloquear
"Intranet"=dword:00000000
; Permitir
"Intranet"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Bloquear
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Intranet" /t REG_DWORD /d 0 /f
:: Permitir
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Intranet" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opções (use apenas uma)
# Bloquear
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Intranet' -PropertyType DWord -Value 0 -Force | Out-Null
# Permitir
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Intranet' -PropertyType DWord -Value 1 -Force | Out-Null

TrustedSites

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Sites Confiáveis
Opções
ItemValor armazenado
Bloquear0
Permitir1
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones]

; Opções (use apenas uma)
; Bloquear
"TrustedSites"=dword:00000000
; Permitir
"TrustedSites"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Bloquear
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "TrustedSites" /t REG_DWORD /d 0 /f
:: Permitir
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "TrustedSites" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opções (use apenas uma)
# Bloquear
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'TrustedSites' -PropertyType DWord -Value 0 -Force | Out-Null
# Permitir
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'TrustedSites' -PropertyType DWord -Value 1 -Force | Out-Null

Internet

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Internet
Opções
ItemValor armazenado
Bloquear0
Permitir1
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones]

; Opções (use apenas uma)
; Bloquear
"Internet"=dword:00000000
; Permitir
"Internet"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Bloquear
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Internet" /t REG_DWORD /d 0 /f
:: Permitir
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Internet" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opções (use apenas uma)
# Bloquear
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Internet' -PropertyType DWord -Value 0 -Force | Out-Null
# Permitir
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Internet' -PropertyType DWord -Value 1 -Force | Out-Null

UntrustedSites

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Sites Não Confiáveis
Opções
ItemValor armazenado
Bloquear0
Permitir1
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones]

; Opções (use apenas uma)
; Bloquear
"UntrustedSites"=dword:00000000
; Permitir
"UntrustedSites"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Bloquear
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "UntrustedSites" /t REG_DWORD /d 0 /f
:: Permitir
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "UntrustedSites" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opções (use apenas uma)
# Bloquear
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'UntrustedSites' -PropertyType DWord -Value 0 -Force | Out-Null
# Permitir
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'UntrustedSites' -PropertyType DWord -Value 1 -Force | Out-Null