Solution:
Root Cause: Corrupted Shell Extension COM Handler (iCloudShellExtension.dll)
When you right-click an item inside iCloud Drive, Windows Explorer calls registered COM context menu handlers, specifically
iCloudShellExtension.dll. If this DLL encounters an unhandled null pointer during thumbnail retrieval or cloud status query, it triggers an unhandled exception in
explorer.exe, causing the entire desktop shell to crash and restart.
Diagnostic Verification:
Open Event Viewer (eventvwr.msc) and navigate to Windows Logs > Application.Look for Event ID 1000 faults where Faulting module path is iCloudShellExtension.dll or Shell32.dll.Step-by-Step Fix:
1Unregister the Faulty COM Extension:
Open Command Prompt as Administrator.Run the unregistration command for the iCloud shell extension DLL: regsvr32 /u "C:\Program Files\WindowsApps\AppleInc.iCloud_*\iCloudShellExtension.dll"
*(Adjust path depending on installed build version).*
2Clear Windows Explorer Shell Thumbnail Cache:
Terminate explorer.exe via PowerShell: Stop-Process -Name "explorer" -Force
Remove corrupted shell thumbnail caches: Remove-Item -Path "$env:LOCALAPPDATA\Microsoft\Windows\Explorer\thumbcache_*.db" -Force
Relaunch Explorer: Start-Process "explorer.exe"
3Re-register Shell Extension:
Re-register the DLL to re-establish clean registry entry points: regsvr32 "C:\Program Files\WindowsApps\AppleInc.iCloud_*\iCloudShellExtension.dll"
Prevention & Long-Term Monitoring:
Keep graphics drivers updated to prevent hardware acceleration conflicts with Explorer thumbnail rendering engines.