Acción al desconectar el servidor: valor del Registro GoOfflineAction (HKLM NetCache)EquipoHKLM\Software\Policies\Microsoft\Windows\NetCache

Id. de directiva
Pol_GoOfflineAction_2
Ámbito
Configuración del equipo
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

GoOfflineAction

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Acción:
Opciones
Elemento de listaValor almacenado
Trabajar sin conexión0
No desconectar nunca1
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache]

; Opciones (usar solo una)
; Trabajar sin conexión
"GoOfflineAction"=dword:00000000
; No desconectar nunca
"GoOfflineAction"=dword:00000001
CMD
:: Opciones (usar solo una)

:: Trabajar sin conexión
reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "GoOfflineAction" /t REG_DWORD /d 0 /f
:: No desconectar nunca
reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "GoOfflineAction" /t REG_DWORD /d 1 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null

# Opciones (usar solo una)
# Trabajar sin conexión
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'GoOfflineAction' -PropertyType DWord -Value 0 -Force | Out-Null
# No desconectar nunca
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'GoOfflineAction' -PropertyType DWord -Value 1 -Force | Out-Null