Fix OneDrive Cannot Sign In After Changing Microsoft Account Password
Question details
The user is unable to sign into the OneDrive desktop application after updating their Microsoft account password, even though the new password works perfectly on the web version.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to log into or synchronize the OneDrive desktop client using newly updated Microsoft account credentials.
- Observed behavior
- A Microsoft 365 business account synchronizes normally, but the personal OneDrive account fails to sign in. The app may abruptly close and reopen, or generate duplicate synced files appended with the computer name.
Verify that your internet connection is stable and ensure your new Microsoft account password is correct by successfully logging into the OneDrive web portal before troubleshooting the desktop application.
Reset the OneDrive Application
Resetting the OneDrive client clears its local application settings and cached tokens, which often resolves persistent authentication issues without losing any files.
When a password is changed, the OneDrive desktop app can sometimes hold onto outdated credential tokens, preventing a successful login. A complete reset forces the app to establish a fresh connection to Microsoft's servers.
Press the Windows Key + R on your keyboard simultaneously to open the Run window.
Copy and paste the following text into the Run window: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset and then press Enter.
Observe the system tray (bottom-right corner of your screen). The OneDrive cloud icon will disappear and then reappear after a minute or two. If it does not reappear manually launch OneDrive from the Start menu.
Once the app opens, enter your Microsoft account email and your newly updated password to initiate synchronization.

Unlink and Relink Your PC
If a reset does not fix the personal account sign-in issue, unlinking the PC removes the old credential link and forces a completely fresh authentication setup.
Experience Hassle-Free Document Management with WPS Office
Tired of dealing with complex Microsoft account sync issues and persistent login errors? Switch to WPS Office, a powerful and lightweight alternative that offers robust local and cloud document management. Enjoy a familiar interface, highly compatible document editing, and an integrated cloud drive that simply works without account conflicts.

Frequently Asked Questions
Why does my new Microsoft password work on the website but not in the OneDrive desktop app?
The desktop application stores a cached credential token to keep you logged in automatically. When your password changes, this cached token becomes invalid, but the app may sometimes fail to automatically request the new password, leading to a sign-in loop or failure.
Will resetting the OneDrive app delete my stored files?
No, resetting the OneDrive app only clears the application's configuration settings and sync state. Your files remain completely safe on your computer's hard drive and in your cloud storage.
Why did OneDrive create duplicate files with my PC name after I relinked my account?
When you relink OneDrive, the app compares the files currently on your computer with those in the cloud. If it detects a conflict or is unsure which version is the most up-to-date, it saves both versions and appends your computer's name to the local copy to prevent accidental data loss.




