Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > System Security

Vista - Cannot delete a file :(

Reply
 
Old 04-29-2009   #1 (permalink)


Vista Ultimate x64
 
 

Cannot delete a file :(

Hi guys, i've been searching the internet for a few days now, but all I could find is a similar thread, resolutions of which didn't work.

I have a Vista Ultimate x64, which I reinstalled a few days ago. I also have a large drive(D:\), where I keep some of my software, which i don't use regularly or which does not require a performance of my main RAID 0 (C:\) setup.
Before reinstallation I didn't remove old software from drive D:\. Didn't think I had to, afterall it's not the first reinstall that i'm doing and it would be kind of stupid. Anyways, to the point...
I have a folder "D:\Program Files (x86)" with a bunch of software. I was able to delete all of it manually, but a few folders, created by adobe acrobat.

I am logged in as Administrator (actual administrator, not user with admin. perm.)
UAC is disabled
Drive is owned by this acct.
I was able to delete everything manually inside "Adobe\Acrobat", but "D:\Program Files (x86)\Adobe\Acrobat 9.0\Resource\CMap" just would not delete, getting a "You need permission to perform this action" message.
Folders and Files are set as "Read Only" and when i'm trying to uncheck, i'm getting "You will need to provide Administrator permission to change these attributes" message, after clicking "Continue" i'm getting "An error occured applying attributes to the file" "...filename..." "Access is denied".

I have an Acrobat 8.0 folder from like a year and a half ago, which does the same thing......
All Files have "RA" in the attributes section of the details tab and Owner is "SYSTEM"

Any help is greatly appreciated!


Last edited by roy69; 04-30-2009 at 01:52 PM.. Reason: solved
My System SpecsSystem Spec
Old 04-29-2009   #2 (permalink)


Vista home premium 64 bit
 
 

Re: Cannot delete a file :(

Have you tried in safe mode?
It sounds as if abode is locking the files for use.

Look here;
Take Ownership of file
My System SpecsSystem Spec
Old 04-29-2009   #3 (permalink)


Vista Ultimate x64
 
 

Re: Cannot delete a file :(

I've tried in Safe Mode, didn't help.
I've also tried taking ownership a few different ways, but that didn't work either.
However, what did work is when I manually went into "security" tab of a single file and noticed that Administrator permissions are set as read only. I've added full control and was able to delete it. After searching how to do it as a batch, i began to dig deeper, and thanks to your link, i somehow came across this thread Easier Way to Take Ownership and Grant Access Files or Directories in Vista » My Digital Life and it helped me alot.
I just used precisely these commands
takeown /f %1 /r /d y
and
icacls %1 /grant administrators:F /t
where %1 is a full file or directory path and it worked.
Thank you very much for pointing me in a right direction
I don't remember which thread lead me to that last one. It's all kind of blurry, considering that i've been trying to find a solution for the past few days.
My System SpecsSystem Spec
Old 04-30-2009   #4 (permalink)


Vista home premium 64 bit
 
 

Re: Cannot delete a file :(

Nice to hear it is sorted.
My System SpecsSystem Spec
Old 05-04-2009   #5 (permalink)


Vista Home Premium 64-bit
 
 

Re: Cannot delete a file :(

If you download Malwarebytes' Anti-Malware, it contains a tool called FileAssassin that might work if you need to do it again more easily in the future.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
cannot delete a file due to error that file is open Vista file management
cannot delete old DOS file Vista file management
cannot delete mail in delete file Vista mail
Create New folder, move file, delete file. Explorer Freeze General Discussion
Re: YOU CANT DELETE A FILE? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46