Docker Desktop 4.93.0 per-user install won’t start: missing registry key

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.

I don’t even know ho a registry key can be missing. suddently. Do I understand correctly that you did nothing between running Docker Desktop 4.93.0 and expriencing the issue? There is an uninstallation guide that includes some steps for deleting files if the uninstalation was not complete. You should probably try to completely uninstall Docker Desktop to be able to reinstall it again. If you have a data backup thaty ou can restore, that could work.

https://docs.docker.com/desktop/uninstall/

The other way could be restoring the registry, but I am not sure how. Maybe if there is a recent snapshot on windiows (I guess it is called restore point) Since I am not that confident with Windows, I would probably not touch any registry manually and I can imagine that restoring could also break things.