Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 556
  • Last Modified:

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.
0
ifoote
Asked:
ifoote
  • 5
  • 3
1 Solution
 
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
 
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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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
 
ifooteAuthor 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:
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

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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