Teams syncronizing error

2025-11-22T19:32:53.47+00:00

Hi

I client of mine have an issue: She has Syncronized a Teams file-folder to the Local computer, and have access to it using Windows explorer.

She has been using it for months, but now she have problems opening several files, I see no system in which files it is.
Error messages are like(translated from danish):
"Source and destinationfile has the same name"
"The act couldt not be completed because the file is open in another program"
When tryong to copy i have this error: 0x8007017C: Cloudhandlingen er ugyldig

I have tried to:
re-install OneDrive, and Teams
Clear cache of the above(if I found the right folders?)
Enable long file/path names in Registry

It is possible to open the files directly in Teams without problems

Windows 11 25H2
Teams 25275.2601.4002.2815
Onedrive 25.209.1026.0002

Microsoft Teams | Microsoft Teams for business | Files | Other
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Ryan-N 8,020 Reputation points Microsoft External Staff Moderator
    2025-11-22T20:25:28.2966667+00:00

    Hi @HenrikFischerAlstrupDanskITAutomat-7344,

    Welcome to the Microsoft Q&A forum.

    Thank you for contacting us. In this case, please try the following steps:

    1. Open the Run dialog Press the Windows + R keys.
    2. Enter the reset command Paste one of the following commands into the dialog box and click OK: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

    If you see the message Windows cannot find..., try these commands in order:

    C:\Program Files\Microsoft OneDrive\onedrive.exe /reset

    or:

    C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset

    1. Restart OneDrive If OneDrive does not restart automatically, go to Start, search for “OneDrive,” and open the app.

    Note:

    • Resetting will disconnect all sync links (including personal and work/school OneDrive). You will need to reconfigure the folders you want to sync after completing the process.
    • No data will be lost – your files remain in the cloud.

    You can refer to the following documentation: https://support.microsoft.com/en-us/office/reset-onedrive-34701e00-bf7b-42db-b960-84905399050c

    I hope this information is helpful. Please follow these steps and let me know if it works for you. If not, we can work together to resolve this. Thank you for your patience and understanding. If you have any questions or need further assistance, please feel free to share them in the comments on this post so I can continue to support you.

    Looking forward to your response.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    0 comments No comments

  2. HenrikFischerAlstrupDanskITAutomat-7344 0 Reputation points
    2025-11-22T20:37:24.32+00:00

    Thank you for helping out.

    You no 2 path did work.

    Onedrive did reset(a small popup from Onedrive verified that it actually did. and start up again automatically.

    When looking into Explorer the shared drive is hower still visible, so no need to re-connect.

    However the fail is the same.

    I want to add the this error only occurs to files which resides in 4 or 5 subfolders, or more, counting from the root share/Teams folder

    In a folder like this:

    C:\Users"username"\Ungdomsbyen af 2007\Ungdomsbyen - General\Kurser\Konflikthåndtering trivsel demokrati\2. Alt om indhold -kurser & projekter\Plads til alle i trivsel og konflikt\Plads til alle i trivsel og konflikt, elevkursus, Ina

    0 comments No comments

  3. HenrikFischerAlstrupDanskITAutomat-7344 0 Reputation points
    2025-11-25T13:46:58.29+00:00

    Hi Ryan

    Did you have time to look into this?

    best regards

    Henrik


  4. HenrikFischerAlstrupDanskITAutomat-7344 0 Reputation points
    2025-11-28T12:00:06.5+00:00

    thank you

    I will do that


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.