Hi all,
We are using OneDrive For Business to sync files between multiple user computers. I am not talking about one user having multiple PC's and using OneDrive to sync their personal files across all their devices. I am talking about a shared folder and multiple users having this location added to OneDrive on their PC's. Basically it's almost like having a SharePoint site and everybody having this added to OneDrive on their PC's. But since our O365 licences doesn't include SharePoint - we have created a shared OneDrive folder under one account then shared it with other users and they all added this to their OneDrive on their PC's.
At some point one of the PC's didn't need this anymore so I went into OneDrive settings, stopped the sync / unlinked the PC. But I left the local copy of the data on the C drive.
After a while we needed this PC to be able to sync again so I've just followed the same steps for adding the shared folder to the PC as I did the very first time: went into the shared folder on the web browser and clicked "Sync" at the top menu of the OneDrive page, got the OneDrive app to pop up prompting for user login, followed the steps, etc.
When it told me that the folder/location with the same name already exists on the local C drive I clicked "Yes" to use the same instead of creating a new one. I was hoping that OneDrive will be able to detect which files have or have not been edited by other users during the period whilst this PC was unlinked and will only update the local copy ("sync down" the changes) from the cloud.
However it seems to have downloaded everything again, but then it also uploaded all local files back into the cloud with appended file names. The new file names are "Original_file_name-computername". And of course all these duplicate files have been synced to all other users too.
I've done a bit of research on this but all I found is some suggestions on refreshing user credentials on Windows Credential Manager:
https://support.microsoft.com/en-us/office/duplicate-files-in-onedrive-fd47ce5e-8dd0-465e-9e3a-461e1a3cf613
https://answers.microsoft.com/en-us/msoffice/forum/msoffice_drive-mso_win10-mso_365hp/onedrive-sync-issues-affecting-office-documents/638c2734-bd2f-4c7e-b245-e28a46ccee43?auth=1
But if I understand correctly this would only prevent any further file duplications.
However what I really need is a solution on how to easily and effectively remove all duplicated files without deleting anything that is current.
I hope that no actual files have been overwritten in the cloud as anything of same name from this PC was simply uploaded with the appended name instead. Therefore I hope that what we have now is all the good files synced across all PC's and all old files from this one PC synced to other PC's too but with an appended name. Can someone confirm that this is indeed the way OneDrive works in such situations?
I am thinking about running a search against the OneDrive folder for "computername" in the file names and just deleting them all, but was wondering if there was a bit more automated or less laborious way?
Thanks