Docker Desktop 2.1.0.5 for Windows fails

Upgraded today and running into this exception when I attempt to install on Windows 10.

The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at System.Runtime.InteropServices.ComTypes.IPersistFile.Save(String pszFileName, Boolean fRemember)
at CommunityInstaller.ShortcutAction.DoAsync(CancellationToken cancelToken)
at CommunityInstaller.InstallWorkflow.d__26.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.InstallWorkflow.d__23.MoveNext()

When I attempt to roll back to 2.0 installer now hangs on “removing files”

Hello Team,

I have successfully running Docker setup using Hyper-V.
Later it asked me for the docker update where i have installed in between it stuck and failed to update.
Later i found the docker setup and icon is missing in my system.

When i try to install docker again then i am getting below error and not able to find any resolution.


Getting same error:

Access is denied
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at CommunityInstaller.CreateGroupAction.DoAsync(CancellationToken cancelToken)
at CommunityInstaller.InstallWorkflow.d__26.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.InstallWorkflow.d__23.MoveNext()

1 Like

Same here. I updated and then after it failed Docker was gone from my pc. I tried versions 2.1.0.5, .4, .3, .2 and all of theme fail with the exact same error. I read that this could be an issue between docker and McAfee, link. I am not able to resolve this yet.

Back with some news! I was able to solve this issue by deactivating my antivirus (McAfee).
Hope that helps.

If you are running Windows Pro, you might have the Ransomware Protection running. I ran into the same issue. After I ran the Docker Clean Up script, I looked at the Ransomware Protection in Update & Security, Windows Security, Virus & Threat Protection, and Ransomware. Look at recenly blocked apps to see if Docker for Windows Installer was blocked. Change the settings to allow add an allowed app. Add the Docker install program as an exception. You should be able to run the install program now. I would not turn off the Ransomware protection. Hopefully this worked.