Solved

Cannot Delete Folder

Posted on 2013-11-01
9
537 Views
Last Modified: 2013-11-23
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
Comment
Question by:ifoote
  • 5
  • 3
9 Comments
 
LVL 26

Expert Comment

by:pony10us
ID: 39616802
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
 
LVL 27

Expert Comment

by:Jason Watkins
ID: 39616966
I'd stop sharing the folder first, i.e. take it offline and then delete with Explorer.
0
 

Author Comment

by:ifoote
ID: 39617035
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
 
LVL 26

Expert Comment

by:pony10us
ID: 39617197
Was the folder itself shared?  If so try this:

net share sharename /delete

where sharename = the name the folder was being share as.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:ifoote
ID: 39657137
The folder itself was not shared
0
 

Accepted Solution

by:
ifoote earned 0 total points
ID: 39657611
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
 
LVL 26

Expert Comment

by:pony10us
ID: 39657631
Thank you for posting what finally worked.  This may help someone with the same issue in the future.
0
 

Author Comment

by:ifoote
ID: 39657656
I was able to resolve on my own.
0
 

Author Closing Comment

by:ifoote
ID: 39671105
I was able to resolve on my own.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

914 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now