Abilita le zone consentite per i pacchetti MSIX: valore del Registro di sistema EnableMsixAllowedZones (Appx)ComputerHKLM\Software\Policies\Microsoft\Windows\Appx

ID criterio
EnableMsixAllowedZones
Ambito
Configurazione computer
Supportato in
Almeno Windows 11 versione 24H2
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Componenti di Windows › Distribuzione di pacchetti di applicazioni

Registro

EnableMsixAllowedZones

-Computer

LocalMachine

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Computer locale
Opzioni
VoceValore memorizzato
Blocca0
Consenti1
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Blocca
"LocalMachine"=dword:00000000
; Consenti
"LocalMachine"=dword:00000001
CMD
:: Opzioni (usarne solo una)

:: Blocca
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "LocalMachine" /t REG_DWORD /d 0 /f
:: Consenti
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "LocalMachine" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opzioni (usarne solo una)
# Blocca
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'LocalMachine' -PropertyType DWord -Value 0 -Force | Out-Null
# Consenti
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'LocalMachine' -PropertyType DWord -Value 1 -Force | Out-Null

Intranet

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Intranet
Opzioni
VoceValore memorizzato
Blocca0
Consenti1
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Blocca
"Intranet"=dword:00000000
; Consenti
"Intranet"=dword:00000001
CMD
:: Opzioni (usarne solo una)

:: Blocca
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Intranet" /t REG_DWORD /d 0 /f
:: Consenti
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Intranet" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opzioni (usarne solo una)
# Blocca
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Intranet' -PropertyType DWord -Value 0 -Force | Out-Null
# Consenti
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Intranet' -PropertyType DWord -Value 1 -Force | Out-Null

TrustedSites

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Siti attendibili
Opzioni
VoceValore memorizzato
Blocca0
Consenti1
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Blocca
"TrustedSites"=dword:00000000
; Consenti
"TrustedSites"=dword:00000001
CMD
:: Opzioni (usarne solo una)

:: Blocca
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "TrustedSites" /t REG_DWORD /d 0 /f
:: Consenti
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "TrustedSites" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opzioni (usarne solo una)
# Blocca
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'TrustedSites' -PropertyType DWord -Value 0 -Force | Out-Null
# Consenti
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'TrustedSites' -PropertyType DWord -Value 1 -Force | Out-Null

Internet

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Internet
Opzioni
VoceValore memorizzato
Blocca0
Consenti1
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Blocca
"Internet"=dword:00000000
; Consenti
"Internet"=dword:00000001
CMD
:: Opzioni (usarne solo una)

:: Blocca
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Internet" /t REG_DWORD /d 0 /f
:: Consenti
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Internet" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opzioni (usarne solo una)
# Blocca
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Internet' -PropertyType DWord -Value 0 -Force | Out-Null
# Consenti
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Internet' -PropertyType DWord -Value 1 -Force | Out-Null

UntrustedSites

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Siti non attendibili
Opzioni
VoceValore memorizzato
Blocca0
Consenti1
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Blocca
"UntrustedSites"=dword:00000000
; Consenti
"UntrustedSites"=dword:00000001
CMD
:: Opzioni (usarne solo una)

:: Blocca
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "UntrustedSites" /t REG_DWORD /d 0 /f
:: Consenti
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "UntrustedSites" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opzioni (usarne solo una)
# Blocca
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'UntrustedSites' -PropertyType DWord -Value 0 -Force | Out-Null
# Consenti
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'UntrustedSites' -PropertyType DWord -Value 1 -Force | Out-Null