Solved Cannot delete a file :(

aggrressor

New Member
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 a moderator:

My Computer

My Computer

System One

  • Manufacturer/Model
    Self Built
    CPU
    I5 3570K
    Motherboard
    Gigabyte Z77-DS3H
    Memory
    4 x 4GB corsair ballistix sport DDR3 1600 Mhz
    Graphics card(s)
    Gigabyte Geforce GTX 660 TI
    Sound Card
    creative x-fi
    Monitor(s) Displays
    Primary CiBox 22" Widescreen LCD ,Secondary Dell 22" Widescreen
    Screen Resolution
    Both 1680 x 1050
    Hard Drives
    2 x 500G HD (SATA) 1 x 2TB USB
    PSU
    Corsair HX 620W ATX2.2 Modular SLI Complient PSU
    Case
    Antec 900 Ultimate Gaming Case
    Cooling
    3 x 80mm tri led front, 120mm side 120mm back, 200mm top
    Mouse
    Technika TKOPTM2
    Keyboard
    Logik
    Internet Speed
    288 / 4000
    Other Info
    Creative Inspire 7.1 T7900 Speakers Trust Graphics Tablet
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. :D
 

My Computer

Nice to hear it is sorted.
 

My Computer

System One

  • Manufacturer/Model
    Self Built
    CPU
    I5 3570K
    Motherboard
    Gigabyte Z77-DS3H
    Memory
    4 x 4GB corsair ballistix sport DDR3 1600 Mhz
    Graphics card(s)
    Gigabyte Geforce GTX 660 TI
    Sound Card
    creative x-fi
    Monitor(s) Displays
    Primary CiBox 22" Widescreen LCD ,Secondary Dell 22" Widescreen
    Screen Resolution
    Both 1680 x 1050
    Hard Drives
    2 x 500G HD (SATA) 1 x 2TB USB
    PSU
    Corsair HX 620W ATX2.2 Modular SLI Complient PSU
    Case
    Antec 900 Ultimate Gaming Case
    Cooling
    3 x 80mm tri led front, 120mm side 120mm back, 200mm top
    Mouse
    Technika TKOPTM2
    Keyboard
    Logik
    Internet Speed
    288 / 4000
    Other Info
    Creative Inspire 7.1 T7900 Speakers Trust Graphics Tablet
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 Computer

System One

  • Manufacturer/Model
    Gateway T-6836
    CPU
    Intel(R) Core(TM)2 Duo T5750 @ 2.00 GHz
    Motherboard
    Mobile Intel(R) 965 Express Chipset Family
    Memory
    4.00 GB
    Graphics card(s)
    Intel GMA X3100 (integrated)
    Sound Card
    SigmaTel High Definition Audio CODEC
    Monitor(s) Displays
    13.1" Generic PnP Monitor
    Screen Resolution
    1280x800
    Hard Drives
    Fujitsu MHZ2320BH-G2 320GB SATA Drive, 5400 rpm, 300MBps
    PSU
    Gateway ADP-65HB BB (Output: 19v, 3.42A)
    Mouse
    Logitech V220 Wireless Mouse or Synaptics Touchpad V5.10
    Keyboard
    Standard PS/2 Keyboard (Laptop)
    Internet Speed
    16 Mbps down, 4 Mbps up
Back
Top