The other day I was working on a PC and it was low on disk space, on the root of the drive was a Windows.old folder. After backing up the users folder, I started removing the folder due to the Security applied to this folder it can take some time to amend and delete each folder.
After thinking to myself “There Must Be a Better Way” I found the article noted below. I have noted here for reference.
1. Click Start, in the search box type without quotes “disk cleanup” and hit enter.
2. Select the drive / partition which Windows Vista / 7 is installed on. ( See image Below)
3. It will quickly scan your computer. Then it will display a window like the one below. You need to click “Clean up system files”. If prompted by UAC, then click on Yes. (See image below)
4. It will again ask you to select the OS and scan your computer. (See image below)
5. Make sure “Previous windows installations” is ticked and click Ok. (See image below)
6. Click delete files. (See image below)
7. Windows.old should now be deleted.
Sometimes the contents of Windows.old will be gone, but the folder and some subfolders is still there and undeleteable, because it “Cannot be found”.
If this is the case, try the following…
1. Click Start, in the search box type in without quotes “cmd” and hit enter.
2. Type in….
[code language=”plain text”]
rd /s /q c:windows.old
and hit enter.
3. The directory should now be gone.
Hope this has helped! 🙂
SOURCE: HowToGeek Forum