Office Documents Are Synchronized to an Offline Share Automatically (817275)



The information in this article applies to:

  • Microsoft Office XP
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Home Edition SP1
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional SP1
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Advanced Server SP2
  • Microsoft Windows 2000 Advanced Server SP3
  • Microsoft Windows 2000 Advanced Server SP4
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Professional SP1
  • Microsoft Windows 2000 Professional SP2
  • Microsoft Windows 2000 Professional SP3
  • Microsoft Windows 2000 Professional SP4
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Server SP2
  • Microsoft Windows 2000 Server SP3
  • Microsoft Windows 2000 Server SP4

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

When you save an Office document, the document may automatically be set for offline use and synchronize to an offline share if it is not already present on that share. Clearing the Recent Documents list may not clear the Make available offline property of the files. If you try to stop this behavior on a file-by-file basis, the Make available offline command may be unavailable on the File menu.

CAUSE

This behavior occurs when an Office file is added to your Recent Documents list. A link shortcut file (.lnk) to the document is placed in the "Application Data" folder. If the Application Data folder is redirected to a network share, all recent documents are automatically made available offline. This occurs because when client side caching (CSC) makes an .lnk file available offline, it also makes the target of that link available offline when the target is a file. Because of this, you may have many files that are being cached and synchronized from various locations and shares.

RESOLUTION

Microsoft Windows XP

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to obtain the latest Windows XP service pack

Hotfix information

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows XP service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. Windows XP
   Date         Time   Version       Size     File name
   ----------------------------------------------------
   31-Mar-2003  11:54  5.1.2600.112  313,856  Cscui.dll
Windows XP Service Pack 1 (SP1)
   Date         Time   Version        Size     File name
   -----------------------------------------------------
   31-Mar-2003  11:39  5.1.2600.1193  312,832  Cscui.dll
After the hot fix is applied, a LinkTargetCaching DWORD registry value can be set under one of the following two registry keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\NetCache
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\NetCache

When the value is set under HKEY_LOCAL_MACHINE, it applies to all users on the computer. When set under HKEY_CURRENT_USER, it applies to the currently-logged-on user. If both settings are present, the HKEY_LOCAL_MACHINE setting takes precedence.

The LinkTargetCaching value may have one of the following three values:
ValueAction
0Never make the target of a. .lnk file available offline.
1Make the target of an .lnk file available offline only when you explicitly mark the destination file as Make available offline.
2Always make the target of an .lnk file available offline. This the default behavior for this registry value.
To create the LinkTargetCaching registry key in HKEY_LOCAL_MACHINE: Follow these steps, and then quit Registry Editor:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following key in the registry:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\NetCache

  3. On the Edit menu, point to New, and then click DWORD.
  4. Type LinkTargetCaching, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. Type 0, 1, or 2, and then click OK.

If you want to create a key for the current user of the computer, use steps 1-6, and then create the new registry key value in the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\NetCache

Microsoft Windows 2000

Hotfix information

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.File information The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version        Size     File name
   -------------------------------------------------------
 
   14-Jul-2003  22:59  5.0.2195.6760  101,136  Cscdll.dll 
   14-Jul-2003  22:59  5.0.2195.6780  242,448  Cscui.dll 
   20-Jun-2003  18:29  5.0.2195.6760  407,792  Mrxsmb.sys 
   20-Jun-2003  18:29  5.0.2195.6760  169,520  Rdbss.sys
After the hot fix is applied, a LinkTargetCaching DWORD registry value can be set under one of the following two registry keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\NetCache
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\NetCache

When the value is set under HKEY_LOCAL_MACHINE, it applies to all users on the computer. When set under HKEY_CURRENT_USER, it applies to the currently-logged-on user. If both settings are present, the HKEY_LOCAL_MACHINE setting takes precedence.

The LinkTargetCaching value may have one of the following three values:
ValueAction
0Never make the target of a. .lnk file available offline.
1Make the target of an .lnk file available offline only when you explicitly mark the destination file as Make available offline.
2Always make the target of an .lnk file available offline. This the default behavior for this registry value.
To create the LinkTargetCaching registry key in HKEY_LOCAL_MACHINE: Follow these steps, and then quit Registry Editor:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following key in the registry:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\NetCache

  3. On the Edit menu, point to New, and then click DWORD.
  4. Type LinkTargetCaching, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. Type 0, 1, or 2, and then click OK.

If you want to create a key for the current user of the computer, use steps 1-6, and then create the new registry key value in the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\NetCache

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft Windows XP Service Pack 2.

Modification Type:MinorLast Reviewed:10/10/2005
Keywords:kbHotfixServer kbQFE kbWinXPsp2fix kbenv kbprb kbQFE kbWinXPpreSP2fix kbfix kbbug KB817275