Sign in with Microsoft
Sign in or create an account.
You have multiple accounts
Choose the account you want to sign in with.
Unlink and re-link OneDrive

Reconfiguring OneDrive by unlinking and re-linking your Computer 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. Open OneDrive settings (select the OneDrive cloud icon in your notification area, and then select the OneDrive Help and Settings icon then Settings.)

  2. Go to the Account tab.

  3. Select Unlink this PC.

Close OneDrive and follow the steps:

  1. Press the Windows key + R to open the Run dialog.

  2. Enter the path %localappdata%\Microsoft\OneDrive\settings and select OK.

  3. Delete the PreSignInSettingsConfig.json file.

  4. Press the Windows key and type OneDrive.

  5. Select the OneDrive app and sign in when prompted.

Sign in again:

  1. 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.

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

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

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

Need more help?

Contact support icon

Contact Support
For help with your Microsoft account and subscriptions, visit Account & Billing Help.

For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, select Contact Support to be routed to the best support option.

Work or school badge

Admins
Admins should view Help for OneDrive Admins, the OneDrive Tech Community or contact Microsoft 365 for business support.

How to reconfigure or move your OneDrive folder

  1. Open OneDrive settings (select the OneDrive cloud icon in your notification area, and then select the OneDrive Help and Settings icon then Settings.)

  2. Go to the Account tab.

  3. Select Unlink this PC.

Close the OneDrive and follow the steps:

  1. Open the Keychain Access app on your Mac. If your keychains aren’t visible, choose Window > Keychain Access.

  2. Select a keychain in the Keychains list.

  3. Choose File > Delete Keychain [OneDrive/Office/MS].

  4. Click Delete References.

  5. Open OneDrive.

  6. 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.

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

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

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

Need more help?

Contact support icon

Contact Support
For help with your Microsoft account and subscriptions, visit Account & Billing Help.

For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, select Contact Support to be routed to the best support option.

Work or school badge

Admins
Admins should view Help for OneDrive Admins, the OneDrive Tech Community or contact Microsoft 365 for business support.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×