Reset OneDrive on a Mac and Sign In With a Different Account
Question details
The user needs to reset OneDrive on a Mac and sign in with a different account.

- Product
- Microsoft OneDrive
- Device & OS
- macOS
- Scenario
- OneDrive continues using an old account when the user wants to change preferences or switch accounts.
- Observed behavior
- The old account remains in use, preventing the user from changing preferences or signing in with a different account.
Check which files are still syncing or have sync errors by selecting the OneDrive cloud icon in the Mac menu bar. Keep any unsynced local files accessible while you reset or unlink the account.
Reset the OneDrive app on your Mac
Use the reset script when OneDrive keeps using the old account or its preferences are unavailable.
Select the OneDrive cloud icon in the menu bar, open the settings menu, and choose Quit OneDrive.
In Finder, open Applications, right-click OneDrive, and select Show Package Contents.
Open Contents > Resources and double-click ResetOneDriveAppStandalone.command. If that file is not present, look for ResetOneDriveApp.command instead.
Wait for the script to finish, close Terminal, and open OneDrive from Applications. Follow the setup prompts to sign in with the account you want to use.

Unlink the old OneDrive account
Use this option if you can open OneDrive settings and want to switch accounts without running the reset script.
Work With Office Files Using WPS Office on Your Mac
WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easy to move your document work to WPS. It does not reset or change your Microsoft OneDrive account.

Frequently Asked Questions
Where is the OneDrive reset script on a Mac?
In Finder, open Applications, right-click OneDrive, and select Show Package Contents. Look in Contents > Resources for ResetOneDriveAppStandalone.command or ResetOneDriveApp.command.
Can I remove the old account without resetting OneDrive?
If OneDrive settings are accessible, select the menu bar cloud icon, open Preferences or Settings, and choose Unlink this Mac on the Account tab.
Will resetting OneDrive delete my files?
Resetting OneDrive disconnects sync connections but does not delete your files. Check for unsynced files before resetting, and allow time for syncing to resume after setup.
What should I do after the reset script finishes?
Close Terminal, open OneDrive from Applications, and follow the setup prompts to sign in with the account you want to use.




