Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have network drives mapped to my users.

If they lose network connection for any reason, it pulls up the client side cached version of it and lets the user work in that.

Now some duplicate files are popping up and people are seeing inconsistent versions of things.

I want to make it so that when a user loses network connection, they can't access the files. Period.


I forgot to mention that my file servers are Linux-based samba shares

share|improve this question
up vote 1 down vote accepted

If you don't need "Offline Files" on any of your clients just disable it entirely using Group Policy. The "Allow or Disallow use of the Offline Files feature", located at "Computer Configuration\Administrative Templates\Network\Offline Files" in Group Policy will disable the feature computer-wide.

If you want to prevent caching of specific shares on your Samba servers you can use the "csc policy" configuration parameter in your smb.conf. You can find details here:

share|improve this answer

You don't need a GPO. You just need to turn off the caching support on the shares they're connecting to. The following instructions will vary slightly depending on the version of Windows hosting the shares, but the gist is the same. They were written from a 2008 R2 server.

  • Open the Properties for the shared folder they're connecting to
  • Go to the Sharing tab
  • Click Advanced Sharing
  • Click Caching
  • Select the option for "No files or programs from the shared folder are available offline"
share|improve this answer
That makes a bunch of sense and I'll use that when I get put in my Windows-based file server structure, but I forgot to mention that my file servers are Linux-based – blsub6 Mar 11 '11 at 21:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.