Sincronizar todos los archivos sin conexión antes de cerrar la sesión: valor del Registro SyncAtLogoff (HKCU NetCache)UsuarioHKCU\Software\Policies\Microsoft\Windows\NetCache
- Id. de directiva
- Pol_SyncAtLogoff_1
- Ámbito
- Configuración de usuario
- Compatible con
- Solo Windows Server 2003, Windows XP y Windows 2000
- Origen
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
- Categoría
- Red › Archivos sin conexión
Registro
SyncAtLogoff
REG_DWORDUsuarioHKCU\Software\Policies\Microsoft\Windows\NetCache Clave actual
- Valor al habilitar
- 1
- Valor al deshabilitar
- 0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\NetCache] ; Opciones (usar solo una) ; Habilitada "SyncAtLogoff"=dword:00000001 ; Deshabilitada "SyncAtLogoff"=dword:00000000
CMD
:: Opciones (usar solo una) :: Habilitada reg add "HKCU\Software\Policies\Microsoft\Windows\NetCache" /v "SyncAtLogoff" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKCU\Software\Policies\Microsoft\Windows\NetCache" /v "SyncAtLogoff" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Name 'SyncAtLogoff' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Name 'SyncAtLogoff' -PropertyType DWord -Value 0 -Force | Out-Null