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

Posted on 2004-07-30
Medium Priority
Last Modified: 2010-04-13
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.

Question by:djalbright
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +3
LVL 65

Expert Comment

ID: 11682273
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?

Author Comment

ID: 11682830
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.

Expert Comment

ID: 11682973
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.
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Expert Comment

ID: 11683135
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....

Expert Comment

ID: 11683140
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......
LVL 65

Accepted Solution

SheharyaarSaahil earned 1500 total points
ID: 11683499
hmmmmmmmm there is a tool called MoveOnBoot from this site >> http://www.gibinsoft.com/
it says.....

Copies, moves or deletes files and folders on the next system boot. The utility is very useful when the user needs to replace or delete files which are locked by other applications, loaded into the memory or just cannot be changed until next system boot.

here is the download link >> http://www.gibinsoft.net/gipoutils/bin/moveonb.exe

and here is the Description on how to use this tool(although they are talking abt another file) >> http://www.download-free-games.com/removing_dm_exe.htm

so check it can see if u can delete that folder this way :-?

Expert Comment

by:Nabeeh ElDardery
ID: 11685439
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

Expert Comment

ID: 11766424
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.

Author Comment

ID: 11834671
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.


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question