Solved

Cannot Delete Folder

Posted on 2013-11-01
9
539 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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
 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

860 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