Włącz dozwolone strefy dla pakietów MSIX: wartość rejestru LocalMachine i 4 więcej (MsixAllowedZones)KomputerHKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones

Identyfikator zasady
EnableMsixAllowedZones
Zakres
Konfiguracja komputera
Obsługiwane w systemach
Co najmniej system Windows 11 w wersji 24H2
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
Składniki systemu Windows › Wdrażanie pakietów aplikacji

Rejestr

EnableMsixAllowedZones

-Komputer

LocalMachine

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Komputer lokalny
Opcje
PozycjaZapisana wartość
Zablokuj0
Zezwalaj1
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Zablokuj
"LocalMachine"=dword:00000000
; Zezwalaj
"LocalMachine"=dword:00000001
CMD
:: Opcje (użyj tylko jednej)

:: Zablokuj
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "LocalMachine" /t REG_DWORD /d 0 /f
:: Zezwalaj
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "LocalMachine" /t REG_DWORD /d 1 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Zablokuj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'LocalMachine' -PropertyType DWord -Value 0 -Force | Out-Null
# Zezwalaj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'LocalMachine' -PropertyType DWord -Value 1 -Force | Out-Null

Intranet

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Intranet
Opcje
PozycjaZapisana wartość
Zablokuj0
Zezwalaj1
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Zablokuj
"Intranet"=dword:00000000
; Zezwalaj
"Intranet"=dword:00000001
CMD
:: Opcje (użyj tylko jednej)

:: Zablokuj
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Intranet" /t REG_DWORD /d 0 /f
:: Zezwalaj
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Intranet" /t REG_DWORD /d 1 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Zablokuj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Intranet' -PropertyType DWord -Value 0 -Force | Out-Null
# Zezwalaj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Intranet' -PropertyType DWord -Value 1 -Force | Out-Null

TrustedSites

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Zaufane witryny
Opcje
PozycjaZapisana wartość
Zablokuj0
Zezwalaj1
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Zablokuj
"TrustedSites"=dword:00000000
; Zezwalaj
"TrustedSites"=dword:00000001
CMD
:: Opcje (użyj tylko jednej)

:: Zablokuj
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "TrustedSites" /t REG_DWORD /d 0 /f
:: Zezwalaj
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "TrustedSites" /t REG_DWORD /d 1 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Zablokuj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'TrustedSites' -PropertyType DWord -Value 0 -Force | Out-Null
# Zezwalaj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'TrustedSites' -PropertyType DWord -Value 1 -Force | Out-Null

Internet

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Internet
Opcje
PozycjaZapisana wartość
Zablokuj0
Zezwalaj1
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Zablokuj
"Internet"=dword:00000000
; Zezwalaj
"Internet"=dword:00000001
CMD
:: Opcje (użyj tylko jednej)

:: Zablokuj
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Internet" /t REG_DWORD /d 0 /f
:: Zezwalaj
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "Internet" /t REG_DWORD /d 1 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Zablokuj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Internet' -PropertyType DWord -Value 0 -Force | Out-Null
# Zezwalaj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'Internet' -PropertyType DWord -Value 1 -Force | Out-Null

UntrustedSites

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Niezaufane witryny
Opcje
PozycjaZapisana wartość
Zablokuj0
Zezwalaj1
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Zablokuj
"UntrustedSites"=dword:00000000
; Zezwalaj
"UntrustedSites"=dword:00000001
CMD
:: Opcje (użyj tylko jednej)

:: Zablokuj
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "UntrustedSites" /t REG_DWORD /d 0 /f
:: Zezwalaj
reg add "HKLM\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones" /v "UntrustedSites" /t REG_DWORD /d 1 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Zablokuj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'UntrustedSites' -PropertyType DWord -Value 0 -Force | Out-Null
# Zezwalaj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Appx\MsixAllowedZones' -Name 'UntrustedSites' -PropertyType DWord -Value 1 -Force | Out-Null