IIS "W3SVC" service keep getting disabled

gabriel.yip.igsl 0 Reputation points
2023-05-18T02:41:02.0833333+00:00

OS : Microsoft Server 2019

IIS Version : 10.0.17763.1

Screenshot (217)

We have just installed the IIS Server on our MS Server 2019, and is hosting a local .NET 4.5 website.

However, after installing leaving web server for a few days, the "World Wide Web Publishing Service" is disabled and not running.

We have tried different methods:

  1. Checking the Registry Key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP] for the "NoRun" key
  2. Confirming other related services are running also (“Windows Management Instrumentation”,"Remote Procedure Call (RPC)","DCOM Server Process Launcher","RPC Endpoint Mapper.")

Reference:

https://stackoverflow.com/questions/21023622/iis-w3svc-error

https://serverfault.com/questions/524099/iis-returning-error-cant-start-w3svc

https://learn.microsoft.com/en-us/answers/questions/456090/word-wide-web-publishing-service-keeps-stopping

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,785 questions
Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Amit Singh 4,901 Reputation points
    2023-05-18T10:43:16.4533333+00:00

    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."

    Check this thread for help - https://superuser.com/questions/176520/cannot-start-service-w3svc-on-computer

    0 comments No comments

  2. Limitless Technology 44,371 Reputation points
    2023-05-18T15:20:51.7966667+00:00

    Hello there,

    This commonly occurs when port 80 is being used by something else. If this is a dev box, do you also have Apache or Skype installed?

    You can check if port 80 is in use by running netstat -ab|find "80" in an elevated command prompt. This may take a minute or two to run depending on what network activity is occurring on your PC.

    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"

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--


  3. Limitless Technology 44,371 Reputation points
    2023-05-18T15:21:06.1133333+00:00

    Double post

    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.