Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Folder cannot be deleted - Location is not available

Posted on 2013-01-28
6
Medium Priority
?
2,365 Views
Last Modified: 2013-01-28
I have looked this up and cannot find any solution that works.

I installed a new SATA II hard drive in my desktop as an additional data drive. It is working perfectly.
I backed up all of my Steam games to this drive without any errors. My intention was to move all of the backups to an external drive afterwards. When I tried to move the backup folders (about 30) to an external drive, 2 of them won't copy. When I double click on them, I get the error "Location is not available" - "... refers to a location that is unavailable". If I try and delete these 2 folders, I get "Item not found" - "Could not find this item".
I have tried the following as per various articles on the web:
- Start Windows with last good configuration
- Try and delete from an elevated CMD
- Try and delete from Safe Mode
- Roll back to the last restore point
- Run a full check disk on the drive (drive is healthy, no errors)

I cannot remove these folders at all. I can even create folders with the exact same names in the same folder.

The only thing I can think of is that before I installed the drive (F:), drives F, G, H and I were used by USB ports on my machine. Have I perhaps interfered with Windows recognising F: as a USB device? It doesn't explain why the rest of the files and folders on the drive work fine.

Can it be a drive hardware fault or is this a known Windows issue?
0
Comment
Question by:garion1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
Coffinated earned 1000 total points
ID: 38826288
Can you try deleting from the command prompt using 8.3 file names?
Go to command promt, type "dir /x"
You will see short file names such as
filena~1.txt
filena~2.doc

next type "del filena!1.txt /F"
0
 

Author Comment

by:garion1
ID: 38826445
Thanks. I will try this when I get home later.
0
 
LVL 5

Expert Comment

by:Coffinated
ID: 38826617
Another option you may want to consider are:
1 Kill the explorer
•Open a command prompt
•Navigate to the location where the locked file is
•Press CTRL-ALT-DEL, click on “task manager”, select the Processes tab
•Kill the explorer.exe process via the “End Process” button
•Go back to the command prompt and delete the file
•Bring up the task manager windows again
•Select file->new task
•Type explorer.exe in the “create new task” field
•Press OK.

1. Use Unlocker
http://www.filehippo.com/download_unlocker/

3. Linux Live CD
Download Kaspersky Live CD, https://support.kaspersky.com/viruses/rescuedisk
Delete it from there

4. Check the file ownership, reset file/folder permissions and delete.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Expert Comment

by:ggoodwill
ID: 38826620
I have two solutions here - both third party programs but seem to work brilliantly where the standard toold don't work (both are also free).

The first I'd say to try is "File Assassin", which is actually created by the same people as MalwareBytes:
http://www.malwarebytes.org/products/fileassassin/
It doesn't require an installation, you ust download, unzip and run.

The second one, usually works better, as if it fails the delete it will try a delete during your computers next boot, before the OS launches. This is called "unlocker".
http://www.filehippo.com/download_unlocker/
This does require install, but is only a small program. You also have the option to have it running in the background (can be disabled) to monitor for any issues deleting files. If the windows explorer fails a delete, this will take over and attempt it for you instead. It also integrates with windows explorer so you can right click a file and choose to delete with unlocker. Unlocker can also deal with renaming files and moving files with similar problems.

Hope this helps!
0
 

Author Closing Comment

by:garion1
ID: 38827790
Thanks Coffinated. Worked perfectly. Because they were folders, I had to use "rd filena~1 /S /Q" but you sent me in the right direction.
0
 

Author Comment

by:garion1
ID: 38827912
One more note for people who have the same issue.
I tried creating the backups again and had the same issue. I noticed that the 2 problematic folders had dots and commas in the names. After deleting again, I created the backups without the punctuation and the folders are fine now.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Computer running slow? Taking forever to open a folder, documents, or any programs that you didn't have an issue with before? Here are a few steps to help speed it up. The programs mentioned below ALL have free versions, you can buy them if you w…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

704 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