This article was co-authored by wikiHow staff writer, Hannah Dillon. Hannah Dillon is a Technology Writer and Editor at wikiHow. She graduated with a B.A. in Journalism from North Dakota State University in 2013 and has since worked in the video game industry as well as a few newspapers. From a young age Hannah has cultivated a love for writing and technology, and hopes to use these passions in tandem to help others in the articles she writes for wikiHow.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
Learn more...
Do you need to unlink your OneDrive account from your Windows or Mac computer? Thankfully, doing this is very simple and only requires a couple of clicks—and you won't lose any data in the process. In this article, we'll go over how to unlink your OneDrive account on Windows and Mac, and we'll also go over a handful of frequently asked questions about unlinking, unsyncing, and uninstalling OneDrive.
Unlinking OneDrive
To unlink your OneDrive account, you'll need to open your OneDrive settings, then click on the Account tab. On PC, click Unlink this PC > Unlink account. On Mac, simply click Unlink this Mac. Your OneDrive data won't be deleted; it will still be available online on the OneDrive website.
Steps
Unlinking on Windows
-
Click on the OneDrive icon in your taskbar. It will be in the bottom-right corner of your screen, near where the clock is on the taskbar.
- You may want to unlink your OneDrive account if you aren't going to use OneDrive on your computer, or you may want to unlink and re-link your account to fix syncing issues.
-
2Click the settings icon, then click Settings. The settings icon looks like a gear.Advertisement
-
3Click the Account tab. It's in the left-hand sidebar, under Sync and backup.
-
4Click on Unlink this PC > Unlink account. This will unlink your PC from your OneDrive account, so files will no longer sync.
-
5Open the Run dialog. The easiest way to do this is to press ⊞ Win+R.
-
6Enter the path %localappdata%\Microsoft\OneDrive\settings. Press ↵ Enter on your keyboard or OK in the Run dialog box to run this command.
-
7Delete the "PreSignInSettingsConfig.json" file. This will clear your sign-in credentials from OneDrive.[1]
- If you'd like to re-link your OneDrive account, you can do so by opening the OneDrive app and signing in again.
Unlinking on Mac
-
1Click the OneDrive icon in your menu bar. This is located at the top of your screen.
- You may want to unlink your OneDrive account if you aren't going to use OneDrive on your computer, or you may want to unlink and re-link your account to fix syncing issues.
-
2Click Help & Settings > Preferences. This will open a new window.
-
3Click on the Account tab. It's at the top of the window, with an icon of a person.
-
4Select Unlink this Mac. This will immediately unlink your account from OneDrive.
-
5Open the Keychain Access app. If you can't see your keychains, click Window > Keychain Access in the menu bar.
-
6Select your OneDrive keychain. You may have to scroll to find this keychain.
-
7Click File > Delete Keychain > Delete References. This will delete your OneDrive sign-in credentials.
- To re-link your OneDrive account, simply open the OneDrive app and sign in with your account.
Expert Q&A
Video
Tips
References
- ↑ https://support.microsoft.com/en-gb/office/unlink-and-re-link-onedrive-3c4680bf-cc36-4204-9ca5-e7b24cdd23ea#id0ebbh=windows
- ↑ https://www.youtube.com/watch?v=2su6loPl9oY
- ↑ https://support.microsoft.com/en-us/office/how-to-access-onedrive-settings-6173f176-fd9a-4a34-88f5-5646ec6f568b#id0ebh=mac
- ↑ https://support.microsoft.com/en-us/office/how-to-pause-and-resume-onedrive-sync-2152bfa4-a2a5-4d3a-ace8-92912fb4421e
- ↑ https://support.microsoft.com/en-us/office/turn-off-disable-or-uninstall-onedrive-f32a17ce-3336-40fe-9c38-6efb09f944b0

