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 duplicate files with your computer name added

Windows:

  1. Select Start, type "credentials," and then select Credentials Manager.

  2. Select the Windows Credentials tab.

  3. Under Generic Credentials, look for any entries containing “OneDrive Cached Credentials” and remove them.

  4. Restart OneDrive.

Mac

  1. 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.

  2. Search for “OneDrive.”

  3. Delete “OneDrive Cached Credential .”

  4. 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?

Contact support icon

Contact Support For help with your Microsoft account and subscriptions, visit Account & Billing Help.

For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, select Contact Support to be routed to the best support option.

Work or school badge

Admins Admins should view Help for OneDrive Admins, the OneDrive Tech Community or contact Microsoft 365 for business support.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.