Microsoft KB Archive/287566

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

Article ID: 287566

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2

-



This article was previously published under Q287566



SYMPTOMS
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.



CAUSE
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.



RESOLUTION
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   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.



STATUS
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: http://www.microsoft.com/windows2000/docs/settings.doc

For IntelliMirror tips and tricks: http://www.microsoft.com/technet/win2000/inttips.asp

Additional query words: csc offline

Keywords: kbbug kbprofiles kbenv KB287566

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.