Forum Discussion
Craig Jahnke
Oct 11, 2018Copper Contributor
OneDrive Known Folder Move creating duplicate files
We started moving files from a personal folders on a shared network to OneDrive using a 3rd party tool. We had Documents, Desktop and Pictures mapped to the shared network and want to remap to OneD...
Carlos Cordeiro
Feb 12, 2020Brass Contributor
Is this what you are experiencing? Where you get copy of copies of shortcuts?
- Brian_Klish_workApr 02, 2021Copper Contributor
Yes I have the same problem during testing to prepare to go from Folder Redirection to KFM. I used the process at the bottom of this page:
https://docs.microsoft.com/en-us/onedrive/redirect-known-foldersEven though I left the files on the file server I think offline files is leaving an offline copy on the client that then gets copied to OneDrive and creates duplicates. I might need a policy to disable offline files or possibly just reset offline files and then reboot.
- Apr 02, 2021HI,
OneDrive PC Folder Backup is similar to Windows Offline Files or folder redirection. Meaning they don't work well together so you need to turn off Offline files before using OneDrive PC Folder Backup.
And you could delete the copy files something like this(when you run this script as admin/system or as user)
$DesktopPath = "C:\Users\*\*\desktop\*.*"
Get-ChildItem -Path $DesktopPath -Filter *.lnk | Where {$_.Name -like "Microsoft Edge - copy*.lnk" -or $_.Name -like "Microsoft Teams - copy*.lnk" -or $_.Name -like "Microsoft Edge Beta - copy*.lnk"} | Remove-Item -Force -ErrorAction SilentlyContinue