Installer for windows 10 hangs during installation

Issue type:Installer for windows 10 hangs during installation.

OS Version/build:Windows 10 enterprise

App version:2.0.0.0-win78

Steps to reproduce:

1.Click Dockerforwindows.exe.
2. I select ‘Use windows containers instead of linux containers’ and click ok button.
3.I get the screen shown here and it hangs.


Pls let me know how to resolve it.

Same issue, with same installer version & OS Version

Looks like it has been happening before this release : https://github.com/docker/for-win/issues/1172

I have the same error with Docker Desktop 2.0.0.0-win81
Reran as admin, same issue.
Deleted c:\program files\Docker and C:\ProgramData\DockerDesktop and tried again - same issue.

This is different than the github issue - this issue is hanging on “Removing files” rather than “Installing components”.

Any help would be greatly appreciated.

Thanks,

Robert

1 Like

Lucas-C’s suggestion of adding the downloaded installer .exe file to the Controlled Folder Access allowed apps list fixed the problem for me.
Start | Settings | and click on Controlled Folder Access
then click on “Allow an app through Controlled folder access”
Click on the big + beside “Add an allowed app” and choose Recently Blocked Apps.
Then you can choose the “Docker for Windows Installer.exe”.
Re-run the installer as admin and it works.

Thanks!

Robert

3 Likes

Solved, thanks Mccarter

Solved, worked for me.

Verified that Sophos Home also causes this behavior on Windows 10. Needed to disable real time protection to install latest version of docker. Probably would have been adequate to allow the .exe file of the installer but I wasn’t about to hunt it down.