• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1299
  • Last Modified:

Cannot delete folder in server 03

Windows Server 2003

User has been copying folders from her desktop (XP Pro SP2) to our file server (2K3 Std).  One of the folders that was copied we can not delete.  We can't take ownership with any of our enterprise accounts.  We just want to delete the folder and start fresh.  Process worked when user was running W2K Pro
0
coconinocounty
Asked:
coconinocounty
  • 5
  • 2
  • 2
  • +5
1 Solution
 
SwindleCommented:
What is the error message it's giving you when you attempt to take ownership?  Here's an article from Microsoft with a lot of suggestions:

http://support.microsoft.com/?kbid=320081
0
 
souseranCommented:
Try the Unlocker program. You can find it here:

http://ccollomb.free.fr/unlocker/
0
 
ChiefITCommented:
Go into the command prompt and check if it has DOS attributes using the "attrib" command. Remove all attributes and then try to delete it.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
ChiefITCommented:
Another think you can do is go to that folder and right click it. Go to properties. As administrator, you should be able to change the security properties to that file. So, go to the security tab. and you will see a list of users with their permissions. click on the ADD button and add the administrator's credentials. Give the administrator Full control and click OK. Exit out and delete the folder.
0
 
dataevCommented:
There's always rmdir (/S for the entire tree) from the server's command line...
0
 
Bird DogCommented:
if she is the one who created the folder why don't you log in with her account and delete the folder
0
 
coconinocountyAuthor Commented:
Have tried subinacl with both replace and owner tags, access denied.  rmdir = access denied.  unlocker program = access denied.  user who is doing move does not have access.  folder has no security tab as no one seems to have ownership or rights on the folder.  uggh...
0
 
ChiefITCommented:
Did you try "Attrib"?

In the command prompt, navigate to the file folder that will have that screwed up folder in it. In other words, Navigate to the folder so, if you type DIR,  you arre able to see the folder in question.

Type ATTRIB.
It should give you a list of attributes on the folder.

Remove all the addributes by using the correct syntax. If it has a read only attribute. Type:
Attrib foldername -R.
 If memory serves me correct. The syntax of (Attrib foldername -a) removes all attributes. Once the attributes are removed try to delete it. Some of these attributes are not recognized by the NTFS permissions and will not allow you to delet it.

Another trick that worked for me is to delet all files in the folder. Some might not be removable. Remove attributes from them and delete those. Or you can rename the files that are not delete-able.  There should be a couple files you can't remove. Rename the file extensions to >>>.TXT and make sure those files have no Attributes.

NOTE:  If you have to rename the files, check your computer for bugs. It could be melicious code protecting the file. It's not uncommon for Virus writers to play with extensions and hose up Windows so you can't delete the file.  
0
 
Dean ChafeeIT/InfoSec ManagerCommented:
You may want to try a chkdsk /f on the volume.  If there is a problem with the security descriptors, it may fix it, then try delete or taking ownership again.
Will require restart of on sysvol.
fs
0
 
coconinocountyAuthor Commented:
Folder is empty.  Has no Attributes set.  Full AV scans are clean for the history of the box.
0
 
souseranCommented:
A bit extreme, I know, but can you reboot the server, bring it up in Safe Mode and then delete the file?
0
 
jsonnenvzlaCommented:
i dont see why you cant take ownership of an empty folder and then delete it ??
0
 
ChiefITCommented:
At the command prompt again, navigate to the folder that contains this annoying folder.
Type Dir and see if the folder has any data in it. Please post that information.

Type  "RD annoyingfoldername" press enter. With no attributes and files in the folder, this folder should go away.  If not change the foldername to foldername.txt. Then see if you can delete it using windows. If not use DOS.
0
 
ChiefITCommented:
http://support.microsoft.com/?kbid=320081

Above link gives many solutions for your problem.
0
 
SwindleCommented:
I was the first person to respond to your question, and I gave you the exact same link that ChiefIT did 2 days later.  Why did he get credit for the answer instead of me?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 5
  • 2
  • 2
  • +5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now