Unlink and re-link OneDrive

Reconfiguring OneDrive by unlinking and re-linking your PC to OneDrive can help solve some sync problems. You can also follow these steps to move your OneDrive to a new location, such as an external disk drive.

Note: No data will be lost by unlinking and re-linking your OneDrive, your local folders are just disconnected from the cloud for a short while. Any changes made while you're unlinked will be synced once re-linking is complete.

How to reconfigure or move your OneDrive folder

  1. Select the white or blue OneDrive cloud icon in the taskbar

    OneDrive SyncClient with blue cloud and white cloud icons

    Tip: You might need to click the Show hidden icons arrow The Show hidden icons button. next to the notification area to see the OneDrive icon. If the icon doesn't appear in the notification area, OneDrive might not be running. Select Start, type OneDrive in the search box, and then select OneDrive in the search results.

  2. Select OneDrive Help and Settings iconHelp & Settings then Settings.

  3. On the Account tab, click Unlink this PC and then Unlink account.

  4. Close OneDrive

  5. Select the Start button, type "credentials," and then select Credentials Manager.

  6. Select the Windows Credentials tab.

  7. Under Generic Credentials, remove any entries containing “OneDrive Cached Credentials”.

  8. Select the Start button, type "OneDrive", and then open OneDrive.

  9. When you sign in, OneDrive will prompt you that a folder already exists: select Use this folder.

    Tip: Select Choose new folder if you want to move your OneDrive to a new location, or if you were having sync issues.

  10. OneDrive will now sync your files and folders back to your PC. OneDrive won't download all your files, (just their placeholders to save space, learn more), but this will still take some time.

  11. If you still have OneDrive sync issues, try resetting OneDrive.

  12. Once your files have re-synced, you can clean up your PC folder view and choose which folders to sync to your PC.

Need more help?


Get online help
See more support pages for OneDrive and OneDrive for work or school.
For the OneDrive mobile app, see Troubleshoot OneDrive mobile app problems.

OneDrive Admins can also view the OneDrive Tech Community, Help for OneDrive for Admins.

Microsoft virtual support agent icon

Contact Support
If you still need help, contact support through your browser or shake your mobile device while you're in the OneDrive app.

OneDrive Admins can contact Microsoft 365 for business support.

Office 365 community forums

Letting us know your location may help us resolve your issue more quickly.

All fixed? If you contacted us and OneDrive starts working again, please let us know by replying to the email we sent you.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!