Removing the app is the easy part. Undoing what it did to your folders is where everyone gets stuck — and on some machines the fix silently never reaches the registry at all.
0x800401E5 — No object for moniker.Uninstalling OneDrive does not repoint Desktop, Documents, and Pictures. Those are literal paths in the registry, so Windows keeps writing into a OneDrive folder it recreates on demand — with no sync, no client, and no account.
A tool running inside a packaged (MSIX/Store) app may see a copy-on-write overlay of machine state. Writes land in a private hive; later reads return that copy. The fix applies, verification passes, the machine is untouched — through reboots.
Not just the registry: in the field, a scheduled-task query returned zero OneDrive tasks while three were live and armed.
Deleting OneDrive's known-folder definition while child definitions still reference it leaves a dangling parent. Explorer walks that graph during file operations, so New Folder and rename break system-wide — desktop, every drive, every dialog.
# copy skill/ to ~/.claude/skills/onedrive-exorcism/, then:
/onedrive-exorcism
# look before you leap - changes nothing
.\skill\scripts\Invoke-OneDriveExorcism.ps1 -InventoryOnly
# do it
.\skill\scripts\Invoke-OneDriveExorcism.ps1
# New Folder / rename broken, OneDrive or not?
.\skill\scripts\Repair-KnownFolderGraph.ps1
Both scripts are idempotent, report PRESENT vs absent for every item, and end in a PASS/FAIL audit.
Files with a blue cloud icon are not on your PC. They exist only at
onedrive.com. Removing OneDrive does not delete them from the cloud, but it does make
them unreachable from this machine. Run -InventoryOnly to count them, and
download anything you need before proceeding.
CldFlt, WinSxS, the component store. Deleting them buys nothing and breaks SFC and Windows Update.SyncRootManager itself — other cloud providers register there.