A Microsoft file hosting and synchronization service.
The safest recovery path is to stop further sync changes first, then reconnect OneDrive only after confirming where the files still exist.
- Check whether the missing files are still in OneDrive online and in recycle bins.
- Search for the missing files in OneDrive on the web.
- Check both the OneDrive Recycle Bin and the Windows Recycle Bin.
- Also check whether the files were moved under the OneDrive Documents folder instead of the original local Documents path.
- Verify whether Documents backup was turned on.
- Open the OneDrive cloud icon in the taskbar.
- Go to Help & Settings > Settings > Sync and backup > Manage backup.
- Confirm whether Documents is being backed up. If it was turned on, that explains why the separate local Documents folder started syncing.
- Unlink the affected PC again before making more folder changes.
- Select the OneDrive cloud in the notification area.
- Select Help and Settings > Settings.
- Open the Account tab.
- Select Unlink this PC > Unlink account.
- Clear the local sign-in settings before re-linking.
- Press Windows key + R.
- Enter
%localappdata%\Microsoft\OneDrive\settings. - Delete
PreSignInSettingsConfig.json.
- Sign in again and choose the correct OneDrive folder.
- Start OneDrive and sign in.
- When prompted about an existing folder, select Use this folder only if it is the original correct OneDrive folder.
- If the prompt points to the wrong location, select Choose new folder and pick the intended OneDrive location.
- Do not rename the synced OneDrive folder after sync is established.
- Renaming the synced folder breaks the sync relationship.
- If a fresh sync folder must be created, rename the old disconnected folder first so the expected name is available, then sync again.
- If the current library state is badly duplicated or partially synced, stop and resync.
- Stopping sync disconnects the folder from the library but keeps files in both the previously synced folder and the library.
- Then start syncing again to get fresh data.
- If files appear online but not locally, download only what is needed.
- Right-click the required files or folders and choose Always keep on this device.
- If the issue is only that File Explorer still shows items as syncing, check for hidden or temporary files.
- Show hidden files and folders in File Explorer.
- Remove hidden files and folders that are not associated with files currently being edited.
- Close open Office files and clear the Office document cache.
- Warning: manually deleting temporary Office files can cause data loss, so only remove files that are confirmed safe to delete.
- If all files and folders incorrectly show syncing in File Explorer, check the Windows policy setting.
- Cause:
UseFindFirstFileEnumerationset toTrueis not compatible with OneDrive Files on Demand. - Resolution: remove that registry value or set it to
0, then restart File Explorer. - Warning: incorrect registry changes can cause serious problems. Back up the registry first.
- If the goal is to keep a local folder outside OneDrive on this laptop, keep that folder outside the OneDrive path.
- OneDrive cannot synchronize from a local file location other than the default OneDrive path.
- If an additional local path must feed into OneDrive, the documented workaround is a symbolic link created with
mklink /d. - Warning: use this only if the target is the already-synchronized OneDrive directory.
Given the missing files, the immediate priority is:
- stop sync changes on the affected laptop,
- verify whether the files still exist online or in recycle bins,
- confirm whether Documents backup was enabled,
- then re-link only to the original OneDrive folder.
- Unlink and re-link OneDrive
- Resolve sync issues in OneDrive for work or school
- Troubleshooting OneDrive for work or school sync issues
- The OneDrive sync status icon incorrectly shows "syncing" in File Explorer
- Can't synchronize OneDrive files and folders from a local file location other than the default OneDrive path
- onedrive sync? - Microsoft Q&A Onedrive did some sort of sync on my computer now all of my files on my hard drive documents folder are gone! Some of the files I am looking for are not on the onedrive either. I try to open some spreadsheets from Excel and it says location not found.... I did a search on my hard drive and one drive and can not find my files I had spent many hours working on.