Forum Discussion
sandrocpereira
Microsoft
Jan 08, 2024File Explorer is slow when traversing files synced with OneDrive
Hello team,
I have this customer who have this AVD deployment in production, they are managing with Nerdio and they recently move their storages to Azure NetApp. Event with this very optimized...
fr-ma
Oct 27, 2024Copper Contributor
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
DJanmaat
Nov 28, 2024Copper Contributor
Did you test this solution?
I test this solution and it breaks a lot of things...
- gertjanvandekolkNov 28, 2024Copper Contributor
Hello,
We did test this yet and are now implementing this for the end-user. I cannot imagine problems in removing the subkeys because we often apply a new AVD image to the environment and then this key is also empty. But what do you see for problems?- DJanmaatNov 28, 2024Copper Contributor
Environment of 4 AVD-servers with FSLogix profiles. FSLogix is on the latest version. All Windows Updates are installed. Operating System is Windows 11 23H2.
After I made a backup of the regkey I removed the subkeys. No users were logged in.
After logging in with an useraccount the sync of multiple applications didn't work anymore. Even after a reboot of the server. I restored the regkey and it starts working again.
The only workaround that I found working is to temporary change the permission of the regkey HKEY_CLASSES_ROOT\PackagedCom\Package\Microsoft.OneDriveSync... and reverse this change. Doesn't matter which one.
After OneDrive immediatelly works like a charm. But after every new OneDriveSync version the problem reoccurs. OneDriveSync updates are installed very often and not on a specific day or time. I think of making a script to change the permission of this regkey; but is has to be scheduled to do a check and remediate every minute or so.
Can you give me more information about the environment you manage, is it the same?
- gertjanvandekolkNov 28, 2024Copper Contributor
Okay thanks,
We will test next week with more "really" users. Now we did not see that kind of problems.
I have to say that we have the official supported way configured of Remote Apps and AVD. Maybe there is a difference between our configurations (it is a kind of new :))
Launch Microsoft OneDrive with a RemoteApp - Azure Virtual Desktop | Microsoft Learn