Hi I ask this question because I don’t find recent answer about this problem.
I am on windows 11 system AMD64, I have docker desktop installed on 4.77.0 version.
Since more than 2 month, docker desktop auto-update fails and installation with downloaded installer fails too.
Each time I get this error:
Docker Desktop 4.77.0 is still installed.
Error: Le processus ne peut pas accéder au fichier, car il est utilisé par un autre processus. File: C:\Program Files\Docker\Docker\resources\wsl\ext4.vhdx. Locked by: System (PID 4, type=RmCritical).
Installation fails even if WSL is not running.
Docker desktop works fine in 4.77.0 version, but I have no solution to upgrade it, and recommended solutions (auto-update and installer) don’t work.
After translating the French text, it looks like it says the file is used by another process. Normally my guess would be that there is another instance of Docker Desktop, but if 4.77 still works well, then maybe there is a service which is still running and somehow disconnected from Docker Desktop and the installer doesn’t stop it first. Again, this is still a guess, but something is using the file and you should find out what.
I would stop Docker Desktop, copy the ext4.vhdx somewhere before trying to delete the file manually. If there is any other process disconnected from Docker Desktop, that should still be running not allowing you to delete the file. If you can delete it, then you can copy the previously saved file back.
Hi and thanks for your reply. I have even trying with wsl not running because I was thinking WSL was using this file, but this didn’t succeed. So I will try to do your proposition. I will reply to say you what was the problem. Thanx a lot