skip to Main Content

On Windows 10, Version 2004 (OS build 19041.1415)
I am trying to install docker desktop 4.5.0 after having installed WSL2 for Ubuntu. I tried repeatedly after a fresh reboot but this problem doesnt go away. Can anyone shed some light?

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:Usersnaus-ad-xxxAppDataLocalDockerinstall-log.txt
CommandLine: "C:UsersxxxDownloadsDocker 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 FilesDockerDocker
[11:26:10.761][FileSystem        ][Info   ] Deleted C:Program FilesDockerDocker successfully
[11:26:10.761][InstallWorkflow   ][Info   ] Rollbacking component CommunityInstaller.ExtractManifestStep
[11:26:10.764][InstallWorkflow   ][Info   ] Rollbacking component CommunityInstaller.DownloadStep

7

Answers


  1. I had the same issue too, when installing the latest version 4.5.0 (It had been released on Feb 10th, 2022) Try to downgrade to version 4.4.4 it worked for me.

    You can find the released note and older versions on this Docker for Windows

    Note: You can install an older version and update to latest version 4.5.0

    Login or Signup to reply.
  2. I had similar issue with 4.9.0 and tried installing 4.0.0 still my problem did not resolve. I removed trace from c drive (C:ProgramDataDockerDesktop, C:Program FilesDocker) and tried installing again but no luck. Later i found forum discussing about this. (https://github.com/docker/for-win/issues/1857) repeated the steps in windows command prompt running as admin.

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

    This steps helped me to install docker 4.9.0

    Login or Signup to reply.
  3. I had the same issue when attempting to install 4.12.0. I tried all sorts of things and the only one that worked for me was running the batch file (as Administrator) listed in the following post: https://programmersought.com/article/29075200559/

    Hope this helps someone.

    Login or Signup to reply.
  4. The fix for me was starting this service:

    Windows Installer

    Login or Signup to reply.
  5. sc config winmgmt start=disabled
    net stop winmgmt
    Winmgmt /salvagerepository %windir%System32wbem
    Winmgmt /resetrepository %windir%System32wbem
    sc config winmgmt start=auto
    Get-NetIPInterface
    

    following this command in cmd running as a admin

    Login or Signup to reply.
  6. In my case the problem was with Windows Management Instrumentation (WMI)

    Running this command in cmd as Administrator fixed the problem :

    CD C:WindowsSystem32WBEM && 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search