Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / operating-systems / Windows

A simple way to delete an undeletable file

5.00/5 (2 votes)
19 Nov 2011CPOL 7.9K  
I prefer alternative 3 but this option may save time if multiple files are to be deleted.Disk Cleanup will remove all files stored in a folder named Windows.old in the drive's root if the option Remove Previous Versions of Windows is selected.Create a directory named Windows.old in the...

I prefer alternative 3 but this option may save time if multiple files are to be deleted.


Disk Cleanup will remove all files stored in a folder named Windows.old in the drive's root if the option Remove Previous Versions of Windows is selected.



  1. Create a directory named Windows.old in the drive root.
  2. Drag and drop undeletable files and folders into that directory.
  3. Run Disk Cleanup selecting the option Clean up system files\ Files to delete\ Previous Windows installation(s).

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)