Q

How to remove a Windows.old folder

Deleting a Windows.old folder seems simple, but it isn't. Our expert explains why Windows Desk Cleanup won't work.

I have a Windows.old folder left over from a previous installation of Windows, but every time I try to delete it, I get "Access is denied" errors or other problems. How can I get rid of this folder?

A Windows.old folder is created if you place a new installation of Windows on a drive that already has one, and you don't upgrade the old installation in place. The existing Windows folder is renamed "Windows.old," and any user-profile information is placed inside it in a /User subfolder. This makes it possible for users to place a fresh installation of Windows on a drive and then either automatically or manually migrate their user data.

Note that if you have a Windows.old directory -- or simply a remnant Windows directory -- on any drive other than the boot drive, this technique will not work. The Disk Cleanup utility only looks for old Windows installations on your current system drive. What's more, when you try to delete a Windows directory on another drive from within Windows itself, you run into permissions errors or other problems, just as you indicated.

To get around this, boot the installation media, go to the Recovery Console command line, and perform the delete operation there. This should circumvent any trouble you'd have deleting the folder conventionally.

This was last published in May 2013

Dig Deeper on Windows legacy operating systems

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

Well, you say "To get around this, boot the installation media, go to the Recovery Console command". Ok, and since "Microsoft does not provide any installation media with any computer" to save a buck, it is difficult to do anything about that.
Cancel

-ADS BY GOOGLE

SearchVirtualDesktop

SearchWindowsServer

SearchExchange

Close