If right-clicking in File Explorer hangs forever inside OneDrive folders (Desktop, Pictures, etc.) while other folders work, iCloud for Windows may be the cause even though the folder is not an iCloud folder. Posting the fix that worked for me.
How to check:
- Open Event Viewer → Windows Logs → System.
- Look for source "DistributedCOM", Event ID 10010: "The server {1454BEE1-EC6D-4D38-BCFD-1DA1F91BA46E} did not register with DCOM within the required timeout."
- That CLSID is the iCloud Photos context menu handler (the "iCloud Photos sharing" menu item). When iCloudPhotos.exe is busy (in my case it used a full CPU core all the time), Explorer waits for it and the menu never opens.
Fix that worked for me (keeps iCloud Photos syncing; only removes the "share" item from the right-click menu). Run in an administrator terminal:
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v "{1454BEE1-EC6D-4D38-BCFD-1DA1F91BA46E}" /t REG_SZ /d "iCloud Photos sharing" /f
Then restart Windows Explorer (Task Manager → Windows Explorer → Restart).
To undo:
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v "{1454BEE1-EC6D-4D38-BCFD-1DA1F91BA46E}" /f
Things that did NOT help: pausing OneDrive, restarting OneDrive, restarting Explorer, killing the iCloud processes (they are relaunched within seconds).
Tested on Windows 11 (build 26300), iCloud for Windows 15.10.39, OneDrive 26.198. Others have reported the same CLSID slowing context menus in OneDrive folders, e.g.
[Edited by Moderator]