Forum Discussion
File Explorer is slow when traversing files synced with OneDrive
This video describes exactly the problem : https://rivier.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=203b5b74-07d9-4ec1-8da0-b02a015a0e18
Additional information; delay opening folders and files directly from the desktop (MS OneDrive redirected). AVD-environment with FS Logix profiles. I did a thorough research.
Solution per AVD-server :
- Put the AVD-server in drain mode.
- Log off all users.
- Log on with an Administrator account.
- Remove MS OneDrive.
- Remove the following registry keys :
HKEY_CLASSES_ROOT\PackagedCom\Package > Remove all keys that begins with 'Microsoft.OneDriveSync_'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PackagedCom\Package > Remove all keys that begins with 'Microsoft.OneDriveSync_'
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OneDrive
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\OneDrive
- Download newest MS OneDrive cliƫnt :
https://support.microsoft.com/en-us/office/onedrive-release-notes-845dcf18-f921-435e-bf28-4e24b95e5fc0
- Install MS OneDrive : .\OneDriveSetup.exe /allusers
- Log on with an user-account.
No need to reboot the server.
Anamolies :
- Different versions after installing MS OneDrive :
Sometimes version '22.012.0117.000' is installed, and after couple of seconds the version changes to version '24.192.923.6.0'. Other times version '24.186.0915.0004' is installed. I decided to keep the newest version '24.192.923.6.0' installed, that is mostly the version after the first reinstall.
- After reinstallation problem isn't resolved :
The permissions are exactly the same as on other AVD-servers that has the problem resolved. Strange enough when I change the permission for existing entry 'All Application Packaged' to Full Control the problem is resolved. Even when I undo the change... I think when the problem still persists you have to remove MS OneDrive once again, remove all earlier named registry entries, and install MS OneDrive again. I don't have an explanation for this.