The Cache Option for Offline Files Must Be Disabled on Roaming User Profile Shares

This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.


With roaming user profiles, if you do not disable the cache option for Offline Files, synchronization problems may occur. The user profile can be placed in an unstable state as both Offline Files and the roaming user profiles attempt to synchronize the files in a user's profile.


This behavior can occur because the cache option in Offline Files is based on the server message block (SMB) protocol, and is SMB share-based.

If the cache option is enabled on a share, any files that are created on the remote share from the local computer can be cached. This action, however, can result in synchronization problems if the cache option is enabled on a share where roaming user profiles are located, or are accessed by means of a path where the cache option is enabled.

If a roaming user profile is located below a share where the cache option is enabled, Offline Files caches files in the users profile, as they are copied to and from the server. The reason this occurs is to handle situations where programs work with new copies of a file, and then rename the original file. (Offline Files caches all files created on the remote share from the local computer.)

Because a roaming user profile can copy the files in the user's profile to temporary files on the server share, and then rename them, Offline Files adds the files in the user's profile to the cache.


To work around this behavior, create a separate share to store the users' profiles, and then disable the cache option on that share. (The cache option can only be disabled on shares that are hosted by computers that run Windows 2000.)

Microsoft recommends that you store the roaming user profiles and offline-enabled shares on a separate server, whenever possible.

To disable the cache option by means of the command line:
  1. Click Start.
  2. Click Run.
  3. Type: cmd and click OK.
  4. At the command prompt, type: net share sharename /cache:no, where sharename is the name of the shared folder.

To disable the cache option by means of the user interface:
  1. Locate the shared folder by using Windows Explorer.
  2. Right-click the folder, and then click Properties.
  3. Click the Sharing tab.
  4. Click the Caching button.
  5. Click to clear the Allow caching of files in this folder check box.


This behavior is by design.

More Information

The cache option for Offline Files must be disabled on shares where roaming user profiles are stored. If you want to store offline-enabled redirected folders and roaming user profiles on the same server, they must be on separate shares.

For additional information regarding IntelliMirror and user data management, visit the following Microsoft Web sites:

For user data and settings management:
For IntelliMirror tips and tricks:

Artikelnummer: 287566 – Letzte Überarbeitung: 16.12.2009 – Revision: 1