How do I delete Windows.Old?

Hello,

I've upgraded my OS to Windows 7 from Vista and as part of the installation process, Windows created a Windows.Old directory, presumably to allow a roll back.  I've tried to delete this directory and was unable to.  I wound up going through and deleting the various subdirectories and got rid of everything except the "Users" directory.  When I try and delete the root level directory, I get the folllowing error message:

"This is no longer located in C:\.  Verify the item's location and try again."

Can anyone tell me how to get rid of this?

Thanks,

Peter
Peter044Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ZakabogCommented:
This should help you - http://support.microsoft.com/kb/930527/en-us

Or if that doesn't work you can use this software - http://ccollomb.free.fr/unlocker/

I've never seen a file it couldn't delete, even if it's in use it'll allow you to delete it.
Peter044Author Commented:
Hi There,

Thanks for your reply.  There does not seem to be a an "Options"dialog box in Windows 7.  This article applies to Vista.  Looking at the list of types of files that can be deleted using Disk Cleanup, there is no option that I can find for deleting previous windows installation.  Any other ideas?

The other link you sent times out.  Is there a more recent link?

Peter
ken2421Commented:
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Peter044Author Commented:
Hi Ken,

Thanks for that.  That definitely got me to the "Delete Previous Installations" option which I ticket.  It did not seem to work though, and I got the same error message about the item not existing in this location,

Peter
ZakabogCommented:
Search google for file unlocker that's what the second link I gave was for, if that doesn't do that the next option is a live cd possibly knoppix and delete the files from outside the windows install.
ZakabogCommented:
Search google for file unlocker that's what the second link I gave was for, if that doesn't do that the next option is a live cd possibly knoppix and delete the files from outside the windows install.
Peter044Author Commented:
Is this the one you were talking about?

http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml

Peter
nobusCommented:
if you do a search for windows.old where is it located?
Peter044Author Commented:
It doesn't find one.
ZakabogCommented:
Peter that's exactly the program, if it doesn't work then you'll need to try a live cd or a rescue disc.
nobusCommented:
boot from a Knoppix cd, and check if it finds the folder; if not, there may not be one on your disk !
ftp://ftp.kernel.org/pub/dist/knoppix/KNOPPIX_V5.0.1CD-2006-06-01-EN.iso      
rajankzCommented:
Peter,

You need to take ownership of the entire folder to delete the folder.
RightClick the folder-> Properties -> Security
Add current user to be the owner of the folder and click through all the OK buttons.

I believe now you should be able to delete the folder normally(or atleast using the unlocker)

-Rajan
che6auscCommented:
Unlocker run as administrator worked as the solution in this thread:

http://www.annoyances.org/exec/forum/winvista/t1191685030
Peter044Author Commented:
Hi  Rajankz,

I was not the owner.  I've become the owner and added myself to the permissions list with full permissions, but got the same error.

I'll try Unlocker and re-post,

Peter
Peter044Author Commented:
Unlocker did not work.  Same error message about the location,

Peter
rajankzCommented:
Peter,

After taking ownership you may have to retry few things.
1. Use cleanmgr and delete all old files
2. Run this:
- Open an elevated Command Prompt
- Paste this command: rd /s /q c:\windows.old
- Hit Enter

Hope this will fix everything.

-R

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Peter044Author Commented:
That did it!  I did not actually run cleanmgr  and had tried the rd in a CMD window before.  It was apparently the switches that made the difference. Thanks very much rajankz.  Impressive job,

Peter
rajankzCommented:
Welcome.
Am happy that you got what you wanted.

-R
rajankzCommented:
Hi,
I do not remember if the policies have changed or not. But can I have the points now?

@Admins: If this is against policy to ask for points, then please delete this comment.

-R
LeeTutorretiredCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.