Fix OneDrive Crashing When Changing the Sync Folder Location
Question details
The user needs to change the OneDrive sync folder location without the app crashing.

- Product
- Microsoft OneDrive
- Device & OS
- Windows 10
- Scenario
- After installing Windows 10 on a new SSD, the user tries to change the OneDrive folder location or add another account.
- Observed behavior
- OneDrive crashes when the user selects Change or Add another account. Reinstalling OneDrive did not resolve the issue.
Make sure you can sign in to your OneDrive account and know the folder location you want to use. Check the OneDrive taskbar icon for any files that are still syncing before unlinking the account.
Enable Files On-Demand and reconnect OneDrive
Use this workaround to reset account setup and select a new sync folder after OneDrive finishes processing changes.
Select the OneDrive cloud icon in the taskbar, then open the gear icon and choose Settings. Find Files On-Demand under Sync and backup or Settings, depending on your OneDrive version, and enable it.
Check the OneDrive cloud icon and activity panel until pending processing and syncing have finished.
Open the OneDrive taskbar menu, select the gear icon, and choose Quit OneDrive or Close OneDrive. Then open Start, search for OneDrive, and launch it again.
Open OneDrive Settings, select Account, and choose Unlink this PC. Confirm the prompt.
Sign in to OneDrive again. On the folder location screen, select Change location, choose the desired folder, and complete setup. If prompted about an existing OneDrive folder, review the prompt before choosing Use this folder.

Work with Office files in WPS Office
WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and support for Microsoft Office formats make it easy to move existing files into your workflow. It does not repair OneDrive sync.

Frequently Asked Questions
Where can I change the OneDrive sync folder location?
After unlinking the PC in OneDrive Settings > Account, sign in again and select Change location on the folder setup screen.
Will unlinking my PC delete my OneDrive files?
Unlinking stops syncing on that PC but does not delete files stored in OneDrive. Check that pending uploads have finished before unlinking.
What should I do if Files On-Demand is already enabled?
Wait for OneDrive to finish processing and syncing, restart it from the taskbar menu, and then unlink and reconnect the account.
Can I use an existing OneDrive folder when reconnecting?
During setup, select Change location and choose the existing folder. If OneDrive detects it, review the prompt and select Use this folder when appropriate.




