Microsoft KB Archive/931702

= Windows Explorer crashes when you try to remove the $WINDOWS.OLD folder from a computer that has been upgraded to Windows Vista =

Article ID: 931702

Article Last Modified on 3/20/2007

-

APPLIES TO


 * Windows Vista Business
 * Windows Vista Enterprise
 * Windows Vista Home Basic
 * Windows Vista Home Premium
 * Windows Vista Ultimate
 * Windows Vista Enterprise 64-bit edition
 * Windows Vista Home Basic 64-bit edition
 * Windows Vista Home Premium 64-bit edition
 * Windows Vista Ultimate 64-bit edition
 * Windows Vista Starter

-



SYMPTOMS
When you use Windows Explorer to try to remove the :\$WINDOWS.OLD folder from a computer that has been upgraded from an earlier version of Windows to Windows Vista, Windows Explorer crashes. In this scenario, you receive the following error message:

Faulting application Explorer.EXE, version 6.0.5756.0, time stamp 0x452999fb, faulting module SHELL32.dll, version 6.0.5756.0, time stamp 0x4529b38a, exception code 0xc0000005, fault offset 0x000000000000c941, process id 0xbf8, application start time 0x01c6ecae8503dd46.

Note The $WINDOWS.OLD folder is a hidden system folder. Sometimes, this folder has a name other than $WINDOWS.OLD. For example, this folder may be named $WINDOWS.~Q. For information about how to view this folder, see the &quot;More Information&quot; section.



CAUSE
This issue occurs if at least one of the files that Windows Vista tries to delete from the $WINDOWS.OLD folder is corrupted.



RESOLUTION
To resolve this issue, use one of the following methods to remove the $WINDOWS.OLD folder.

Important Make sure that you back up any important data that is located in the $WINDOWS.OLD folder before you follow these steps.

Method 1: Use the Disk Cleanup tool
The Disk Cleanup tool (Cleanmgr.exe) is included with Windows Vista. You can use this tool to remove the $WINDOWS.OLD folder together with its contents. To do this, follow these steps:
 * 1) Click Startvistastartbutton.jpg], and then click Computer.
 * 2) Right-click the hard disk from which you want to remove the $WINDOWS.OLD folder, and then click Properties.
 * 3) Click the General tab, and then click Disk Cleanup.
 * 4) Click Files from all users on this computer.

If you are prompted for an administrator password or for confirmation, type the password, or click Continue.
 * 1) In the File to delete list, click to select the File discarded by Windows upgrade check box.

Note Click to clear other check boxes, depending on the other files that you want to remove.
 * 1) Click OK, and then click Delete Files to confirm that you want to permanently remove the $WINDOWS.OLD folder together with its subfolders and files.

Method 2: Use the RD command
You can use the RD (Remove Directory) command-line command to remove the $WINDOWS.OLD folder together with its contents. To do this, follow these steps:
 * 1) Click Startvistastartbutton.jpg], type cmd in the Start Search box, right-click cmd.exe in the Programs list, and then click Run as administrator.

If you are prompted for an administrator password or for confirmation, type the password, or click Continue.
 * 1) Type cd\, and then press ENTER to change to the root directory of the current drive. Generally, this is drive C.
 * 2) Type  :, and then press ENTER to change to the drive from which you want to remove the $WINDOWS.OLD folder. For example, if the $WINDOWS.OLD folder is on drive D, type d: , and then press ENTER.

Note If the command prompt is already at the correct drive, skip this step.
 * 1) Type rd $windows.old /s, and then press ENTER to remove the $WINDOWS.OLD folder together with its subfolders.
 * 2) When you are prompted to confirm the removal of the $WINDOWS.OLD folder, type y, and then press ENTER.

For more information about how to use the RD command, type rd /? at a command prompt, and then press ENTER. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

120716 How to remove files with reserved names in Windows



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 you upgrade an earlier version of Windows to Windows Vista, the Windows Vista Setup program moves the files and the folders from the original Windows installation to a $WINDOWS.OLD folder. You can access the data in the $WINDOWS.OLD folder after the Windows Vista Setup program is finished. For more information about how the Setup program works, visit the following Microsoft Web site:

http://technet2.microsoft.com/WindowsVista/en/library/8b7d0f15-321f-471a-9674-f8a4b467c1091033.mspx?mfr=true

How to view the $WINDOWS.OLD folder
 Click Start, type folder options in the Start Search box, and then click Folder Options in the Programs list.

If you are prompted for an administrator password or for confirmation, type the password, or click Continue. Click the View tab, click Show hidden files and folders, and then click to clear the following two check boxes:

Hide extensions for known file types

Hide protected operating system files (Recommended)

 Click Yes to confirm that you want to display operating system files, and then click OK.

Keywords: kbpending kbbug kbdeployment kberrmsg kbfilesystems kbexpertisebeginner kbtshoot kbprb KB931702

-

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

© Microsoft Corporation. All rights reserved.