Policy
Remove "Work offline" command
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2012, WindowsServer2012R2, WindowsServer2016
This policy setting removes the "Work offline" command from Explorer, preventing users from manually changing whether Offline Files is in online mode or offline mode. If you enable this policy setting, the "Work offline" command is not displayed in File Explorer. If you disable or do not configure this policy setting, the "Work offline" command is displayed in File Explorer.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\NetCache\WorkOfflineDisabled | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- UserAction on server disconnectWindows Server 2003, Windows XP, and Windows 2000 only
- ComputerAction 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