Installation fails: The Server service is not started.
- [x] I have tried with the latest version of my channel (Stable or Edge)
- [-] I have uploaded Diagnostics Docker isn't even installed.
Expected behavior
Docker Edge 2.1.5.0 installs
Actual behavior
Crashes
Information
Problem appears only on edge since wsl2 backend was implemented. WSL2 Tech preview worked fine.
- Windows Version: Windows Build 19023
- Docker Desktop Version: 2.1.5.0
Steps to reproduce the behavior
Start the installer.
https://docs.docker.com/docker-for-windows/troubleshoot/

Log
The Server service is not started.
at System.DirectoryServices.DirectoryEntry.RefreshCache()
at System.DirectoryServices.AccountManagement.PrincipalContext.DoMachineInit()
at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue)
at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
at CommunityInstaller.CreateGroupAction.
Same issue with Docker Desktop 2.2.0
Thanks for reporting this, could you guys look in the Windows Event Viewer to see if any error is being reported by the DockerService?

not really sure what happen tho i try to install it also to my desktop im not running windows server. running in windows 10 build 18362 and hyper-v enabled. and still cannot install docker desktop. thank you!
Any Update on this issue. It seems to be consistent for me.
@devanshujoshi do you have anything showing up in the Windows Event Viewer?
how can i install this on my desktop instead? not running a windows server on my side. i want to use docker for windows in localhost development thank you
Hello,
I got the same error here. In the event log I have the following error 10016 :
"The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {D63B10C5-BB46-4990-A94F-E40B9D520160} and APPID {9CA88EE3-ACB7-47C8-AFC4-AB702511C276} to the user ************* SID (*************) from address LocalHost (using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool. " Below a link from Microsoft that explains the error https://support.microsoft.com/en-us/help/4022522/dcom-event-id-10016-is-logged-in-windows
Exactly the same issue here :
Le service Serveur n’a pas démarré.
à System.DirectoryServices.DirectoryEntry.RefreshCache() à System.DirectoryServices.AccountManagement.PrincipalContext.DoMachineInit() à System.DirectoryServices.AccountManagement.PrincipalContext.Initialize() à System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx() à System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate) à System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue) à System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, String identityValue) à CommunityInstaller.CreateGroupAction.
b__33_0() à System.Threading.Tasks.Task.Execute() --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée --- à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() à CommunityInstaller.InstallWorkflow. d__29.MoveNext() --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée --- à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) à CommunityInstaller.InstallWorkflow. d__24.MoveNext()
Did someone found a workaround ?
@nabilgasri after reading the information at the link you provided I’m not sure this is the culprit:
These events can be safely ignored because they do not adversely affect functionality and are by design. This is the recommend action for these events.
Is there anything else in the Event Viewer?
@mat007 It was the only event int eventviewer The link says it can be ignored but I think that the Docker Installer is trying to access the User/Group information from the entreprise directory which is forbidden and this generates the 10016 error event.
By the way the installation of the version 2.1.0.5 works fine https://download.docker.com/win/stable/40693/Docker%20Desktop%20Installer.exe
I had the same issue, the problem was because the windows service "Server" was disabled. Enabling and starting it up fixed for me.

thanks @vgmello this helps installing the 2.2.0 version
Nice catch @vgmello ! I’ll create an internal ticket to see how we can fix the service dependencies. Thanks!
Hi @vgmello ,
It may be elementary of me but where can i find this setting ?
Hi @vgmello ,
It may be elementary of me but where can i find this setting ?
Press Windows + R, type services.msc, look for a service with a name of Server and try to start it. If it is disabled you will need to enable it first by going to the service properties and changing the startup type from disabled to Manual or Automatic
Detailed Instructions: https://computerstepbystep.com/server-service-windows-7.html (this very similar on Win10)
Hi @vgmello , It may be elementary of me but where can i find this setting ?
Press Windows + R, type services.msc, look for a service with a name of Server and try to start it. If it is disabled you will need to enable it first by going to the service properties and changing the startup type from disabled to Manual or Automatic
Detailed Instructions: https://computerstepbystep.com/server-service-windows-7.html (this very similar on Win10)
Additional bonus question: Why this Server service only appears on the services.msc but not on the Task Manager service tab?
With the release of Docker for Desktop 2.2.x the Server service (a.k.a. lanmanserver) shouldn't be needed anymore to my knowledge (see release notes). The installer should then not try to start that service, if it's not needed. Some companys prevent from using lanmanserver, so it would be of great help if it would be removed from the installer
i am facing the same error? Any resolutions?
@mknarula we have fixed this in our master branch, it will be available in the next Edge release in a few days (and much later in Stable). When I say fixed it’s actually that we’re now checking for the Server service in a prerequisite step in the installer and correctly report an error if we fail to start it.
A workaround has been explained in this issue: manually start the service if need before running the installer.