TO-Tech Blog Todd Ogasawara’s Tech Blog

15Jan/0726

Deleting Microsoft OneCare Backup Files

I've been testing using Microsoft's OneCare to backup files to both DVD+RW and external USB hard drives. The optical disc backup works fine but is slow and requires disc changes for large drives.

The external hard drive method worked a bit better. But, I found myself wanting to start over and change the backup scheme. This turned out to be a problem because Microsoft OneCare creates some kind of specially protected file named DO_NOT_DELETE_mediaID in each of the subdirectories. This file cannot be deleted, renamed, or otherwise changed using what most of us would consider to be the usual methods of taking care of such a problem. A bit of searching around found a solution in the Microsoft OneCare web forum though.

How To Delete Backups

The trick turned out to be a command line command that I had never heard of: cacls. This command can modify the Access Control List. It should be used like this to make the files under the Windows OneCare Backup directory eraseable.

cacls "G:\Windows OneCare Backup" /t /g administrators:F

Here are a couple of things you should note:

  • G is the external drive letter. Change it to what your external drive is assigned to.
  • There must be a space between /t and /g.
  • Note that administrators is the group name, not administrator which is an account name
  • The F after the colon indicates Full Control. It is not a drive designation
Filed under: Microsoft Leave a comment
Comments (26) Trackbacks (0)
  1. “cacls” command will only work with NTFS formated disks.

  2. THANK YOU!

    You saved my posterior.

    James S. Huggins

  3. Did not work – but redesignating the folder as shared under networks did allow deletion.

  4. Thank You!!!!

    I had tried several other methods I found with no luck, yours worked great.

    I think it nothing short of incredible that MS would make it such a PITA to delete these BU files.

  5. HELP
    I have tried the cacls “G:\Windows OneCare Backup” /t /g administrators:F
    I have tried to share with the network….I cannot delete these files.
    Windows Live One Care won’t help me because my subscription has expired. They want me to buy a new one in order to help me…I already have a new McAfee free from my internet provider…why would I want to pay just to delete there locked up files. What a PITA
    Any suggestion….maybe I’m doing something wrong.
    Please HELP!!

  6. 1) use an external USB hard drive

    2) create a specific partition

    3) use that partition for One Care backups

    4) then, simply, format that partition when you need
    to erase all backups and create a new one

    5) that’s the way I like it

  7. the CACLS cmd did not work for me. It would just kick up the help for the command. By enabling file sharing and sharing the backup folder, it changed security properties and allowed me to delete it. Don’t forget to disable file sharing again after.

  8. Hello. Thanks Todd! It worked for me! I deleted a portion (a specific user name folder in my backup). Now, I have a question. How do you enable this “specially protected file ” again. What is the CMD line that I will need to enter? I am guessing it has something to do with switching out one or both the letters of /t &/g for other letter(s). Please reply with the inverse. Thank you!

  9. Let me add to my last comment I posted. I have been to the Microsoft OneCare Forum regarding this issue and they give the user friendly way of changing the security settings. Unfortunately, I am using Windows XP Home that does not have the security tab available. That is why I am in need of the Command prompt method instead. Again, please provide the command prompt line for me to enable the protection or turn it on again. Thanks!

  10. I would have never figured this out. Thanks for your help. Of course Microsoft could not have been this helpful!

  11. I use an NTFS formatted external USB drive (Western Digital Passport) and this worked great. Thanks for the tip!!!

  12. Thank you so much. I hated that OneCare.

  13. East-tec Eraser 2007 killed these files easily. (erase beyond recovery) However I did enable shares on the folder first (earlier poster suggested this changed security properties).

    Hope this helps someone?

  14. It’s worth mentioning that this does not work under Vista unless you have either turned off UAC or run the cmd windows as Administrator

  15. Thanx! It worked for me!

  16. tried everything posted, none worked, finally tried East-Tec Eraser 2008 – done with ease

  17. Wow thats so cool, cacls save me lot of space in my disc

  18. Worked perfectly! Thank you very much!!

  19. Thanks for the tip!! I have reclaimed over 80 GB of wasted space due to the POS OneCare product I dumped in favor of Norton and Acronis for system backup. Acronis rocks!!!

  20. Cheers .. Worked perfectly. Thanks for the very clear instructions.

  21. Worked like a charm, thanks! The key for me was including the quotation marks which I’m not used to using in cmd windows. THANKS!

  22. I had been trying for a while by twiddling the properties of each file and folder. Found this tip and applied it. It changed all my files/folders so that I could go back and delete them all. Worked great.

  23. I ran the cacls program, typed Y at the the confirmation, but I still can’t delete files/folders. I get a message saying I don’t have permission. Is there anything else that will work?

  24. Go to this link and use the steps by Eric B.

    http://forums.techarena.in/windows-software/1189720.htm

    Basically, change ownership of the folder and it’s contents to your username using the permissions properties and make sure you check all available checkboxes to propagate your changes to all subdirs and files. I also turned UAC off, but I doubt that was necessary. I’d also used cacl as described above but it didn’t work for me.

  25. Thank You! Thank You! Thank You! I have been trying for months to get rid of this backup and this is the only thing that has worked for me!

  26. At last I have got tid of the Windows Onecare files, manay thanks for this :-)


Leave a comment


No trackbacks yet.