Windows could not start the World Wide Web Publishing Service(W3SCV) in windows server 2016

JULIAN Segura (CO) 0 Reputation points
2024-12-18T14:11:43.7366667+00:00

I have this server but the w3svc service does not start, this affects my IIS, how could I solve it, we have already reinstalled the IIS1

2

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,479 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 34,776 Reputation points
    2024-12-18T16:49:09.2833333+00:00

    -2147023828 = 0x8007042c = The dependency service or group failed to start.

    Run this Powershell script from an elevated prompt. It will attempt to start all dependent services. You will then need to investigate which service is preventing the others from starting.

    function Checkit($s) {
        "Checking $s"
        $srv = Get-Service $s
        foreach ($ssrv in $srv.ServicesDependedOn) {
            CheckIt $ssrv.Name
        }
        if ($srv.Status -eq "Running") {
            "   $s is running" 
        } else {
           "   $s is NOT running!!!!!!" 
           "   Attempting start..."
           $srv.Start()
        }
    }
    cls
    CheckIt 'w3svc' 
    

    On my Win11 laptop it shows this....

    Checking w3svc
    Checking WAS
    Checking RPCSS
    Checking DcomLaunch
       DcomLaunch is running
    Checking RpcEptMapper
       RpcEptMapper is running
       RPCSS is running
       WAS is running
    Checking HTTP
       HTTP is running
       w3svc is running
    
    
    

    Check the Application and System event logs for additional error events.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.