Forum Discussion
File Explorer is slow when traversing files synced with OneDrive
Hi,
I was in contact with Microsoft for over a year, and they finally confirmed it's a bug. a fix is on the way. The following workaround has proven to be successful:
Message from support team:
The Windows team has identified a bug on their end that occurs when numerous user sessions accumulate over time leading to these performance delays.
While the OneDrive fix is rolling out, admins on the AVD / VDI machines can manually clean up the sync roots that have accumulated over time, by deleting the child keys under:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SyncRootManager\".
Note: We recommend that users are logged off of any active user sessions before this cleanup or that the host is rebooted after the cleanup to ensure that OneDrive correctly re-registers with Windows
I hope this will serve as a solution until the fix is released by the end of the year.
Best,
Franco
Going to test this today, if this works, I may need to figure out a way to do this in an automated way. I don't really want to log on to 10 production AVD session hosts once a week to perform this clean-up. Anyone has any suggestions?
Thanks
- fr-maOct 28, 2024Copper ContributorHi
Just create a scheduled task and call a powershell script:
Remove-Item -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SyncRootManager\* -Recurse
thanks
fix should be released in early December- JMCCRACKEN112Dec 04, 2024Copper Contributor
I'm curious, did you ever get an update as to when or if the issue was resolved? It's early December.
- Wise_1Dec 05, 2024Copper Contributor
We still have a case open but it’s doubtful that we will get an update this month. OneDrive team has engaged the Explorer team for additional analysis.