Controlador de dominio: no permitir los cambios de contraseña de cuenta de equipo: valor del Registro RefusePasswordChangeEquipoHKLM\System\CurrentControlSet\Services\Netlogon\Parameters
- Categoría
- Configuración de seguridad › Directivas locales › Opciones de seguridad
- Ámbito
- Configuración del equipo
- Origen
- Windows 11 (versión 26H2 · 26300.9457)
Registro
RefusePasswordChange
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\System\CurrentControlSet\Services\Netlogon\Parameters] ; Opciones (usar solo una) ; Habilitada "RefusePasswordChange"=dword:00000001 ; Deshabilitada "RefusePasswordChange"=dword:00000000
CMD
:: Opciones (usar solo una) :: Habilitada reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RefusePasswordChange" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RefusePasswordChange" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RefusePasswordChange' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RefusePasswordChange' -PropertyType DWord -Value 0 -Force | Out-Null