Fix Desktop Refers to a Location That Is Unavailable
In this article
Yes, you can fix the “Desktop refers to a location that is unavailable” error by restoring the Desktop folder’s default location or recreating the Desktop path in File Explorer. This error usually appears when Windows loses track of the Desktop folder, often after moving it to an external drive, a network location, or a drive that is no longer connected. The fix involves pointing Windows back to a valid folder, and you can do it in a few minutes without special tools.
What You'll Need
- Administrator access to your Windows user account (you’ll need to confirm UAC prompts).
- Access to File Explorer (Win + E).
- If your Desktop folder was on an external drive, reconnect that drive first, or be ready to copy any files you need from it.
Step-by-Step
- Open File Explorer. Press Win + E on your keyboard.
- Go to the Desktop folder’s properties. In the left sidebar, right-click on Desktop (under “Quick access” or “This PC”) and select Properties. If you don’t see Desktop there, navigate to
C:\Users\[YourUsername]and right-click the Desktop folder there. - Open the Location tab. In the Properties window, click the Location tab. (If you don’t see a Location tab, you may be looking at a different folder – make sure it’s the actual Desktop folder.)
- Check the current path. The “Location” field will show where Windows thinks the Desktop is. If it points to a drive that no longer exists (like
E:\Desktop), that’s the problem. - Restore the default location. Click the Restore Default button. This sets the path back to
C:\Users\[YourUsername]\Desktop. If the default folder doesn’t exist, Windows will ask if you want to create it – click Yes. - Apply the changes. Click Apply, then OK. Windows may ask if you want to move files from the old location – choose Yes if you want to keep them, or No if you’ll handle them manually.
- Restart File Explorer or sign out. To fully clear the error, right-click the taskbar and select Task Manager, find Windows Explorer in the list, right-click it, and choose Restart. Or simply sign out and sign back in.
- Test the fix. Click on the Desktop icon on the taskbar or press Win + D to see your desktop. The error should be gone.
Note: Menu labels can differ slightly by Windows version (Windows 10 vs 11) and language, but the Location tab is present in all current versions.
Common Mistakes
- Deleting the Desktop folder before fixing the path. If you delete the folder, Windows won’t know where to create the default. Instead, use “Restore Default” which will create it if missing.
- Pointing Desktop to a network drive. If you set Desktop to a network path that isn’t always available, you’ll get this error. Always use a local folder.
- Forgetting to apply the change. Just clicking “Restore Default” without clicking “Apply” won’t save the change.
- Editing the registry manually. Some guides suggest changing registry keys, but that’s risky and unnecessary – the Properties window is the safe way.
Tips
- Keep Desktop on your system drive. Even if you have a second hard drive, it’s best to keep the Desktop folder on the C: drive to avoid this error.
- If you must move it, use a local drive that is always connected. An internal secondary drive is fine, but an external USB drive is not recommended.
- Back up your Desktop files regularly. Use File History or another backup tool so you don’t lose files if the path breaks.
- After fixing, check other folders. The same error can happen for Documents, Downloads, Pictures, etc. You can apply the same fix to those folders.
Troubleshooting
If the error persists after following the steps:
- Check if the Desktop folder actually exists. In File Explorer, go to
C:\Users\[YourUsername]and see if there’s a Desktop folder. If not, right-click in that folder, select New > Folder, name itDesktop, then repeat the “Restore Default” steps. - Run a system file check. Open Command Prompt as administrator (search “cmd”, right-click, “Run as administrator”) and type
sfc /scannow. This repairs corrupted Windows files that might be causing the issue. - Try a new user account. Create a temporary new user account (Settings > Accounts > Family & other users > Add account). If the error doesn’t appear there, the issue is with your user profile. You can then migrate your files.
- If the error appears at login before you can open File Explorer, press Ctrl + Alt + Del and choose “Task Manager”. In Task Manager, click “File > Run new task”, type
explorer.exeand check “Create this task with administrative privileges”. This may open the desktop temporarily so you can fix the path. - As a last resort, you can use System Restore to go back to a point before the error started. Search “Create a restore point” in the Start menu, open the System Properties, click “System Restore”, and follow the prompts. This won’t delete your files.
Frequently Asked Questions
Why did this error happen?
Most commonly, the Desktop folder was moved to an external drive or a network location that became unavailable. Windows then can’t find the folder and shows the error.
Will I lose my desktop files if I click “Restore Default”?
No. Windows will ask if you want to move files from the old location. If you choose “Yes”, it will copy them to the new default folder. If you choose “No”, the files remain in the old location (if it’s still accessible).
Can I fix this without admin rights?
No, you need administrator access to change the Desktop folder’s location. If you’re on a work or school computer, contact your IT admin.
What if the Desktop folder is on a drive that’s no longer connected?
Reconnect the drive first, then follow the steps to move the folder back to C:. If you can’t reconnect it, you’ll have to restore the default and accept that files on the old drive won’t be automatically moved.
Does this error affect my files?
No, the files are usually still on the old drive. The error just means Windows can’t show them on the desktop. Once you fix the path, you can access them again.
Is this a sign of a failing hard drive?
Not necessarily. It’s almost always a path issue. However, if the error appears repeatedly, it’s worth checking the health of the drive where the Desktop folder resides.