Policy
Action on server disconnect
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows2000, WindowsServer2003, WindowsXP
Determines whether network files remain available if the computer is suddenly disconnected from the server hosting the files. This setting also disables the "When a network connection is lost" option on the Offline Files tab. This prevents users from trying to change the option while a setting controls it. If you enable this setting, you can use the "Action" box to specify how computers in the group respond. -- "Work offline" indicates that the computer can use local copies of network files while the server is inaccessible. -- "Never go offline" indicates that network files are not available while the server is inaccessible. If you disable this setting or select the "Work offline" option, users can work offline if disconnected. If you do not configure this setting, users can work offline by default, but they can change this option. This setting appears in the Computer Configuration and User Configuration folders. If both settings are configured, the setting in Computer Configuration takes precedence over the setting in User Configuration. Tip: To configure this setting without establishing a setting, in Windows Explorer, on the Tools menu, click Folder Options, click the Offline Files tab, click Advanced, and then select an option in the "When a network connection is lost" section. Also, see the "Non-default server disconnect actions" setting.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Action: ID Lbl_GoOfflineActionCombo | enum | HKLM\Software\Policies\Microsoft\Windows\NetCache\GoOfflineAction Type REG_DWORD | Options: Work offline (0), Never go offline (1) |
Other policies in this category
Explore related policies at the same level.
- UserAction on server disconnectWindows Server 2003, Windows XP, and Windows 2000 only
- ComputerAllow or Disallow use of the Offline Files featureAt least Windows 2000
- ComputerAt logoff, delete local copy of user’s offline filesWindows Server 2003, Windows XP, and Windows 2000 only
- ComputerConfigure Background SyncAt least Windows Server 2008 R2 or Windows 7
- ComputerConfigure Slow link speedWindows XP Professional only
- ComputerConfigure slow-link modeAt least Windows Vista
- ComputerDefault cache sizeWindows Server 2003, Windows XP, and Windows 2000 only
- ComputerEnable file screensAt least Windows Server 2008 R2 or Windows 7
- ComputerEnable file synchronization on costed networksAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerEnable Transparent CachingAt least Windows Server 2008 R2 or Windows 7
- ComputerEncrypt the Offline Files cacheAt least Windows Server 2003 operating systems Service Pack 1, Windows XP Professional Service Pack 2, or Windows 2000 Service Pack 5
- ComputerEvent logging levelWindows Server 2003, Windows XP, and Windows 2000 only