No http service - Windows 10
I can't seem to start my printer spooler service because some of the dependencies have not started.
So I looked at the dependencies in the options menu.
I found that there was no HTTP service in my services.msc
. So I started looking into how to install the HTTP service manually.
I've gone into Add Programs and Features
in the menu and installed all the IIS
and World Wide Web Publishing
services, but with no avail.
I am trying to install the HTTP service on a development machine which already has an Apache service running. I don't know if this could have an impact on the HTTP service.
Basically I need to know one of two things:
1 - How to install the HTTP service manually from a DLL (I don't think its possible)
2 - How to rectify the problem so that the HTTP service is installed so that I can start the printer spooler.
Just a side note the winhttp.dll
file is in my system 32 folder.
search-ms:displayname=Search%20Results%20in%20system32&crumb=filename%3A~<Winhttp.dll%20OR%20System.Generic.String%3AWinhttp.dll&crumb=location:C%3A%5CWINDOWS%5Csystem32
EDIT (showing results for sc qc spooler
from cmd) from @w32sh
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: spooler
TYPE : 110 WIN32_OWN_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\spoolsv.exe
LOAD_ORDER_GROUP : SpoolerGroup
TAG : 0
DISPLAY_NAME : Print Spooler
DEPENDENCIES : RPCSS
: http
SERVICE_START_NAME : LocalSystem
Services MMC doesn't list http
, as it's a driver and not exactly a service.
These two commands will tell you how http driver is configured and what happens whey they start. From Admin Command Prompt, type:
sc qc http
To start http driver:
net start http
(the latter will try to start http
, and shows an error code if it fails to start.)
In my case, the issue was that WinQuic is listed as a dependency of HTTP, and HTTP is a dependency of the Print Spooler service. WinQuic appeared to be missing following an update to Windows 10 1809:
C:\WINDOWS\system32>sc qc winquic
[SC] OpenService FAILED 1060:
The specified service does not exist as an installed service.
The solution was to export the registry keys from a working 1809 PC: [Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinQuic]
The keys were merged, then the system rebooted. The Print Spooler service was running and all missing printers reappeared.
Thanks to Win32Guy and Jacques Koekemoer for the wonderful work, interpretation & Technet link. SC : Microsoft Docs
I want to take into account the broader aspects, keep Print Spooler in the center & develop an understanding. I want to mention:
-
Print Spooler Dependency Tree, i.e., The system components Print Spooler depends upon:
- Print Spooler (Spooler) depends on Remote Procedure Call (RPCSS) & HTTP Service (HTTP)
- RPCSS depends on DCOM Server Process Launcher (DcomLaunch) & RPC Endpoint Mapper (RpcEptMapper)
- HTTP doesn't have any dependencies.
- Dcomlaunch & RpcEptMapper doesn't have any dependencies.
- So now we have found the proper tree & roots. We have to start with the roots!
- HTTP is not a service & a driver, but all the others are services & are located in/by services.msc. You can't find HTTP there.
- A question arises, how to work with/on HTTP? sc commands are good to work with HTTP as well as services mentioned in services.msc.
What are the ideal configurations for the Five? I have ideal configurations on my pc/os for all the five. I will run the sc qc command for the five & show the info here so that anyone can check/match with that as below :
C:\Users\LittlePro>sc qc DcomLaunch [SC] QueryServiceConfig SUCCESS SERVICE_NAME: DcomLaunch TYPE : 20 WIN32_SHARE_PROCESS START_TYPE : 2 AUTO_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : C:\Windows\system32\svchost.exe -k DcomLaunch LOAD_ORDER_GROUP : COM Infrastructure TAG : 0 DISPLAY_NAME : DCOM Server Process Launcher DEPENDENCIES : SERVICE_START_NAME : LocalSystem C:\Users\LittlePro>sc qc RpcEptMapper [SC] QueryServiceConfig SUCCESS SERVICE_NAME: RpcEptMapper TYPE : 20 WIN32_SHARE_PROCESS START_TYPE : 2 AUTO_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : C:\Windows\system32\svchost.exe -k RPCSS LOAD_ORDER_GROUP : COM Infrastructure TAG : 0 DISPLAY_NAME : RPC Endpoint Mapper DEPENDENCIES : SERVICE_START_NAME : NT AUTHORITY\NetworkService C:\Users\LittlePro>sc qc RPCSS [SC] QueryServiceConfig SUCCESS SERVICE_NAME: RPCSS TYPE : 20 WIN32_SHARE_PROCESS START_TYPE : 2 AUTO_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : C:\Windows\system32\svchost.exe -k rpcss LOAD_ORDER_GROUP : COM Infrastructure TAG : 0 DISPLAY_NAME : Remote Procedure Call (RPC) DEPENDENCIES : RpcEptMapper : DcomLaunch SERVICE_START_NAME: NT AUTHORITY\NetworkService C:\Users\LittlePro>sc qc http [SC] QueryServiceConfig SUCCESS SERVICE_NAME: HTTP TYPE : 1 KERNEL_DRIVER START_TYPE : 3 DEMAND_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : system32\drivers\HTTP.sys LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : HTTP Service DEPENDENCIES : SERVICE_START_NAME : C:\Users\LittlePro>sc qc Spooler [SC] QueryServiceConfig SUCCESS SERVICE_NAME: Spooler TYPE : 110 WIN32_OWN_PROCESS (interactive) START_TYPE : 2 AUTO_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : C:\Windows\System32\spoolsv.exe LOAD_ORDER_GROUP : SpoolerGroup TAG : 0 DISPLAY_NAME : Print Spooler DEPENDENCIES : RPCSS : http SERVICE_START_NAME : LocalSystem
- Start from the roots & make the configuration changes with command sc config
4.I think one can use the net start command to start any service, once it has been configured properly. (if needed!)
- What sir Win32Guy says about the dependency of spooler upon HTTP : "Although "HTTP" driver is listed as one of the dependencies for Spooler service in a clean Windows installation, Spooler can function even without HTTP " So, perhaps this link is a solution for some people : "Fix Spooler Service Error 1068 “The dependency service or group failed to start” By sir Ramesh Srinivasan But I am looking for a Real solution!
( These configurations are identical in win 7, win 8 & win 10 32/64 . So, this thread is workable through all of them )
( These links can come handy for services under services.msc : How to Restore Default Services in Windows 7
Black Viper’s Windows 7 Service Pack 1 Service Configurations )