All files are unexpectedly removed from the local My Documents folder when you log on to a Windows XP-based computer

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
When you connect the Windows XP-based computer to a network and log on to a Windows XP-based computer, all files are unexpectedly removed from the local My Documents folder. These files are not restored until you synchronize the local My Documents folder.

You notice this problem if the following conditions are true:
  • The Policy Maker snap-in is installed on the computer.
  • The My Documents folder is redirected to a shared folder by using the folder redirection feature.
  • The Offline files option is enabled for the My Documents folder.
  • The computer is working in offline mode.
This problem occurs when Client-Side Caching (CSC) queries the My Documents folder location from the following registry subkey:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
When CSC queries the registry subkey to extract path of the local My Documents folder, CSC finds that the Personal value of the user is set to null by the Policy Maker snap-in. When the Personal value of the user is set to null, CSC believes that the local My Documents folder is not available. Therefore, CSC clears the local offline cache for the local My Documents folder.
After you install this hotfix, the path of the My Documents folder is stored in the following registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


To apply this hotfix, you must have Microsoft Windows XP Service Pack 2 (SP2) installed.

Restart requirement

You have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.
Windows XP with Service Pack 2

File nameFile versionFile sizeDateTimePlatform
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information
When this problem occurs, the following call stack is generated.

Stack output

0:036> kbChildEBP RetAddr Args to Child 0693dfdc 7c9eeee8 00000000 7c9c7a04 00000000 shell32!_GetFolderPath+0x6d0693e008 7c9f1c17 00000000 7c9c7a04 00000000 shell32!_GetFolderPathCached+0x930693e24c 7c9f1b7e 00000000 7c9c7a04 00000000 shell32!_CreateFolderIDList+0xe00693e274 7c9ef455 00000000 ffffffff 00001000 shell32!_GetFolderIDListCached+0x840693e298 7ca26638 00000000 00001005 00000000 shell32!SHGetFolderLocation+0x9e0693e2cc 7ca2668c 00000000 00000000 01ef1318 shell32!_ReparentAliases+0x490693e2e8 7ca266d7 01ef1318 0693e340 0000ffff shell32!SHILAliasTranslate+0x170693e324 7c9ede50 00e1ec00 00000000 05564f68 shell32!CDesktopFolder::ParseDisplayName+0xbe0693e38c 7c9edd9d 00e252e8 00000000 05564f68 shell32!CRegFolder::ParseDisplayName+0x930693e3c4 7c9ee336 05564f68 00000000 00000000 shell32!SHParseDisplayName+0xa30693e3e8 7ca23b6d 0693ebb0 00000000 00000000 shell32!ILCreateFromPathEx+0x3d0693e874 7ca41047 00000000 0693ebb0 00000001 shell32!CShellLink::_SetPIDLPath+0x440693efc4 064f1cc5 01dc7984 066124b0 0693f718 shell32!CShellLink::SetPath+0x1640693f174 06523313 0665d598 00000000 00000000 polprocl!apmConfigShortcut::Expand+0x7250693f254 00000000 00000000 00000000 00000000 polprocl!apmClientConfigs::handleProps+0x2830:036> reax=80070005 ebx=00000000 ecx=0000347b edx=00000015 esi=0693e040 edi=7c9c7a04eip=7ca23f0e esp=0693dfd0 ebp=0693dfdc iopl=0 nv up ei pl zr na pe nccs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246shell32!_GetFolderPath+0x6d:7ca23f0e 8bd8 mov ebx,eax0:036> !gleLastErrorValue: (Win32) 0x5 (5) - Access is denied.LastStatusValue: (NTSTATUS) 0xc0000022 - {Access Denied} A process has requested access to an object, but has not been granted those access rights.

Article ID: 933684 - Last Review: 01/16/2015 09:42:00 - Revision: 3.0

  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • kbnosurvey kbarchive kbautohotfix kbexpertisebeginner kbHotfixServer kbqfe KB933684