Habilitar Instalador de Aplicativo Fontes Permitidas: valor do Registro EnableAllowedSources (AppInstaller)ComputadorHKLM\Software\Policies\Microsoft\Windows\AppInstaller
- ID da política
- EnableAllowedSources
- Escopo
- Configuração do Computador
- Compatível com
- No mínimo Windows Server 2016, Windows 10 Versão 1809
- Fonte
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
- Categoria
- Componentes do Windows › Instalador de Aplicativos de Área de Trabalho
Registro
EnableAllowedSources
REG_DWORDComputador- Valor habilitado
- 1
- Valor desabilitado
- 0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppInstaller] ; Opções (use apenas uma) ; Habilitada "EnableAllowedSources"=dword:00000001 ; Desabilitada "EnableAllowedSources"=dword:00000000
CMD
:: Opções (use apenas uma) :: Habilitada reg add "HKLM\Software\Policies\Microsoft\Windows\AppInstaller" /v "EnableAllowedSources" /t REG_DWORD /d 1 /f :: Desabilitada reg add "HKLM\Software\Policies\Microsoft\Windows\AppInstaller" /v "EnableAllowedSources" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller' -Force | Out-Null # Opções (use apenas uma) # Habilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller' -Name 'EnableAllowedSources' -PropertyType DWord -Value 1 -Force | Out-Null # Desabilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller' -Name 'EnableAllowedSources' -PropertyType DWord -Value 0 -Force | Out-Null
(valores da lista)
REG_SZComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- Fontes Permitidas:
- Tipo de valor
- REG_SZ
- Prefixo do nome do valor
- -
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppInstaller\AllowedSources] ; Adicione um valor por entrada da lista, aumentando o número "1"="<inserir valor>" "2"="<inserir valor>"
CMD
:: Adicione um valor por entrada da lista, aumentando o número reg add "HKLM\Software\Policies\Microsoft\Windows\AppInstaller\AllowedSources" /v "1" /t REG_SZ /d "<inserir valor>" /f reg add "HKLM\Software\Policies\Microsoft\Windows\AppInstaller\AllowedSources" /v "2" /t REG_SZ /d "<inserir valor>" /f
PowerShell
# Adicione um valor por entrada da lista, aumentando o número New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller\AllowedSources' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller\AllowedSources' -Name '1' -PropertyType String -Value '<inserir valor>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller\AllowedSources' -Name '2' -PropertyType String -Value '<inserir valor>' -Force | Out-Null