Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

Windows File Reference Error - Location is not available.

After cleaning up my desktop in Windows 7 professional edition using Admin User, I am now getting a error message when I try to access folders in My documents. Windows is telling me

"refers to a location that is unavailable."

When I set up Windows I changed my My Documents folder from "C:\Users\Mike\Documents" to "C:\McL".

Windows used to know this but for some reason it is now looking for folders in the original C:\Users\Mike\Documents location when the folder is actually in the C:\McL location.

This seems to only happen in certain instances in windows 7. If I click on a shortcut in Explorer it works fine. However, if I click on a shortcut under the Libraries function or if I use a shortcut that is pinned to my task bar or if I am in my Recent list of shortcuts they all throw up this error.

Basically when ever Windows wants to find something in "C:\Users\Mike\Documents" I want it to look in "C:\McL" Is there a way of telling Windows this? If so, can someone please give me a SIMPLE step by step procedure of setting this up? Thanks.
0
Scruples89
Asked:
Scruples89
  • 4
  • 3
1 Solution
 
SStoryCommented:
Try this:

hit the Windows key + R to get to Run, then
type c:\users\<yourusername>\
Right click on documents and choose properties
From that dialog add the c:\McL folder by clicking Include a folder
then select that folder and click the Set save location button
0
 
Scruples89Author Commented:
Okay, I tried this. Yes, the default location was set to C:\users\<yourusername>. When I try to add c:\McL It tells me it is already there as C:\My Documents. So I set this as the default Save location for documents. However, when I try the links that generate the error I get same error.  So this solution does not appear to be working.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Scruples89Author Commented:
That helps partially! I need to find and replace the following string in the list of pinned shortcuts I have under excel and word on my windows 7 task bar. Find C:\User\Mike\Documents Replace with C:\McL\. This only seems to be a problem in certain situations. Pined shrtcuts, Library links, etc.
0
 
SStoryCommented:
I'd love to know how it works out for you and if you lose data in the long run by Windows renaming the directory or anything.  I am considering doing this sort of thing in the future.
0
 
Scruples89Author Commented:
So here is how I fixed this problem.
1. Downloaded juntion.exe from SysInternals on the Microsoft Support Website.
2. Booted into safe Mode under the User Administrator
3. Copied all the folders and files in C:\Users\Mike\Documents to C:\McL
4. Deleted the folder C:\Users\Mike\Documents
5. Ran junction.exe and ponted C:\Users\Mike\Documents to C:\McL
6. Now all the links referencing C:\Users\Mike\Documents use c:\McL instead.
0
 
Scruples89Author Commented:
I solved it myself using the junction function!
0

Featured Post

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.

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