Hi everyone,
Has anyone recovered a Windows per-user Docker Desktop installation after its registration key went missing, while keeping the existing WSL 2 data?
I installed Docker Desktop 4.93.0.240920 using the official installer with --user and a custom WSL data location. It worked initially with Docker Engine 29.8.1. The next day, launching Docker Desktop.exe failed with:
Error: getting backend binary path: cannot find registry key “SOFTWARE\Docker Inc.\Docker Desktop”: The system cannot find the file specified.
What I’ve checked:
- The expected HKCU registration key is missing in both 32-bit and 64-bit registry views.
- The uninstall entry exists, with NoRepair=1 and NoModify=1.
- Rerunning the same verified official installer as the normal user, using the original installation options, exited with code 3: “Existing installation is up to date.”
- The failed startup produced no new host logs.
- Both VHDX files have offline backups with matching SHA-256 hashes. The originals are unchanged; restoration hasn’t been tested.
I haven’t reset Docker, uninstalled it, manually edited the registry or changed permissions.
Is there a supported way to restore the per-user registration? If reinstalling is necessary, is uninstall --keep-data followed by a same-version per-user reinstall appropriate? How should I preserve and reconnect the custom WSL data location and settings?
I found issue #14912 (Windows Registry Key Gone Missing · Issue #14912 · docker/for-win · GitHub), which reports the same error on an older version, but I haven’t established whether the cause is the same.
Thanks for any pointers.