20
7
I have got this file that I can't delete. It happened after a system crash, so the CHKDSK kicked in upon next reboot. After that, I can't delete the file. THis is on Windows Home Server, and the file is one of those hidden Thumbs.db, and my WHS reports a "File conflict" on the file, the reason: Access Denied"
What I have tried so far, running as an Administrator:
Delete: Access Denied
TakeOwn.exe : Access Denied
Attrib.exe -s -h : Access Denied
cacls.exe : Access Denied
(even whe trying to display the current owner)
Rename: File not found
(its hidden)
Re-boot in to safe mode and tried the above: Access Denied
Running the above commands as Local System: Access Denied
Tizer Unlocker: Fail
(Doesn't find anything locking the file)
File Assasin: Crashes
("FindRemoteFileHandles returned NULL value.")
I have used the CHKDSK /f again, rebooted since some suggestions is that the file has been corrupted, but that didn't change anything.
Any suggestions ?
Update: In a total separate scenario, I experienced a similar situation; Access Denied when trying to take ownership of a file. It turned out that the file was owned by TrustedInstaler
, which is not possible to override just by being an Administrator. In this case, one can use psexec /ids cmd
to elevate yourself to System and then TakeOwn.exe /a
1and when psexec then takeown ALSO results in an "access denied" ? How do I use process monitor to find this low level error? – frumbert – 2015-07-02T06:26:43.900
>
@Hugh. 1. Can't be determined. CACLS.EXE gets Access Denied when trying to display owner. 2. I can't get any higher in the hierarchy than Administrator. 3. Rename can't find the file, since its hidden. – Magnus – 2010-04-12T19:14:58.337
Have you tried using Process Monitor to see what the low-level error is? http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
– Hugh Allen – 2010-04-14T07:12:50.060(in Process Monitor, so as not to be overwhelmed with a flood of info, add an Include filter for "Path contains Thumbs.db". An Include filter excludes everything else.) – Hugh Allen – 2010-04-14T07:15:01.957
I have a similar problem with a acouple of files I need to delete. I tried CACLS, ICALCS, and TakeOwn all running as Administrator and then System using psexec. I also tried Unlocker. Nothing has worked. – Fred – 2013-09-10T00:40:03.887