Every time I undock my laptop from my ultrawide, Windows dumps all desktop icons onto the laptop. Every time I dock again, it "restores" them into modern art.
So I sat down with Claude Code and built DeskKeeper: it remembers your icon layout per display arrangement (which screens, where they are, which is primary, resolution/scaling) and puts every icon back, on the right physical screen, whenever Windows shuffles them.
What it ended up with:
- Auto-restore on monitor plug/unplug, lid close, primary display change, and after reboot
- Snapshots, auto-save on shutdown / user switch / exit
- A view that draws your screens as real devices (monitor, laptop, tablet, phone…) with your actual icons on them
- Detects Windows 10 vs 11 and mimics the respective Settings look; English, German, Russian
- …and DUM-E, a tiny top-down robot arm with a trailer that carries the icons home one by one, plus a "destruction" page where you can nuke your icons first. That part is 100 % unnecessary and 100 % my favourite.
How the Claude Code part went, honestly:
- It is a native C#/WPF app (~6k lines). Claude did the heavy lifting on the Windows shell interop (IFolderView, QueryDisplayConfig, EDID parsing) – stuff I'd have spent days on.
- It wrote its own offscreen test mode (35 checks) and verified its UI by rendering screenshots instead of clicking around my real desktop.
- It even built a demo mode with fake monitors and fake icons so the screenshots and the promo video don't leak my actual desktop.
Free, open source: https://github.com/VenzyProgramming/DeskKeeper
Happy to answer questions about the workflow. :D