View Full Version : Permission Set to Everyone Deny - Can't take ownership


Cory Blythe
A user that is no longer with us set security to several
of his personal files to Everyone Deny on his share
drive. Before we realized this the user account was
removed and now the administrator account cannot take
ownership of the files in order to change the security
settings and delete the files.

All I really need to do is delete these files from the
hard drive can anyone point me in the right direction?

Thank You
Cory Blythe


Hit send too fast.
Operating system is Windows 2000 Server SP4.

Steven L Umbach
The administrator can always take ownership unless that user right has been removed
as shown by the effective setting on that computer in Local Security Policy /security
settings/local policies/our rights. What kind of error does the administrator get??
Make sure that the user logging on to take ownership is actually in the
administrators local group as shown by [net localgroup administrators] . If you still
have problems use fileacl with the /force switch to force ownership for the
administrators and then change permissions to grant access and deletion. See the
links below for more information. --- Steve

http://www.microsoft.com/downloads/details.aspx?FamilyID=723f64ea-34f0-4e6d-9a72-004d35de4e64&DisplayLang=en
http://www.gbordier.com/gbtools/fileacl.htm
http://support.microsoft.com/?kbid=320081 -- KB article on folder deletion problems

"Cory Blythe" wrote in message
news:0b1601c48b79$af663030$a401280a@phx.gbl...
>A user that is no longer with us set security to several
> of his personal files to Everyone Deny on his share
> drive. Before we realized this the user account was
> removed and now the administrator account cannot take
> ownership of the files in order to change the security
> settings and delete the files.
>
> All I really need to do is delete these files from the
> hard drive can anyone point me in the right direction?
>
> Thank You
> Cory Blythe
>



Cory Blythe
Thanks for the tip that allowed me to take ownership as
admin but I still get a 'File may be in use' error when I
try and delete them. I'll have to wait until off hours
and try a reboot to see if that clears the flag.

Thanks Again
Cory Blythe

>-----Original Message-----
>The administrator can always take ownership unless that
user right has been removed
>as shown by the effective setting on that computer in
Local Security Policy /security
>settings/local policies/our rights. What kind of error
does the administrator get??
>Make sure that the user logging on to take ownership is
actually in the
>administrators local group as shown by [net localgroup
administrators] . If you still
>have problems use fileacl with the /force switch to force
ownership for the
>administrators and then change permissions to grant
access and deletion. See the
>links below for more information. --- Steve
>
>http://www.microsoft.com/downloads/details.aspx?
FamilyID=723f64ea-34f0-4e6d-9a72-
004d35de4e64&DisplayLang=en
>http://www.gbordier.com/gbtools/fileacl.htm
>http://support.microsoft.com/?kbid=320081 -- KB article
on folder deletion problems
>
>"Cory Blythe" wrote
in message
>news:0b1601c48b79$af663030$a401280a@phx.gbl...
>>A user that is no longer with us set security to several
>> of his personal files to Everyone Deny on his share
>> drive. Before we realized this the user account was
>> removed and now the administrator account cannot take
>> ownership of the files in order to change the security
>> settings and delete the files.
>>
>> All I really need to do is delete these files from the
>> hard drive can anyone point me in the right direction?
>>
>> Thank You
>> Cory Blythe
>>
>
>
>.
>

Steven L Umbach
Using the del command and or booting into safe mode may help. SysInternals has a neat
utility that can show what process is holding a file open called handles. Otherwise
refer to the KB link I last provided that shows some advanced options for the del
command. --- Steve


"Cory Blythe" wrote in message
news:08ce01c48ea1$6b5a37d0$a401280a@phx.gbl...
> Thanks for the tip that allowed me to take ownership as
> admin but I still get a 'File may be in use' error when I
> try and delete them. I'll have to wait until off hours
> and try a reboot to see if that clears the flag.
>
> Thanks Again
> Cory Blythe
>
>>-----Original Message-----
>>The administrator can always take ownership unless that
> user right has been removed
>>as shown by the effective setting on that computer in
> Local Security Policy /security
>>settings/local policies/our rights. What kind of error
> does the administrator get??
>>Make sure that the user logging on to take ownership is
> actually in the
>>administrators local group as shown by [net localgroup
> administrators] . If you still
>>have problems use fileacl with the /force switch to force
> ownership for the
>>administrators and then change permissions to grant
> access and deletion. See the
>>links below for more information. --- Steve
>>
>>http://www.microsoft.com/downloads/details.aspx?
> FamilyID=723f64ea-34f0-4e6d-9a72-
> 004d35de4e64&DisplayLang=en
>>http://www.gbordier.com/gbtools/fileacl.htm
>>http://support.microsoft.com/?kbid=320081 -- KB article
> on folder deletion problems
>>
>>"Cory Blythe" wrote
> in message
>>news:0b1601c48b79$af663030$a401280a@phx.gbl...
>>>A user that is no longer with us set security to several
>>> of his personal files to Everyone Deny on his share
>>> drive. Before we realized this the user account was
>>> removed and now the administrator account cannot take
>>> ownership of the files in order to change the security
>>> settings and delete the files.
>>>
>>> All I really need to do is delete these files from the
>>> hard drive can anyone point me in the right direction?
>>>
>>> Thank You
>>> Cory Blythe
>>>
>>
>>
>>.
>>