How do I disable the IIS server on Windows 10 and free up port 80?

5

3

I want to use TiKi to use as a collaboration website.

Up until Windows 10 arrived I've never had any trouble installing development tools using the LAMPP, WAMPP, or XAMPP website installers. Tools such as Redmine, TestLink, CMS, and others. Now Windows 10 installs and activates IIS whether you want it or not. Consequently, it hogs port 80 which impacts connections to MySQL and other modules down the line.

I changed Apache to use Port 8080 instead of 80 as IIS is sitting on 80. That worked for Apache, except now it package couldn't find MySQL on Port 3306 or PHP.

How do I completely disable IIS server and everything it is now hogging?

Doug12745

Posted 2018-11-20T17:53:09.767

Reputation: 51

1Welcome to Super User! It looks like you've got a couple of distinct questions- disabling IIS, and sorting out MySQL and PHP. I would recommend that you [edit] your question and focus on one thing at a time, such as disabling IIS. You can then [ask] a separate question with more details about MySQL and one for PHP if needed at that point. Cheers! :) – bertieb – 2018-11-20T19:00:43.707

“Now Windows 10 installs and activates IIS whether you want it or not.” – It most certainly does not. You might want to check [my answer] on a related question. – Daniel B – 2018-11-20T19:24:23.743

@DanielB you omitted the link- I would add it myself but I wasn't sure which one of your 859 answers it was :) – bertieb – 2018-11-20T22:43:26.450

1

Whoops. P: Here’s the answer, this time for real. :)

– Daniel B – 2018-11-21T07:08:35.470

Where have you "tried" to install Apache/XAMPP? As I understand it, there can be permissions issues if installing to the Program Files directory. (?) – MrWhite – 2018-12-18T18:53:06.853

In my case it was about SQL Server 2014 Express, I had to stop it's service in order to be able to run apache in XAMPP. – bitsnaps – 2019-07-16T22:12:16.520

Answers

7

To uninstall IIS:

  • Call Control Panel > Programs and Features
  • Click Turn Windows features on or off
  • Scroll down to Internet Information Services

    enter image description here

  • Click on the square next to Internet Information Services so it becomes empty

    enter image description here

  • Click OK and reboot if required.

harrymc

Posted 2018-11-20T17:53:09.767

Reputation: 306 093

4"Uninstalling" would seem to be a bit overkill IMO. Can the "service"(?) not be simply stopped? (Or change the port that IIS listens on?) – MrWhite – 2018-12-18T18:54:11.847

@MrWhite You stop all related services, but Windows has a nag for turning them back on after updates. – Mast – 2019-03-06T22:19:29.563

still IIS is running and port 80 is blocked... – Himanshu Bansal – 2019-11-19T07:53:11.433

0

W3SVC

The World Wide Web Publishing service, described in detail here, is a listener adapter for http.sys. The W3SVC service can be stopped and started from the Services management console. https://blogs.msdn.microsoft.com/benjaminperkins/2016/06/16/lab-6-using-http-w3svc-was-and-w3wp/

You can disable the W3SVC service by running the command

services.msc

Search for "World Wide Web Publishing Service", Double-click to access the service's properties. And finally change Startup type from "Automatic" to "Manual" or "Disabled".

However, this will disable it until the next update comes, Windows will reset the settings based on Matt comment.

MegamanHxH

Posted 2018-11-20T17:53:09.767

Reputation: 1