Cannot Delete Folder

I am attempting to delete a folder within a file share on a cluster.  When attempting to delete the folder, I receive "Item Not Found - This is no longer located in ... Verify the item's location and try again".  The folder appears to be partially delete because I can create a folder with the identical name and both can exist.  I am then only able to delete the newly created folder name.  We have failed the share to another cluster and it still occurs.  I have tried deleting from the command prompt with no luck.  Are there any other built in tools to delete the file?  The servers it's running on is Server 2008 SP2 64-bit.
ifooteAsked:
Who is Participating?
 
ifooteConnect With a Mentor Author Commented:
I was able to find a resolution by doing the following.

To solve, follow these steps:
1. Open up a command prompt (run cmd.exe from the Start Menu).
2. Navigate to the folder that the object resides in.
3. Run "dir /a /x /p" to display the contents of the folder, including hidden files (/a) and 8.3 filenames (/x).
4. Find the 8.3 filename of the object to the left of the regular, long filename.
5. Run "ren <8.3 name>" to rename the object, "del <8.3 name>" to delete it if it's a file and "rd /s <8.3 name>" to delete it if it's a folder.
0
 
pony10usCommented:
Have you tried rebooting the server?  It has been a long time since I have seen this (I think back in the days when NT was the server OS) but sometimes we would delete something that would remain listed until we rebooted. Never did figure out the cause though.
0
 
Jason WatkinsIT Project LeaderCommented:
I'd stop sharing the folder first, i.e. take it offline and then delete with Explorer.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
ifooteAuthor Commented:
The server has been rebooted however when we reboot, we fail the cluster over to another server.  We are unable to stop sharing as this is a network share and would impact the whole company.
0
 
pony10usCommented:
Was the folder itself shared?  If so try this:

net share sharename /delete

where sharename = the name the folder was being share as.
0
 
ifooteAuthor Commented:
The folder itself was not shared
0
 
pony10usCommented:
Thank you for posting what finally worked.  This may help someone with the same issue in the future.
0
 
ifooteAuthor Commented:
I was able to resolve on my own.
0
 
ifooteAuthor Commented:
I was able to resolve on my own.
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.

All Courses

From novice to tech pro — start learning today.