Abilita le zone consentite per i pacchetti MSIX: valore del Registro di sistema LocalMachine e altri 4 (MsixAllowedZones)ComputerHKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones
- 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
-ComputerLocalMachine
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Computer locale
| Voce | Valore memorizzato |
|---|---|
| Blocca | 0 |
| Consenti | 1 |
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_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Intranet
| Voce | Valore memorizzato |
|---|---|
| Blocca | 0 |
| Consenti | 1 |
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_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Siti attendibili
| Voce | Valore memorizzato |
|---|---|
| Blocca | 0 |
| Consenti | 1 |
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_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Internet
| Voce | Valore memorizzato |
|---|---|
| Blocca | 0 |
| Consenti | 1 |
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_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Siti non attendibili
| Voce | Valore memorizzato |
|---|---|
| Blocca | 0 |
| Consenti | 1 |
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