How do I delete Windows-created backup files?
Moderators: NeilBlanchard, Ralf Hutter, sthayashi, Lawrence Lee
-
- *Lifetime Patron*
- Posts: 4284
- Joined: Fri Apr 04, 2003 6:21 pm
- Location: Undisclosed but sober in US
How do I delete Windows-created backup files?
Such as Windows.old.001? Even Admin does not have enough authority. What kind of nonsense is that? This is a Vista 32 bit Business Box.
Thanks
Aris
Thanks
Aris
Have you tried taking ownership of the folder? Right-click the folder, then go to Security>Advanced>Owner. Then under the "Change owner to:" area, select yourself as the owner, then check the box that says "Replace owner on subcontainers and objects". Then OK out of everything, and you should be able to do anything you want to the folder, barring some other program using the folder when you're trying to delete it.
I have a command prompt script that changes the ownership of the files to the current administrator. Just run one line after the other:
takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t
Replace %1 with the drive of your choice, so for C: it would be:
takeown /f C: /r /d y
icacls C: /grant administrators:F /t
takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t
Replace %1 with the drive of your choice, so for C: it would be:
takeown /f C: /r /d y
icacls C: /grant administrators:F /t
-
- *Lifetime Patron*
- Posts: 4284
- Joined: Fri Apr 04, 2003 6:21 pm
- Location: Undisclosed but sober in US
I eventually found it here:
http://support.microsoft.com/kb/933212
Hey, I recovered 12GB from this, and another 1.5GB from other trash files.
Thanks for the help people.
http://support.microsoft.com/kb/933212
Hey, I recovered 12GB from this, and another 1.5GB from other trash files.
Thanks for the help people.