Click here to get back home

Access denied for a particular file - nothing helps

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Access denied for a particular file - nothing helps Muzzzy 07-24-2007
Posted by Muzzzy on July 24, 2007, 2:18 pm
Please log in for more thread options
Hi,

I'm running a Win2003 R2 server with AD (at home for file sharing);
yesterday i decided to do a backup by just copying the D: drive onto a 1
TB external drive. On one file it gave "Access denied" error and so far
I can't find a way to get rid of it:

1. I'm running as a user with admin rights, but still i changed
ownership of the file to myself - didnt help;
2. I checked if file is locked by a process (which would be weird as
this file is not used - it's a part of an old archive) - none.
3. I ran couple of different antiviruses overnight - none
4. Ran chkdsk - didn't find any problems

I need to note that problem exists if i try to do anything with the
file, even just renaming it.

I'm totally lost - had similar problem in the office with a file on a
network share but it helped changing ownership.

Any help is greatly appreciated!

Thank you in advance,
Andrey

Posted by Olaf Engelke [MVP Windows Serv on July 24, 2007, 6:58 pm
Please log in for more thread options
Hello,
Muzzzy wrote:
> I'm running a Win2003 R2 server with AD (at home for file sharing);
> yesterday i decided to do a backup by just copying the D: drive onto
> a 1 TB external drive. On one file it gave "Access denied" error and
> so far I can't find a way to get rid of it:
>
> 1. I'm running as a user with admin rights, but still i changed
> ownership of the file to myself - didnt help;
> 2. I checked if file is locked by a process (which would be weird as
> this file is not used - it's a part of an old archive) - none.
> 3. I ran couple of different antiviruses overnight - none
> 4. Ran chkdsk - didn't find any problems
>
> I need to note that problem exists if i try to do anything with the
> file, even just renaming it.
>
did you try already a reboot?
Does the file have a specific (reserved) name or wird characters in the
name?
Can you access it from cmd prompt? (Sometimes only the Windows explorer is
unable ...)
What is the output of cacls for that file?
Anything in the event log?
Best greetings from Germany
Olaf


Posted by Muzzzy on July 24, 2007, 11:05 pm
Please log in for more thread options
Hi Olaf,

Thanks for trying to help me! I really appreciate that!

Output of cacls:

D:\Andrey\Netcat>cacls nc.exe
D:\Andrey\Netcat\nc.exe BUILTIN\Administrators:F
NT AUTHORITY\SYSTEM:F
BUILTIN\Users:F

and as you can see it's not a system/reserved name. And yes, i did
reboot; also i ran Unlocker to see if for any reason this file is locked
by any process and it's not.

Was able to delete from cmd, but it doesn't solve the problem though: i
have couple more files like that and those I need to use, so i can't
delete them... any suggestions?


Olaf Engelke [MVP Windows Server] wrote:
> Hello,
> Muzzzy wrote:
>> I'm running a Win2003 R2 server with AD (at home for file sharing);
>> yesterday i decided to do a backup by just copying the D: drive onto
>> a 1 TB external drive. On one file it gave "Access denied" error and
>> so far I can't find a way to get rid of it:
>>
>> 1. I'm running as a user with admin rights, but still i changed
>> ownership of the file to myself - didnt help;
>> 2. I checked if file is locked by a process (which would be weird as
>> this file is not used - it's a part of an old archive) - none.
>> 3. I ran couple of different antiviruses overnight - none
>> 4. Ran chkdsk - didn't find any problems
>>
>> I need to note that problem exists if i try to do anything with the
>> file, even just renaming it.
>>
> did you try already a reboot?
> Does the file have a specific (reserved) name or wird characters in the
> name?
> Can you access it from cmd prompt? (Sometimes only the Windows explorer
> is unable ...)
> What is the output of cacls for that file?
> Anything in the event log?
> Best greetings from Germany
> Olaf

Posted by Olaf Engelke [MVP Windows Serv on July 25, 2007, 5:48 am
Please log in for more thread options
Hello,
> Thanks for trying to help me! I really appreciate that!
>
> Output of cacls:
>
> D:\Andrey\Netcat>cacls nc.exe
> D:\Andrey\Netcat\nc.exe BUILTIN\Administrators:F
> NT AUTHORITY\SYSTEM:F
> BUILTIN\Users:F
>
> and as you can see it's not a system/reserved name. And yes, i did reboot;
> also i ran Unlocker to see if for any reason this file is locked by any
> process and it's not.
>
> Was able to delete from cmd, but it doesn't solve the problem though: i
> have couple more files like that and those I need to use, so i can't
> delete them... any suggestions?

maybe the virus scanner is involved?
You could also check, if you see something with Process Explorer.
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx
Best greetings from Germany
Olaf


Posted by Roger Abell [MVP] on July 25, 2007, 11:31 am
Please log in for more thread options
> Hello,
>> Thanks for trying to help me! I really appreciate that!
>>
>> Output of cacls:
>>
>> D:\Andrey\Netcat>cacls nc.exe
>> D:\Andrey\Netcat\nc.exe BUILTIN\Administrators:F
>> NT AUTHORITY\SYSTEM:F
>> BUILTIN\Users:F
>>
>> and as you can see it's not a system/reserved name. And yes, i did
>> reboot; also i ran Unlocker to see if for any reason this file is locked
>> by any process and it's not.
>>
>> Was able to delete from cmd, but it doesn't solve the problem though: i
>> have couple more files like that and those I need to use, so i can't
>> delete them... any suggestions?
>
> maybe the virus scanner is involved?

Hi Olaf !!
That was exactly my thinking, anti-malware interference,
especially seeing netcat\nc.exe
Roger


> You could also check, if you see something with Process Explorer.
>
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx
> Best greetings from Germany
> Olaf



Similar ThreadsPosted
Access to NT4 File Ressources denied from Windows 2003 System April 7, 2006, 2:49 am
Getting Access is Denied March 2, 2006, 6:30 pm
DRA and access denied September 28, 2006, 10:13 am
Everybody denied access to a folder June 19, 2006, 4:52 am
Access XP Permission Denied July 12, 2006, 9:52 pm
CDROM Drive access denied October 31, 2005, 10:40 am
Certificate services Access Denied November 9, 2005, 9:02 pm
Access denied to event viewer? December 22, 2005, 4:07 pm
DCOM access denied after SP1 applied January 6, 2006, 3:46 pm
Event Viewer Access Denied January 27, 2006, 12:37 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap