A Microsoft file hosting and synchronization service.
Use a structured check across the three likely causes:
- Check for sync conflicts first
- In OneDrive for work or school, conflicts can occur between the local and server copies of files.
- For Office files, use the OneDrive icon in the system tray and choose Resolve. In most cases, Open to Resolve is the recommended option.
- For non-Office files, OneDrive may keep both versions and append the device name to one copy. That behavior is a strong indicator of simultaneous or overlapping edits from different sessions or devices.
- Determine whether simultaneous editing is the trigger
- Review whether the same file is being edited from the local PC and the Remote Desktop session at the same time.
- If the duplicate copy has the device name appended, that matches documented conflict behavior for non-Office files.
- For Office files, users may see conflict resolution options such as Open to Resolve, Save a Copy, or Discard.
- As an investigation step, compare the two versions, merge changes into one file if needed, then delete or rename the extra copy.
- Check whether cached credentials are contributing
- If duplicates appear with the computer name added to the filename, refresh cached credentials.
- On Windows:
- Open Start and search for Credentials Manager.
- Open Windows Credentials.
- Under Generic Credentials, remove entries containing MicrosoftAccount and the username.
- Restart OneDrive.
- This is specifically documented for duplicate files with the computer name appended.
- Check profile and session behavior in the Remote Desktop environment
- In multi-session or non-persistent remote environments, intermittent sync issues are commonly investigated by validating profile handling and session consistency.
- Check whether the issue follows a specific session host or user profile by signing the same user into a different session host.
- If the issue occurs only on one host, compare the OneDrive configuration on that host.
- Review whether multiple sessions are accessing the same user profile or container at the same time, because that can contribute to unreliable sync behavior.
- Review logs and sync state
- Check Event Viewer → Application for OneDrive-related errors.
- Review OneDrive logs under
%LOCALAPPDATA%\Microsoft\OneDrive\logs\and look for error entries. - Also verify from the OneDrive client that syncing is not paused.
- Rule out stale cache and broken sync state
- Clear cached files from Microsoft Office Upload Center:
- In the taskbar notification area, find the Microsoft Office Upload Center icon.
- Right-click it and select Settings.
- Select Delete cached files.
- Confirm with Delete cached information.
- If many errors are present, stop syncing the library and sync it again to get fresh data.
- Important: do not rename the synced folder after sync is established, because that breaks the sync relationship.
- Clear cached files from Microsoft Office Upload Center:
- Check client behavior that can affect timing
- Make sure the OneDrive client is current.
- If Files On-Demand is involved and file save or overwrite operations fail with cloud file access errors, disabling Files On-Demand is a documented workaround in that specific scenario.
A practical investigation sequence is:
- Identify whether the duplicates are Office or non-Office files.
- Confirm whether the same files were open in both the local device and Remote Desktop session.
- Check whether the duplicate name includes the device name.
- Test the same user on another session host to isolate profile or host configuration.
- Review OneDrive logs and Event Viewer.
- Clear Office cache, then resync the affected library if the issue persists.
- Refresh cached credentials if the duplicates include the computer name.
If the pattern is mostly device-name duplicates after concurrent access from local and remote sessions, simultaneous editing or sync conflict is the strongest indicator. If the issue is host-specific or profile-specific, focus on the Remote Desktop profile configuration and session consistency.
References: