Discussion Locked

Cannot delete a dir - has no perms

0 helpful
29 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a directory that I cannot delete, cannot change permissions on, and basically can't do anything to. How do I get rid of it? I can see it from cmd and Explorer, but can't get rid of it. I get access denied. I am logged on as admin.

29 replies

by emalino

No, I never get a properties window on it. The system thinks it's not there even though I can see it.

by erickl

You will need to take ownership with an account that has administrative permissions.

by emalino

Thanx, but it won't allow me to take ownership of it either. + I am logged on as admin.

by tamj123

run "cacls" at DOS command sign youself full control to that directory.
exp:
c:\cacls c:\myfiles /t /e /g administrator:f

good luck

by emalino

I've tried all of the command line stuff that is comparable to the windows (GUI) stuff to no avail.

by lbischofs

Go into Server Manager and check to see if anyone has that folder listed under "In Use".
If so, disconnect them from it.

by cchau

Are you logon using your local administrator account not the domain admin account?
Are you able to copy files to this directory?

by lbischofs

What's the name of the dir? Is it possibly a reserved name? Also, by "Been there done that" are you saying it was listed as "In Use" and you disconnected users or it wasn't listed anyway as "In Use". I don't know this system too well yet, but can't you add comments before rejecting? This way folks can carry on a dialog with other suggestions.
IE Have you pressed F5?
Have you tried rebooting?
Are there MACS (Apple machines) on your network? (if so, you may need to delete from a Mac machine).
Good Luck...

by emalino

The name of the dir is com1. It is and was not in use. Rebooting doesn't help. There are not Macs on the network. Thanks.

by juandemarco

I had this excact problem. Run ScanDisk with all the options, reboot, then if it is still there, delete it. This will alow you to get rid of that pesky little dir.
-Juan

by jwildwind

Can you provide the following info?
Is the file on a Server?
Are you trying to delete it from the computer the file resides on?
What version of NT and SP are you running?
And have you referenced TechNet article Q246023?

by emalino

It is a server. I am trying to delete from the computer it resides on. NT4.0 Ver 6.a.

I have looked at the article and it did not help.

by devans63139

Try service packing the machine with SP6a 128-bit. Could be the directory has 128-bit encryption and the commands you're using to delete it have 40-bit.

by ronnonf

Use a utility like CHOWN (can either get via Inet search or emailing Didier.Cassereau@espci.fr for his/her software)

This util works a lot like the UNIX version. Since NT will not see the dir but DOS will you will need to either get a rmdir util or do DELTREE.

by tpeacock

The Back Office Resource Kit (4.5) has a utility called ZAP.EXE. I have successfully deleted directories with same issue.

by ramy naguib

Update to SP6a ,restart and then stop all the services you have including the SERVER and WORKSTATION services.
From cmd (command prompet )delete all the subfolder first then delete the directory.

This discussion is closed to new replies.