Cannot install Docker Desktop v4.35.1
Description
I cannot successfully install new version of the Docker Desktop v4.35.1. I keep getting this error from the installer.
Component Docker.Installer.EnableFeaturesAction failed: Not found
at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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 Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
I have validated that WSL and all flags are turned on for virtualization as previous version was working ok.
I have also followed https://docs.docker.com/desktop/uninstall/ article and still experiencing this issue.
Here is reference and possibly related issue where I also posted admin log, https://github.com/docker/for-win/issues/14375
Reproduce
- Download the Docker Desktop Installer from the download link
- Run installer
- Installer unpacked a few files and then reports the error:
Component Docker.Installer.EnableFeaturesAction failed: Not found
at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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 Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
Expected behavior
docker installer should be successful to install the newer version of application.
docker version
Client: Version: 25.0.3 API version: 1.44 Go version: go1.21.6 Git commit: 4debf41 Built: Tue Feb 6 21:13:02 2024 OS/Arch: windows/amd64 Context: default
docker info
Client: Version: 25.0.3 Context: default Debug Mode: false
Diagnostics ID
N/A
Additional Info
-------------------------------------------------------------------------------->8
Version: 4.35.1 (173168)
Sha1:
Started on: 2024/11/07 23:27:51.076
Resources: C:\Users\rrozinov\AppData\Local\Temp\DockerDesktop\lkokrslkafe\resources
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 2009
Build: 19045
BuildLabName: 19041.1.amd64fre.vb_release.191206-1406
File: C:\ProgramData\DockerDesktop\install-log-admin.txt
CommandLine: "C:\Users\rrozinov\AppData\Local\Temp\DockerDesktop\lkokrslkafe\Docker Desktop Installer (2).exe" "install" -package "res:DockerDesktop" --relaunch-as-admin
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[2024-11-07T23:27:51.435662900Z][ManifestAndExistingInstallationLoader][I] No install path specified, looking for default installation registry key
[2024-11-07T23:27:51.442322200Z][Installer][I] No installation found
[2024-11-07T23:27:52.075608200Z][InstallWorkflow][I] Using package: res:DockerDesktop
[2024-11-07T23:27:52.076610500Z][InstallWorkflow][I] Downloading
[2024-11-07T23:27:52.937516700Z][InstallWorkflow][I] Extracting manifest
[2024-11-07T23:27:53.409356800Z][InstallWorkflow][I] Manifest found: version=173168, displayVersion=4.35.1, channelUrl=https://desktop-stage.docker.com/win/main/amd64/appcast.xml
[2024-11-07T23:27:53.409356800Z][InstallWorkflow][I] Checking prerequisites
[2024-11-07T23:27:53.426362500Z][InstallWorkflow][I] Prompting for optional features
[2024-11-07T23:27:56.851894300Z][InstallWorkflow][I] Selected backend mode: wsl-2
[2024-11-07T23:27:56.851894300Z][InstallWorkflow][I] Unpacking artifacts
[2024-11-07T23:29:21.881392100Z][InstallWorkflow][I] Deploying component Docker.Installer.CreateGroupAction
[2024-11-07T23:29:22.974834400Z][InstallWorkflow][I] Deploying component Docker.Installer.AddToGroupAction
[2024-11-07T23:29:22.999022600Z][InstallWorkflow][I] Deploying component Docker.Installer.EnableFeaturesAction
[2024-11-07T23:29:23.034082200Z][InstallWorkflow][E] Installation failed System.Exception: Component Docker.Installer.EnableFeaturesAction failed: Not found ---> System.Management.ManagementException: Not found
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_ClassName()
at System.Management.ManagementClass.GetInstances(EnumerationOptions options)
at Docker.Installer.EnableFeaturesAction.GetFeaturesToEnable()
at Docker.Installer.EnableFeaturesAction.<DoAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
--- End of inner exception stack trace ---
at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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 Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
[2024-11-07T23:29:23.036082400Z][InstallWorkflow][I] Rollbacking component Docker.Installer.AddToGroupAction
[2024-11-07T23:29:23.036082400Z][InstallWorkflow][I] Rollbacking component Docker.Installer.CreateGroupAction
[2024-11-07T23:29:23.036082400Z][InstallWorkflow][I] Rollbacking component Docker.Installer.UnpackArtifactsStep
[2024-11-07T23:29:23.043761600Z][FileSystem][I] Deleting C:\Program Files\Docker\Docker
[2024-11-07T23:29:23.284650600Z][FileSystem][I] Deleted C:\Program Files\Docker\Docker successfully
[2024-11-07T23:29:23.284650600Z][InstallWorkflow][I] Rollbacking component Docker.Installer.ExtractManifestStep
[2024-11-07T23:29:23.285645400Z][InstallWorkflow][I] Rollbacking component Docker.Installer.DownloadStep
Hello, @romanrozinov
I'm having the exact same error, have you found a solution?
Had exact same issue. The problem was wmi (it was unable to get information about the system)
When I was running
> systeminfo
it thrown an error: Loading Operating System Information ...ERROR: Invalid class
Then following commands helped:
net stop winmgmt
winmgmt /resetrepository
net start winmgmt
I'm also having this problem and the commands above did not resolve it.
I had the same problem: Installation failed System.Exception: Component Docker.Installer.EnableFeaturesAction failed: Not found
Lenovo T470 here with Windows 10, v 22H2, build 19045.5131
Diagnosis
In fact I had multiple problems, so when you want to triage/reproduce my failure state, do also these tests:
- docker cannot be installed with
Component Docker.Installer.EnableFeaturesAction failed: Not found - opening a cmd-shell and running
systeminforeturns with an error - opening the WMI property dialog shows an error as described by Daniel Boring here 2015-11-19
- hyper-v cannot be activated: after activating & reboot, it fails with "unable" & undoes the install
Solution
Note: Craig Marcho discourages using Winmgmt /resetrepositoy or other brutal solutions, as they may render your windows unusable. Try to avoid deleting your WMI repository.
Rather, I took baby steps.
I ran winmgmt /verifyrepository and round my WMI repository is actually consistent. Whoop Whoop. So one of the classes was probably missing from it. Instead of using one of the circulated "register everything again" scripts, I intentionally picked the one by Limitless Technology written in Failed to initialize all required WMI classes as they propose registering single DLLs or MOFs line by line.
The following lines fixed these issues: systeminfo, the WMI Dialog, and installing Docker was then also possible.
Based on my experience and the cited sources I would recommend to try the following "minimal" approach and see if it solved it, otherwise read on below and in the linked sources:
// open powershell elevated as admin... then
// this is broken
systeminfo
cd \windows\system32\wbem
mofcomp cimwin32.mof
// this should now print a nice systeminfo
systeminfo
// now you may want to try installing docker again...
If that doesn't solve it, read on for what I actually ran and comment what other things are needed.
I ran through the lines one by one and after each command, I had a separate command shell open where I ran systeminfo repeatedly to see if the last step changed anything.
// open powershell elevated as admin... then
cd \windows\system32\wbem
// this didn't solve it yet
regsvr32 /s %systemroot%\system32\scecli.dll
// this didn't solve it yet
regsvr32 /s %systemroot%\system32\userenv.dll
// this didn't solve it yet
regsvr32 cimwin32.dll
// this solved it
mofcomp cimwin32.mof
...
Microsoft (R) MOF-Compiler, Version 10.0.19041.4522
Copyright (c) Microsoft Corp. 1997-2006. Alle Rechte vorbehalten.
Die folgende MOF-Datei wird analysiert: cimwin32.mof
Die MOF-Datei wurde erfolgreich verarbeitet.
Daten werden im Repository gespeichert...
Fertig!
More error logs
Start-Process 'Docker Desktop Installer.exe' -Wait install
-------------------------------------------------------------------------------->8
Version: 4.35.1 (173168)
Sha1:
Started on: 2024.12.01 20:27:36.847
Resources: C:\Users\myname\Downloads\resources
OS: Windows 10 Pro
Edition: Professional
Id: 2009
Build: 19045
BuildLabName: 19041.1.amd64fre.vb_release.191206-1406
File: C:\ProgramData\DockerDesktop\install-log-admin.txt
CommandLine: "C:\Users\myname\Downloads\Docker Desktop Installer.exe" install
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[2024-12-01T20:27:37.085874900Z][ManifestAndExistingInstallationLoader][I] No install path specified, looking for default installation registry key
[2024-12-01T20:27:37.101520600Z][Installer][I] No installation found
[2024-12-01T20:27:37.303631600Z][InstallWorkflow][I] Using package: res:DockerDesktop
[2024-12-01T20:27:37.319265700Z][InstallWorkflow][I] Downloading
[2024-12-01T20:27:38.681584300Z][InstallWorkflow][I] Extracting manifest
[2024-12-01T20:27:38.982242000Z][InstallWorkflow][I] Manifest found: version=173168, displayVersion=4.35.1, channelUrl=https://desktop-stage.docker.com/win/main/amd64/appcast.xml
[2024-12-01T20:27:38.982242000Z][InstallWorkflow][I] Checking prerequisites
[2024-12-01T20:27:39.008819300Z][InstallWorkflow][I] Prompting for optional features
[2024-12-01T20:30:24.327239900Z][InstallWorkflow][I] Selected backend mode: wsl-2
[2024-12-01T20:30:24.328243200Z][InstallWorkflow][I] Unpacking artifacts
[2024-12-01T20:32:58.469146100Z][InstallWorkflow][I] Deploying component Docker.Installer.CreateGroupAction
[2024-12-01T20:33:05.318840900Z][InstallWorkflow][I] Deploying component Docker.Installer.AddToGroupAction
[2024-12-01T20:33:12.144362800Z][InstallWorkflow][I] Deploying component Docker.Installer.EnableFeaturesAction
[2024-12-01T20:33:12.167007500Z][InstallWorkflow][E] Installation failed System.Exception: Component Docker.Installer.EnableFeaturesAction failed: Nicht gefunden ---> System.Management.ManagementException: Nicht gefunden
bei System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
bei System.Management.ManagementObject.Initialize(Boolean getObject)
bei System.Management.ManagementBaseObject.get_ClassName()
bei System.Management.ManagementClass.GetInstances(EnumerationOptions options)
bei Docker.Installer.EnableFeaturesAction.GetFeaturesToEnable()
bei Docker.Installer.EnableFeaturesAction.<DoAsync>d__45.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
--- Ende der internen Ausnahmestapelüberwachung ---
bei Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
[2024-12-01T20:33:12.169015700Z][InstallWorkflow][I] Rollbacking component Docker.Installer.AddToGroupAction
[2024-12-01T20:33:12.170013500Z][InstallWorkflow][I] Rollbacking component Docker.Installer.CreateGroupAction
[2024-12-01T20:33:12.171055300Z][InstallWorkflow][I] Rollbacking component Docker.Installer.UnpackArtifactsStep
[2024-12-01T20:33:12.181013100Z][FileSystem][I] Deleting C:\Program Files\Docker\Docker
[2024-12-01T20:33:12.510896400Z][FileSystem][I] Deleted C:\Program Files\Docker\Docker successfully
[2024-12-01T20:33:12.510896400Z][InstallWorkflow][I] Rollbacking component Docker.Installer.ExtractManifestStep
[2024-12-01T20:33:12.515901900Z][InstallWorkflow][I] Rollbacking component Docker.Installer.DownloadStep
I can not install docker desktop 4.36.0 (172267) installation is frozen at Verifying pacakge... it hangs here: $ -------------------------------------------------------------------------------->8 Version: 4.36.0 (175267) Sha1: Started on: 2024/12/19 08:50:36.807 Resources: c:\Users\iosif.kurazs\Downloads\resources OS: Windows 10 Enterprise Edition: Enterprise Id: 2009 Build: 26100 BuildLabName: 26100.1.amd64fre.ge_release.240331-1435 File: C:\Users<user>\AppData\Local\Docker\install-log.txt CommandLine: ".\Docker Desktop Installer (1).exe" You can send feedback, including this log file, at https://github.com/docker/for-win/issues [2024-12-19T08:50:36.941665200Z][ManifestAndExistingInstallationLoader][I] No install path specified, looking for default installation registry key [2024-12-19T08:50:36.946481400Z][Installer][I] No installation found [2024-12-19T08:50:36.954698500Z][ManifestAndExistingInstallationLoader][I] Not run as admin, relaunching with UAC prompt -------------------------------------------------------------------------------->8 Version: 4.36.0 (175267) Sha1: Started on: 2024/12/19 08:50:40.402 Resources: C:\Users<user>\Downloads\resources OS: Windows 10 Enterprise Edition: Enterprise Id: 2009 Build: 26100 BuildLabName: 26100.1.amd64fre.ge_release.240331-1435 File: C:\ProgramData\DockerDesktop\install-log-admin.txt CommandLine: "C:\Users<user>\Downloads\Docker Desktop Installer (1).exe" "install" -package "res:DockerDesktop" --relaunch-as-admin You can send feedback, including this log file, at https://github.com/docker/for-win/issues [2024-12-19T08:50:40.524966600Z][ManifestAndExistingInstallationLoader][I] No install path specified, looking for default installation registry key [2024-12-19T08:50:40.524966600Z][Installer][I] No installation found [2024-12-19T08:50:40.682609000Z][InstallWorkflow][I] Using package: res:DockerDesktop [2024-12-19T08:50:40.682609000Z][InstallWorkflow][I] Downloading [2024-12-19T08:50:41.400538800Z][InstallWorkflow][I] Extracting manifest
I am having a similar error when installing Docker Desktop on Windows 11 Pro (brand new computer): ThinkPad/COU Inter Ultra 7/32GB/2TB SSD/Windows 11 Pro/OS Build 26100.3194
- Downloaded Docker desktop installer 4.35.1 from link.
- Run Docker Desktop installer - it took several hours, installation stuck on "Extracting Manifest...".
- I installed WSL 2 instead of Hyper-v.
- Installer continued - Again took a long time, hours.
- I got and error that installation failed and the following message:
Component Docker.Installer.EnableFeaturesAction failed: Call cancelled
at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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 Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext().
```"
I tried to install using Chocoladey and it also failed.
I tried installing Docker Desktop 4.36.0 - Failed
I tried to install Docker Desktop 4.37.1 - Failed
I tried to install Docker Desktop 4.38.0 - Failed.
In all attempts I followed the guide. Maybe I'm missing something in my configuration?
I have WSL installed but without a Distribution set.
I am having a similar error when installing Docker Desktop on Windows 11 Pro (brand new computer): ThinkPad/COU Inter Ultra 7/32GB/2TB SSD/Windows 11 Pro/OS Build 26100.3194
- Downloaded Docker desktop installer 4.35.1 from link.
- Run Docker Desktop installer - it took several hours, installation stuck on "Extracting Manifest...".
- I installed WSL 2 instead of Hyper-v.
- Installer continued - Again took a long time, hours.
- I got and error that installation failed and the following message:
Component Docker.Installer.EnableFeaturesAction failed: Call cancelled at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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 Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext(). ```" I tried to install using Chocoladey and it also failed. I tried installing Docker Desktop 4.36.0 - Failed I tried to install Docker Desktop 4.37.1 - Failed I tried to install Docker Desktop 4.38.0 - Failed. In all attempts I followed the guide. Maybe I'm missing something in my configuration? I have WSL installed but without a Distribution set.
@beni-regev It's the same as mine - Call cancelled. Did you make it work now?
EDIT: Nvm. I was able to install it on my PC. It needs WSL as indicated here. I also needed to turn on Windows Subsystem for Linux in Windows Features (Win + R > optionalfeatures) to use WSL1.
Any update on getting the install for Docker Desktop on Windows working? I just tried with Docker Desktop v4.38.0 (takes A LONG TIME TO RUN) and it failed with the following error. I was running it fine before and it broke during a recent update - in the last week or two (just getting around to attempting to fix it now). I have all the pre-requisites installed (Virtualization, WSL2, etc.) since it was working before.
System: Windows 11 Business 24H2
Component Docker.Installer.EnableFeaturesAction failed: Call cancelled at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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 Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
@vinavinas - What version did you get installed?
@techjutsu-mikeb
What version did you get installed?
4.38.0
I have the same error. Windows 11 Pro, Docker Desktop 4.3.90. Just stopped working, I uninstalled the app and tried to install again, but it was unsuccessful.
I had the same error
Windows 11, 4.39.0
The issue was in optional features (Win + R > optionalfeatures), when i opened them menu was stuck at loading
Doing these steps have helped
I had the same error Windows 11, 4.39.0 The issue was in optional features (
Win + R>optionalfeatures), when i opened them menu was stuck at loading Doing these steps have helped
Just leaving this here - YouPiterOn's solution helped me out. The problem was indeed with the "optionalfeatures". Thank you!
help...
Component Docker.Installer.EnableFeaturesAction failed: 在 Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.Installer.InstallWorkflow.<ProcessAsync>d__25.MoveNext()