Offline Files has got its own user interface to disable the feature. But in case if you want to do it by hacking the registry or through a batch script, this article shows how you can do that. Since Offline files has changed a lot in Vista and Windows 7 when compared with XP, find separate steps below for each version.
Vista / Windows 7
In Vista and Windows 7 offline files also has a service running in the system. Stopping this service will disable offline files feature on the system and this does not require a reboot. But when the system is rebooted offline files will be enabled again. To disable offline files feature permanently on the system do the following.
- Open registry editor by executing
Regeditfrom Run window.(Windows + R Shortcut)
- Say Yes in the User Account Control confirmation window.
- Go to the node
- From the list of registry values displayed in the right side pane, change the data in the registry value Start to 4.
- Close registry editor and reboot the machine.
- Open registry editor by executing regedit from Run window.
- Go to the node
- Create a new registry value with the name
CSCEnabledand of type REG_DWORD.
- Set the value of this new registry value to 0.
- Reboot the machine. Changes won’t take affect until the reboot is done
Note that this disables Offline Files/CSC for all users on the system and users will see everything greyed out in the Offline Files tab. Snapshot is shown below.
And the folders which were made offline available before this registry change will no longer be available offline.
When offline files is disabled this way, even administrators can’t enable offline files through Folder options -> Offline Files tab. Though administrators can select ‘Enable Offline Files‘ check button, they get the error “Offline Files cannot be enabled. The system cannot find the path specified” while trying to apply the changes. A snapshot is shown below.