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...
JMCCRACKEN112
Aug 07, 2025Copper Contributor
I'm not sure if it was ever truly resolved. What ended up working for our environment (Win11 23H2 Multi-Session AVD), is creating a scheduled task that runs a PowerShell script at system startup. Our AVD hosts reboot at least once every couple of days due to scaling plan, so this script will run quite often to clean up the records that seem to cause the OneDrive traversing slow down.
The PowerShell script is a 1 liner:
Remove-Item -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SyncRootManager\* -Recurse
O_Crow93
Aug 08, 2025Copper Contributor
Okay, thanks for sharing this! Its a joke that MS has not been able to fix this for years now.