Microsoft KB Archive/933684

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

Article ID: 933684

Article Last Modified on 8/29/2007

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-





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



CAUSE
This problem occurs when Client-Side Caching (CSC) queries the My Documents folder location from the following registry subkey:

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.



RESOLUTION
After you install this hotfix, the path of the My Documents folder is stored in the following registry:

Hotfix information
A supported hotfix is now 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 service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
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


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
When this problem occurs, the following call stack is generated.

Stack output
0:036> kb ChildEBP RetAddr Args to Child 0693dfdc 7c9eeee8 00000000 7c9c7a04 00000000 shell32!_GetFolderPath+0x6d 0693e008 7c9f1c17 00000000 7c9c7a04 00000000 shell32!_GetFolderPathCached+0x93 0693e24c 7c9f1b7e 00000000 7c9c7a04 00000000 shell32!_CreateFolderIDList+0xe0 0693e274 7c9ef455 00000000 ffffffff 00001000 shell32!_GetFolderIDListCached+0x84 0693e298 7ca26638 00000000 00001005 00000000 shell32!SHGetFolderLocation+0x9e 0693e2cc 7ca2668c 00000000 00000000 01ef1318 shell32!_ReparentAliases+0x49 0693e2e8 7ca266d7 01ef1318 0693e340 0000ffff shell32!SHILAliasTranslate+0x17 0693e324 7c9ede50 00e1ec00 00000000 05564f68 shell32!CDesktopFolder::ParseDisplayName+0xbe 0693e38c 7c9edd9d 00e252e8 00000000 05564f68 shell32!CRegFolder::ParseDisplayName+0x93 0693e3c4 7c9ee336 05564f68 00000000 00000000 shell32!SHParseDisplayName+0xa3 0693e3e8 7ca23b6d 0693ebb0 00000000 00000000 shell32!ILCreateFromPathEx+0x3d 0693e874 7ca41047 00000000 0693ebb0 00000001 shell32!CShellLink::_SetPIDLPath+0x44 0693efc4 064f1cc5 01dc7984 066124b0 0693f718 shell32!CShellLink::SetPath+0x164 0693f174 06523313 0665d598 00000000 00000000 polprocl!apmConfigShortcut::Expand+0x725 0693f254 00000000 00000000 00000000 00000000 polprocl!apmClientConfigs::handleProps+0x283

0:036> r eax=80070005 ebx=00000000 ecx=0000347b edx=00000015 esi=0693e040 edi=7c9c7a04 eip=7ca23f0e esp=0693dfd0 ebp=0693dfdc iopl=0 nv up ei pl zr na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246 shell32!_GetFolderPath+0x6d: 7ca23f0e 8bd8 mov ebx,eax 0:036> !gle LastErrorValue: (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.

Keywords: kbexpertisebeginner kbhotfixserver kbqfe KB933684

-

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

© Microsoft Corporation. All rights reserved.