Objetos de sistema: reforzar los permisos predeterminados de los objetos internos del sistema (por ejemplo, vínculos simbólicos): valor del Registro ProtectionModeEquipoHKLM\System\CurrentControlSet\Control\Session Manager

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

ProtectionMode

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\Control\Session Manager]

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

:: Habilitada
reg add "HKLM\System\CurrentControlSet\Control\Session Manager" /v "ProtectionMode" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKLM\System\CurrentControlSet\Control\Session Manager" /v "ProtectionMode" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Session Manager' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Session Manager' -Name 'ProtectionMode' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Session Manager' -Name 'ProtectionMode' -PropertyType DWord -Value 0 -Force | Out-Null