If a file is duplicated in your OneDrive with your computer name added to the filename, it could be time to refresh your credentials.
How to fix OneDrive duplicate files with your computer name added
Windows
- Select Start, type "credentials," and then select Credentials Manager.
- Select the Windows Credentials tab.
- Under Generic Credentials, remove any entries containing “MicrosoftAccount” and your username.
- Restart OneDrive.
Mac
- From Spotlight search type “keychain” and select "Keychain Access”. If it's not visible in Spotlight, go to the Utilities folder and open Keychain Access from there.
- Search for “OneDrive.”
- Delete “OneDrive Cached Credential .”
- Run OneDrive.
If these workarounds don't resolve the issue, please uninstall and reinstall OneDrive:
Note
You won't lose files or data by disabling or uninstalling OneDrive on your computer. You can always access your files by signing in to OneDrive.com.
Need more help?
Account support. For help with your Microsoft account and subscriptions, visit Account & Billing Help.
Technical support. For technical support, select Contact Microsoft Support below, enter your problem and select Get Help.
Mobile users can contact Support by opening the OneDrive app and gently shaking your device.
Community support. Communities help you ask questions, give feedback, and hear from experts with rich knowledge. Ask the Microsoft Community. Do not disclose personal or sensitive information in public forums.