ThisCalculator

Everyday

Get Documents Folder Back: 6 Fixes for Windows

Updated · Standard formula, shown below

If your Documents folder has vanished from File Explorer, your user profile, or This PC, you can usually restore it in a few minutes without any data loss. The fix depends on why it disappeared—whether it was accidentally deleted, hidden, redirected, or corrupted—and this guide walks through the most common causes and their solutions.

Why the Documents Folder Disappears

The Documents folder (officially C:\Users\YourName\Documents) is a special system folder. Windows tracks it through a set of hidden GUID-based registry keys and shell folders, not just as a plain directory. This means it can vanish from view while the actual files still exist on your hard drive. Common reasons include:

  • The folder was accidentally deleted from its usual location.
  • A OneDrive or cloud backup redirect moved it to another drive.
  • A Windows update or third-party cleanup tool altered the registry entry.
  • User profile corruption after a crash or forced shutdown.
  • The folder is hidden by a group policy or a manual attribute change.

First: Check If Your Files Still Exist

Before trying any fix, confirm whether your actual files are intact. Open File Explorer and type %USERPROFILE% in the address bar, then press Enter. This opens your user folder. If you see a Documents subfolder here, your files are likely fine—you just need to restore the shortcut in File Explorer’s sidebar. If you don’t see it, search your entire drive for a folder named Documents using the search box in File Explorer (set it to “This PC”). Many times the folder still exists but is hidden or moved.

Fix 1: Restore via Folder Properties (Most Common)

This is the quickest solution when the folder is missing from the Quick Access sidebar but your files are still in the user folder. Right-click on the Documents folder (in your user folder) and select Properties. Go to the Location tab. If the path is empty or points to a non-existent drive, click Restore Default and then Apply. Windows will ask if you want to move your files—choose Yes if the original location is available, or No if you want to keep files where they are. This resets the registry pointer to the default C:\Users\YourName\Documents.

Fix 2: Unhide the Folder

Sometimes the folder is simply hidden. In File Explorer, click the View tab and check Hidden items. If you see a faded Documents folder, right-click it, select Properties, uncheck Hidden under the General tab, and click OK. If the checkbox is grayed out, you may need to remove the hidden attribute via Command Prompt:

  1. Open Command Prompt as administrator (search “cmd”, right-click, “Run as administrator”).
  2. Type attrib -h -s "C:\Users\YourName\Documents" and press Enter.
  3. Replace YourName with your actual username.

Fix 3: Recreate the Folder Manually

If the folder was truly deleted and you have no backup, you can create a new one. In your user folder (%USERPROFILE%), right-click, select New > Folder, and name it Documents. Then right-click it, go to Properties > Location, and click Restore Default to link it to the system. This gives you a fresh Documents folder that Windows will recognize. Any old files that were deleted are gone unless you have a backup—check the Recycle Bin first.

Fix 4: Reset the Folder Path via Registry

If the folder still doesn’t appear in the sidebar, the registry entry may be corrupted. This should be a last resort—back up your registry first. Open Registry Editor (search regedit), navigate to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Find the value named Personal (this is the Documents folder). Double-click it and set its data to %USERPROFILE%\Documents. Also check HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders and update the same value. Restart Explorer (via Task Manager) or reboot.

Fix 5: Re-register the Folder in Windows

If the folder is still missing, you can re-register it using PowerShell. Open PowerShell as administrator and run:

New-Item -Path "$env:USERPROFILE\Documents" -ItemType Directory -Force

Then run klist or simply restart the computer. This is often enough to make Windows recognize the folder again. If the issue persists, run the System File Checker by typing sfc /scannow in an elevated Command Prompt—this repairs corrupted system files that might affect shell folders.

Fix 6: Check OneDrive Redirection

If you use OneDrive, your Documents folder may be redirected to C:\Users\YourName\OneDrive\Documents. This is normal, but if OneDrive is unlinked or paused, the folder can appear missing. Open OneDrive settings, go to Account > Choose folders, and ensure your Documents folder is checked. If you want to move it back to the local drive, follow Fix 1 and set the location to C:\Users\YourName\Documents.

Frequently Asked Questions

Will I lose my files if I delete the Documents folder?

Yes, if you permanently delete it, the files inside are gone. Always check the Recycle Bin first. If you only removed the shortcut from the sidebar, your files are safe.

Why is my Documents folder showing in OneDrive instead of local?

OneDrive offers to redirect your known folders (Documents, Pictures, Desktop) to its cloud storage for backup. This is a feature, not an error. You can change it back via the folder’s Properties > Location tab.

Can I move the Documents folder to another drive?

Yes. Right-click the folder, go to Properties > Location, and enter a new path like D:\Documents. Windows will move the contents and update the registry so apps still find it.

What if the Documents folder is missing from File Explorer but appears in the user folder?

This usually means the shell registry entry is broken. Use Fix 4 to reset the Personal value, or simply right-click the folder and choose “Pin to Quick Access.”

Does reinstalling Windows restore my Documents folder?

If you choose “Reset this PC” with the option to keep your files, Windows recreates the default folders but may not restore deleted ones. Always back up important data before a reset.

Why does the Documents folder keep disappearing after a reboot?

This can be caused by a third-party cleanup tool that removes empty folders, or a group policy that hides it. Check your scheduled tasks and disable any “disk cleaner” that targets user folders.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.