Location Not Available Opening User Folders: Fix
In this article
When you try to open a user folder (like Documents, Pictures, or Downloads) and see a “Location is not available” error, it usually means Windows has lost the folder’s actual file path or the folder itself is missing, corrupted, or blocked. The fix is to restore the folder to its default location, recreate it, or change its path in the folder’s Properties dialog—most users can solve this in under five minutes without any data loss. Below is a complete guide to the causes and the exact steps to take for each scenario.
What Causes the “Location Is Not Available” Error
This error appears when Windows tries to open a known folder (Documents, Music, Pictures, Videos, Downloads, Desktop) but the path it has stored no longer points to a valid folder. Common causes include:
- The folder was moved to another drive and the old path is broken (e.g., you moved Documents to D:\Docs, then removed the drive or renamed the folder).
- The folder was deleted by accident, by a cleanup tool, or by a sync service that removed local files.
- The folder is hidden or has its permissions changed so Windows can’t read it.
- A user profile is corrupted, so the shell links (the shortcuts in File Explorer) point to a nonexistent path.
- An external drive or network drive that held the folder is not connected.
The error often appears as a dialog box with “Location is not available” and a path like C:\Users\YourName\Documents, followed by “This folder was moved or removed.” In some cases, you may also see error code 0x80070003 (path not found) or 0x80070005 (access denied).
How to Fix It: Restore the Default Location
The quickest fix is to reset the folder’s location to the default C:\Users\YourName\FolderName. This works even if the folder is missing, because Windows will recreate it.
- Open File Explorer and right-click the folder that shows the error (e.g., Documents) in the left sidebar.
- Select Properties from the context menu.
- Go to the Location tab.
- Click Restore Default (or Reset in some versions).
- Click Apply, then OK.
- If Windows asks “Do you want to create the folder?”, click Yes.
If the default path is already selected but the folder is still missing, click Move and choose a new location, then move it back to the default. This forces Windows to update the registry entry that stores the folder’s path.
If the Folder Is Missing: Recreate It Manually
If the Properties window also fails or the folder doesn’t appear in the sidebar, you can create the folder manually and then reassign it.
- Open
C:\Users\YourName(replace YourName with your actual username). - If the folder (e.g., Documents) is not there, right-click in the window, select New > Folder, and name it exactly as the original (e.g., “Documents”).
- Right-click the new folder, select Properties > Location tab.
- Click Move, select the newly created folder, and click Select Folder.
- Click Apply and OK.
This recreates the folder and points Windows to it. If you had files in the old location and they still exist on another drive, you can copy them into the new folder after the fix.
Common Problems and Their Specific Fixes
Sometimes the error persists even after restoring defaults. Here are the most common edge cases:
- Access denied (0x80070005): Right-click the folder, go to Properties > Security tab, click Advanced, then Change next to Owner. Enter your username, check “Replace owner on subcontainers and objects,” and apply. Then grant yourself Full control.
- Folder is hidden: In File Explorer, go to View > Options > View tab, and select “Show hidden files, folders, and drives.” If the folder appears, right-click it, select Properties, and uncheck Hidden.
- Path points to a network drive or external drive: Connect that drive first, then open the folder and move it back to the local default. If the drive is gone, use the Restore Default method above.
- Error appears on every folder in the sidebar: This usually indicates a corrupted user profile. Create a new local user account, log into it, and copy your files over. You can also try running
sfc /scannowin an elevated Command Prompt to repair system files.
When to Use the Registry Method
If the Properties window doesn’t show a Location tab (rare but possible after a profile corruption), you can edit the registry directly. This is more advanced and should be done carefully—back up the registry first.
- Press Win + R, type
regedit, and press Enter. - Navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders. - Find the value for the folder (e.g., “Personal” for Documents, “My Pictures” for Pictures).
- Double-click it and set the value to the correct path, e.g.,
C:\Users\YourName\Documents. - Close regedit and restart File Explorer (right-click the taskbar > Task Manager > find Windows Explorer > Restart).
Only use this if the standard method fails, because a wrong registry edit can cause other issues. If you’re not comfortable with the registry, skip this and try the user profile repair instead.
How to Prevent This Error in the Future
Most cases happen after moving folders to another drive or using cloud sync services incorrectly. To avoid it:
- When moving a user folder, always use the Location tab in Properties—never cut and paste the folder manually.
- If you move a folder to an external drive, keep that drive connected or move it back before disconnecting.
- Before deleting or cleaning up files, check that you’re not deleting a user folder that Windows still references.
- After a Windows update, check your user folders if you see this error—updates rarely cause it, but a failed update can corrupt the profile.
- Regularly back up your user folders to another drive or cloud service so you can restore them if they go missing.
Frequently Asked Questions
Will I lose my files if I click “Restore Default”?
No, clicking Restore Default only changes the path that Windows uses. It does not delete any files. If the folder was moved to another drive, your files remain there—you’ll need to move them back manually after the fix.
Why does this happen after a Windows update?
Windows updates rarely change user folder paths, but they can corrupt the user profile or reset permissions, which can cause this error. Running the System File Checker (sfc /scannow) and restoring the default location usually resolves it.
Can I use a third-party tool to fix this?
Yes, some system repair tools can fix broken shell folders, but the built-in methods above are safe and usually sufficient. If you use a third-party tool, make sure it’s from a reputable source and back up your registry first.
What if the folder is on a different drive and that drive is broken?
If the drive is broken, you can’t access the files until the drive is recovered. Once you replace the drive, restore the folder to the default location and then copy your recovered files into it.
Does this error affect OneDrive or other cloud folders?
Yes, if you’ve redirected a user folder to a OneDrive folder and OneDrive is not running or the folder is moved, you’ll see the same error. Fix it by opening OneDrive, then restore the default location or set the path to the OneDrive folder again.
Is it safe to edit the registry to fix this?
Editing the registry for this specific fix is safe if you follow the steps exactly and back up the registry first. However, if you’re not comfortable with registry editing, stick to the Properties method or create a new user profile.