Apagado: borrar el archivo de paginación de la memoria virtual: valor del Registro ClearPageFileAtShutdownEquipoHKLM\System\CurrentControlSet\Control\Session Manager\Memory Management
- 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
ClearPageFileAtShutdown
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\Memory Management] ; Opciones (usar solo una) ; Habilitada "ClearPageFileAtShutdown"=dword:00000001 ; Deshabilitada "ClearPageFileAtShutdown"=dword:00000000
CMD
:: Opciones (usar solo una) :: Habilitada reg add "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management" /v "ClearPageFileAtShutdown" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management" /v "ClearPageFileAtShutdown" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Session Manager\Memory Management' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Session Manager\Memory Management' -Name 'ClearPageFileAtShutdown' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Session Manager\Memory Management' -Name 'ClearPageFileAtShutdown' -PropertyType DWord -Value 0 -Force | Out-Null