IIS returning error can't start W3SVC
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
Confirm that “Windows Management Instrumentation” is started and its startup type is set to automatic.
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.
- 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.
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.
Type the below command in CMD and press enter:
net start http Now it will notify you that service is already running.
- 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.
- 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
Start IIS and my websites are started now, no more “w3svc service is not running error.”
Restart computer.