Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Docker Desktop 4.5.0 failed: Componet.CommunityInstaller.EnableFeaturesAction failed: Not found

On Windows 10, Version 2004 (OS build 19041.1415), I am trying to install Docker Desktop 4.5.0 after having installed WSL 2 for Ubuntu. I tried repeatedly after a fresh reboot, but this problem doesn’t go away. How can I fix it?

Component CommunityInstaller.EnableFeaturesAction failed: Not found
   at CommunityInstaller.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 CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__24.MoveNext()

Full log:

OS: Windows 10 Enterprise
Edition: Enterprise
Id: 2004
Build: 19041
BuildLabName: 19041.1.amd64fre.vb_release.191206-1406
File: C:\Users\naus-ad-xxx\AppData\Local\Docker\install-log.txt
CommandLine: "C:\Users\xxx\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
[11:23:53.421][ManifestAndExistingInstallationLoader][Info   ] No install path specified, looking for default installation registry key
[11:23:53.421][Program           ][Info   ] No installation found
[11:23:53.784][InstallWorkflow   ][Info   ] Cancel pending background download
[11:23:53.822][BackgroundTransfer][Info   ] Cancel current background transfer job
[11:23:54.856][InstallWorkflow   ][Info   ] Using package: res:DockerDesktop
[11:23:54.856][InstallWorkflow   ][Info   ] Downloading
[11:23:57.240][InstallWorkflow   ][Info   ] Extracting manifest
Failed to track the installer started event[11:23:57.643][InstallWorkflow   ][Info   ] Manifest found: version=74594, displayVersion=4.5.0, channelUrl=https://desktop.docker.com/win/main/amd64/appcast.xml
[11:23:57.643][InstallWorkflow   ][Info   ] Checking prerequisites
[11:23:57.666][InstallWorkflow   ][Info   ] Prompting for optional features
[11:23:59.863][InstallWorkflow   ][Info   ] Unpacking artifacts
[11:26:07.556][InstallWorkflow   ][Info   ] Deploying component CommunityInstaller.CreateGroupAction
[11:26:10.120][InstallWorkflow   ][Info   ] Deploying component CommunityInstaller.AddToGroupAction
[11:26:10.130][InstallWorkflow   ][Info   ] Deploying component CommunityInstaller.EnableFeaturesAction
**[11:26:10.181][InstallWorkflow   ][Error  ] Installation failed
Exception type: System.Exception, Exception message: Component CommunityInstaller.EnableFeaturesAction failed: Not found , StackTrace:
   at CommunityInstaller.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 CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__24.MoveNext()**
[11:26:10.185][InstallWorkflow   ][Info   ] Rollbacking component CommunityInstaller.AddToGroupAction
[11:26:10.186][InstallWorkflow   ][Info   ] Rollbacking component CommunityInstaller.CreateGroupAction
[11:26:10.186][InstallWorkflow   ][Info   ] Rollbacking component CommunityInstaller.UnpackArtifactsStep
[11:26:10.194][FileSystem        ][Info   ] Deleting C:\Program Files\Docker\Docker
[11:26:10.761][FileSystem        ][Info   ] Deleted C:\Program Files\Docker\Docker successfully
[11:26:10.761][InstallWorkflow   ][Info   ] Rollbacking component CommunityInstaller.ExtractManifestStep
[11:26:10.764][InstallWorkflow   ][Info   ] Rollbacking component CommunityInstaller.DownloadStep
like image 663
Gohawks Avatar asked Dec 09 '25 08:12

Gohawks


2 Answers

In my case, the problem was with Windows Management Instrumentation (WMI)

Running this command in cmd as Administrator fixed the problem:

CD C:\Windows\System32\WBEM && dir /b *.mof *.mfl | findstr /v /i uninstall > moflist.txt & for /F %s in (moflist.txt) do mofcomp %s

I have got this command from this article.

like image 110
Namig Hajiyev Avatar answered Dec 11 '25 22:12

Namig Hajiyev


I had a similar issue with 4.9.0 and tried installing 4.0.0, but still my problem did not resolve. I removed trace from the C: drive (C:\ProgramData\DockerDesktop and C:\Program Files\Docker) and tried installing again, but no luck. Later I found a forum post discussing about this) repeated the steps in a Windows command prompt, running as administrator.

  1. sc config winmgmt start=disabled
  2. net stop winmgmt
  3. Winmgmt /salvagerepository %windir%\System32\wbem
  4. Winmgmt /resetrepository %windir%\System32\wbem
  5. sc config winmgmt start=auto
  6. Get-NetIPInterface

These steps helped me to install Docker 4.9.0.

like image 42
Ramesh Ch Avatar answered Dec 11 '25 23:12

Ramesh Ch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!