Habilitar orígenes permitidos del instalador de aplicaciones: valor del Registro EnableAllowedSources (AppInstaller)EquipoHKLM\Software\Policies\Microsoft\Windows\AppInstaller

Id. de directiva
EnableAllowedSources
Ámbito
Configuración del equipo
Compatible con
Al menos Windows Server 2016, Windows 10 versión 1809
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Instalador de aplicaciones de escritorio

Registro

EnableAllowedSources

REG_DWORDEquipo
Valor al habilitar
1
Valor al deshabilitar
0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppInstaller]

; Opciones (usar solo una)
; Habilitada
"EnableAllowedSources"=dword:00000001
; Deshabilitada
"EnableAllowedSources"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\AppInstaller" /v "EnableAllowedSources" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\AppInstaller" /v "EnableAllowedSources" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller' -Name 'EnableAllowedSources' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller' -Name 'EnableAllowedSources' -PropertyType DWord -Value 0 -Force | Out-Null

(valores de lista)

REG_SZEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Orígenes permitidos:
Tipo de valor
REG_SZ
Prefijo del nombre de valor
-
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppInstaller\AllowedSources]

; Agregue un valor por cada entrada de la lista, aumentando el número
"1"="<introducir valor>"
"2"="<introducir valor>"
CMD
:: Agregue un valor por cada entrada de la lista, aumentando el número

reg add "HKLM\Software\Policies\Microsoft\Windows\AppInstaller\AllowedSources" /v "1" /t REG_SZ /d "<introducir valor>" /f
reg add "HKLM\Software\Policies\Microsoft\Windows\AppInstaller\AllowedSources" /v "2" /t REG_SZ /d "<introducir valor>" /f
PowerShell
# Agregue un valor por cada entrada de la lista, aumentando el 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 '<introducir valor>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller\AllowedSources' -Name '2' -PropertyType String -Value '<introducir valor>' -Force | Out-Null