Others

Reset OneDrive on a Mac and Sign In With a Different Account

Natalie TaylorNatalie Taylor Nov 14, 2026 868 views

Question details

The user needs to reset OneDrive on a Mac and sign in with a different account.

Reset OneDrive on a Mac and Remove an Old 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.
Before you start

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.

Solution 1Recommended

Reset the OneDrive app on your Mac

Use the reset script when OneDrive keeps using the old account or its preferences are unavailable.

1
Quit OneDrive

Select the OneDrive cloud icon in the menu bar, open the settings menu, and choose Quit OneDrive.

2
Open the app package

In Finder, open Applications, right-click OneDrive, and select Show Package Contents.

3
Run the reset script

Open Contents > Resources and double-click ResetOneDriveAppStandalone.command. If that file is not present, look for ResetOneDriveApp.command instead.

4
Restart and sign in

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.

Reset the OneDrive app on your Mac
Sync connections are reset: Resetting OneDrive disconnects its sync connections. You may need to choose your folders again during setup, and syncing may take time to resume.
Free Microsoft Office alternative

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.

Open and edit local documents while resolving OneDrive account issuesWork with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface for a smoother transition from Microsoft OfficeAccess a free, lightweight office suite
microsoft office alternative - wps office

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.