Link to home
Start Free TrialLog in
Avatar of djalbright
djalbrightFlag for United States of America

asked on

Deleting a folder "Access is denied" and taking ownership does not work.

I have a server (2000) with a folder that I cannot gain back permissions and control over. The person that  previously managed the servers is no longer employed with me and I have added administrator and went to advanced and owner tab and took control but still denies me access. Is there a clobber approach I can use ? I do not need anything in this folder.

Thanks,
Dave
djalbright@hotmail.com
Avatar of SheharyaarSaahil
SheharyaarSaahil
Flag of United Arab Emirates image

Hello djalbright =)

Have u tried to delete this folder thru Command Prompt ??

You receive an 'Access Denied' when you attempt to delete a folder from a mounted volume?
http://www.jsiinc.com/SUBG/TIP3400/rh3409.htm
Avatar of djalbright

ASKER

from the command prompt I still get the same thing. Either cannot find the object or access denied.

I am trying to prevent having to pull the drive out put it in another box as a secondary and delete it that way. After all it is a server with some critical applications so this would take place on the graveyard shift I suppose.

It seems like there would be a way to clobber this thing.
was this directory once a part of a ftp site? A legit ftp server or non.
If your system was compromised and used as a hub to transfer illegal software, they could have manipulated the dir.
I know you can deny access or make dirs invisible through certain ftp servers.

If this happened, the only way to undo the dirs is to go through the ftp server, and use ftp raw commands.
before you try to find the file in a command prompt, be sure to check attributes of the file...... right click the file----select properties----uncheck read-only and hidden.....
after that, you should be able to find the file from a command prompt....

then proceed with the first method in my previous post....
often times when this happens it's because some program that is running has the file open.... you can also try to boot in safe mode then trying to delete the file while in safe mode......
ASKER CERTIFIED SOLUTION
Avatar of SheharyaarSaahil
SheharyaarSaahil
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Nabeeh ElDardery
Nabeeh ElDardery

Make sure of teh following

1. The folder is not shared and no one access any files or subfolder of it, if yes: disconnect all sessions from comp. managemt
2. try to create a new account and add it to the to the permission tab with Full control then logon with this account
3. try to rename the folder
4. check the Inheritance option
5. At last, you can make Scan disk, as if the Harddisk has a problem, will have no access to teh folder/ files located on the currepted section of teh harddisk
How long is the path to the file name?  With long paths, sometimes you need to shorten the path to get rid of the file.  Start by renaming from top level and work your way down until the path name is short enough to permit deletion.  This typically happens on User Profiles but could happen elsewhere as well.
None of the answers were correct. I discovered that there were some DFS associations and once those were removed I was able to remove the folders without a problem.

But nevertheless, I thank all of you for your assistance. That did help me delve into the problem.

Dave