can't delete folders
I have a windows 7 pro 64 Bit machine joined up to SBS 08 domain. My login account has admin rights locally and on the domain. I got some file corruption and decided to re do my machine. After I wiped it clean and reinstralled windows on it I am tring to copy back some of my files. I went into the c:\windows\web\walpaper directory and wanted to delete all the folders (as I did on my previous install) and delete all the folders and create new ones. It will not let me delete anything including individual IPG files. I tried going to the security tab on the properties of the folders and individual files and add my account with full permissions but it will not let me. I just get a error "an error occured when adding security information" access denied. How can I turn this off. I'm not sure if this matters but there is an account called the trusted installer that does have permission. Any help would be appreciated. Thanks Robert WigginsRobert Wiggins
July 2nd, 2011 2:42am

Hi, Thanks for posting in Microsoft TechNet forums. Usually, this is because Windows system files are owned by the TrustedInstaller service by default, and Windows File Protection will keep them from being overwritten. To delete them, you need to grand yourself full control over the folder. Click Start, type CMD and press Ctrl+Shift+Enter key combination to open an administrator command prompt. To take ownership of the file, you’ll need to use the takeown command. Here’s an example: takeown /f C:\Windows\System32\Test.txt The folder Test.txt under C:\Windows\System32 is the one you want to delete. After taking ownership of the file, please run the cacls command to give yourself full control rights to the file: cacls C:\Windows\System32\Test.txt /G Magon:F Please note: Magon is my username, replace it with your username. After that, try deleting the folders. If still no go, in case any application is using them, please boot into Safe Mode and repeat the steps above. Best Regards Magon Liu TechNet Subscriber Support in forum. If you have any feedback on our support, please contact tnmff@microsoft.com Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 4th, 2011 1:46pm

Thanks for the help.Robert Wiggins
July 4th, 2011 6:07pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics