Permitir la administración de servidores remotos a través de WinRM: valor del Registro AllowAutoConfig y 2 másEquipoHKLM\Software\Policies\Microsoft\Windows\WinRM\Service

Id. de directiva
AllowAutoConfig
Ámbito
Configuración del equipo
Compatible con
Al menos Windows Vista
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Administración remota de Windows (WinRM) › Servicio WinRM

Registro

AllowAutoConfig

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\WinRM\Service]

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

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

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

IPv4Filter

REG_SZEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Filtro IPv4:
Tipo de valor
REG_SZ
Longitud máxima
1024
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WinRM\Service]

; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos
"IPv4Filter"="<introducir valor>"
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "IPv4Filter" /t REG_SZ /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'IPv4Filter' -PropertyType String -Value '<introducir valor>' -Force | Out-Null

IPv6Filter

REG_SZEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Filtro IPv6:
Tipo de valor
REG_SZ
Longitud máxima
1024
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WinRM\Service]

; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos
"IPv6Filter"="<introducir valor>"
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "IPv6Filter" /t REG_SZ /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'IPv6Filter' -PropertyType String -Value '<introducir valor>' -Force | Out-Null