This article was reviewed by Stan Kats and by wikiHow staff writer, Hannah Dillon. Stan Kats is a Professional Technologist and the COO and Chief Technologist for The STG IT Consulting Group in West Hollywood, California. Stan provides comprehensive technology solutions to businesses through managed IT services, and for individuals through his consumer service business, Stan's Tech Garage. Stan holds a BA in International Relations from The University of Southern California. He began his career working in the Fortune 500 IT world. Stan founded his companies to offer an enterprise-level of expertise for small businesses and individuals.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 1,572 times.
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.
-
Click the settings icon, then click Settings. The settings icon looks like a gear.Advertisement
-
Click the Account tab. It's in the left-hand sidebar, under Sync and backup.
-
Click on Unlink this PC > Unlink account. This will unlink your PC from your OneDrive account, so files will no longer sync.
-
Open the Run dialog. The easiest way to do this is to press ⊞ Win+R.
-
Enter the path %localappdata%\Microsoft\OneDrive\settings. Press ↵ Enter on your keyboard or OK in the Run dialog box to run this command.
-
Delete 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
-
Click 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.
-
Click Help & Settings > Preferences. This will open a new window.
-
Click on the Account tab. It's at the top of the window, with an icon of a person.
-
Select Unlink this Mac. This will immediately unlink your account from OneDrive.
-
Open the Keychain Access app. If you can't see your keychains, click Window > Keychain Access in the menu bar.
-
Select your OneDrive keychain. You may have to scroll to find this keychain.
-
Click 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















