Remove "Work offline" command
Supported on: At least Windows Server 2012, Windows 8 or Windows RT
Registry
HKCU
Software\Policies\Microsoft\Windows\NetCache Value name: WorkOfflineDisabled
Enabled: WorkOfflineDisabled = 1
Disabled: WorkOfflineDisabled = 0
Description
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.