Missing or Cannot Start w3svc

email me

Some of my field notes while working on SCCM features and services…

If you’re having problems with the w3svc service

Try this first

Go to Task Manager > Processes and manually stop the W3SVC process. After doing this the process should start normally when restarting IIS

 

Try this second

Run > appwiz.cpl > Turn windows features on or off > Uncheck “Internet Information Services” and “Windows Process Activation Service”

Restart your machine.
Run > appwiz.cpl > install both “Internet Information Services” and “Windows Process Activation Service”

 

Then this…if it still doesn’t work

1. Confirm that “Windows Management Instrumentation” is started and its startup type is set to automatic.

2. Also make sure the following dependency services are started for World Wide Web Publishing Service:

Windows Process Activation Service
Remote Procedure Call (RPC)
DCOM Server Process Launcher
RPC Endpoint Mapper.

3. Open regedit, navigate to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP]:

a) Double click on Start and change value data from 4(disabled) to 3(automatically).
b) Delete “NoRun” key if this key exists.

4. Uninstall “Internet information Service” and “Windows process activation service(if it is already installed)” from
“Turn windows feature on or off” and Restart your PC.

5. Type the below command in CMD and press enter:

net start http
Now it will notify you that service is already running.

6. Reinstall Internet information Service from “Turn windows feature on or off”.

Verify C:\Windows\System32\inetsrv\config\applicationHost.config looks correct. Check for a “system.web” section in this file which may be causing problems. Remove the section.

7. Make sure these 2 services running and their startup type is automatic.If they are disabled and not running right click on them and go to properties and change them.

Windows process activation service
Worldwide web publishing service

8. Start IIS and my websites are started now, no more “w3svc service is not running error.”

9. Restart computer.

 

Notes

netstat -a -o|findstr 80
sc config http start= auto
sc config http start = auto
net start w3svc