Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The desktop is not refreshed when you rename and then immediately delete a file on the desktop of a computer that is running Windows Vista or Windows Server 2008


View products that this article applies to.

Symptoms

On a computer that is running Windows Vista or Windows Server 2008, you rename a file on the desktop. Then, you immediately delete the file by using a script or an application. The script or the application calls the MoveFile function and then calls the DeleteFile function. However, the icon for the original file still appears on the desktop.

Note This issue occurs only if the file is located on the desktop.

↑ Back to the top


Cause

This issue occurs because of a race condition in the Windows shell.

↑ Back to the top


Resolution

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 the problem described in this article. 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.
Important Windows Vista and Windows Server 2008 hotfixes are included in the same packages. However, only one of these products may be listed on the �Hotfix Request� page. To request the hotfix package that applies to both Windows Vista and Windows Server 2008, just select the product that is listed on the page.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:
  • Windows Vista Service Pack 1 (SP1)
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008
  • Windows Server 2008 Service Pack 2 (SP2)

Restart requirement

You must restart the computer after you apply this hotfix.

Registry information


To use one of the hotfixes in this package, you do not have to make any changes to the registry.

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 Vista and Windows Server 2008 file information note
  • The files that apply to a specific product or milestone (RTM, SPn) can be identified by examining the file version numbers as shown in the following table:
    VersionProductMilestoneService branch
    6.0.6000.20xxxWindows VistaRTMLDR
    6.0.6001.22xxxWindows Vista SP1 and Windows Server 2008 SP1SP1LDR
    6.0.6002.22xxxWindows Vista SP2 and Windows Server 2008 SP2SP2LDR
  • Service Pack 1 is integrated into the original release version of Windows Server 2008. Therefore, RTM milestone files apply only to Windows Vista. RTM milestone files have a 6.0.0000.xxxxxx version number.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately. MUM and MANIFEST files, together with the associated security catalog (.cat) files, are important to maintaining the state of the updated component. The security catalog files (attributes not listed) are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Vista and of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Shell32.dll6.0.6001.2250711,584,00026-Aug-200916:13x86
Shell32.dll6.0.6002.2221111,584,51226-Aug-200915:54x86
For all supported x64-based versions of Windows Vista and of Windows Server 2008

File nameFile versionFile sizeDateTimePlatform
Shell32.dll6.0.6001.2250712,901,37626-Aug-200916:28x64
Shell32.dll6.0.6002.2221112,898,30426-Aug-200915:45x64
Shell32.dll6.0.6001.2250711,584,00026-Aug-200916:13x86
Shell32.dll6.0.6002.2221111,584,51226-Aug-200915:54x86


↑ Back to the top


Workaround

To work around this issue, press F5 to refresh the desktop.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

Additional file information

Additional file information for Windows Server 2008 and for Windows Vista

Additional file information for all supported x86-based versions of Windows Vista and of Windows Server 2008
File namePackage_for_kb973521_client_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,367
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_client_2~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,694
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_client~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,713
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,421
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_sc_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,690
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_sc~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,701
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_server_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,425
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_server_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,694
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_server~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,713
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_winpesrv_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,422
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_winpesrv~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,430
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File nameX86_09bb469b294ee1969b403abf62b73084_31bf3856ad364e35_6.0.6001.22507_none_16389860e9fdfdfa.manifest
File versionNot Applicable
File size695
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File nameX86_87b0226c78460008b8cb61830fcf9704_31bf3856ad364e35_6.0.6002.22211_none_8d68175540ff55bc.manifest
File versionNot Applicable
File size695
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File nameX86_microsoft-windows-shell32_31bf3856ad364e35_6.0.6001.22507_none_6cb9d1472b133386.manifest
File versionNot Applicable
File size904,299
Date (UTC)26-Aug-2009
Time (UTC)17:52
PlatformNot Applicable
File nameX86_microsoft-windows-shell32_31bf3856ad364e35_6.0.6002.22211_none_6e8f718728470c91.manifest
File versionNot Applicable
File size904,280
Date (UTC)26-Aug-2009
Time (UTC)17:20
PlatformNot Applicable

Additional file information for all supported x64-based versions of Windows Vista and of Windows Server 2008
Addition
File nameAmd64_698bf4d03216f23fd9d4a713e73f35a5_31bf3856ad364e35_6.0.6002.22211_none_04daeb3cd8ed4007.manifest
File versionNot Applicable
File size1,040
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File nameAmd64_6b4d8773d820a65b49de80f2c38524ce_31bf3856ad364e35_6.0.6001.22507_none_820fe16f270adde4.manifest
File versionNot Applicable
File size699
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File nameAmd64_ba370f9540e1121dc8f5c3996780834d_31bf3856ad364e35_6.0.6001.22507_none_4e243ec801c77db1.manifest
File versionNot Applicable
File size1,040
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File nameAmd64_microsoft-windows-shell32_31bf3856ad364e35_6.0.6001.22507_none_c8d86ccae370a4bc.manifest
File versionNot Applicable
File size906,231
Date (UTC)26-Aug-2009
Time (UTC)18:10
PlatformNot Applicable
File nameAmd64_microsoft-windows-shell32_31bf3856ad364e35_6.0.6002.22211_none_caae0d0ae0a47dc7.manifest
File versionNot Applicable
File size906,212
Date (UTC)26-Aug-2009
Time (UTC)17:12
PlatformNot Applicable
File namePackage_for_kb973521_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,375
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_client_2~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,706
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_client~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,723
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,429
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_sc_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,702
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,711
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,433
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_server_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,706
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,723
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_winpesrv_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,430
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File namePackage_for_kb973521_winpesrv~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,438
Date (UTC)27-Aug-2009
Time (UTC)00:55
PlatformNot Applicable
File nameWow64_microsoft-windows-shell32_31bf3856ad364e35_6.0.6001.22507_none_d32d171d17d166b7.manifest
File versionNot Applicable
File size899,202
Date (UTC)26-Aug-2009
Time (UTC)17:47
PlatformNot Applicable
File nameWow64_microsoft-windows-shell32_31bf3856ad364e35_6.0.6002.22211_none_d502b75d15053fc2.manifest
File versionNot Applicable
File size899,183
Date (UTC)26-Aug-2009
Time (UTC)17:15
PlatformNot Applicable

Steps to reproduce the problem

  1. Create a Test.txt file on the desktop.
  2. Open a Command Prompt window. Type the following commands, and press ENTER after each command:
    • cd %userprofile%\desktop
    • ren Test.txt Newtest.txt & del Newtest.txt
    The Test.txt file still appears on the desktop.
  3. Press F5.
    The Test.txt file disappears.


For more information about the MoveFile function, visit the following Microsoft Web site:
For more information about the DeleteFile function, visit the following Microsoft Web site:

↑ Back to the top


Keywords: kbfix, kbexpertiseadvanced, kbautohotfix, kbsurveynew, kbqfe, KB973521

↑ Back to the top

Article Info
Article ID : 973521
Revision : 3
Created on : 10/7/2011
Published on : 10/7/2011
Exists online : False
Views : 433