I am doing a lot of work using the XAMPP stack, but every time I restart my machine, I have to manually stop IIS before I can start Apache.

I can't find a service for IIS to configure not to start automatically. How can I prevent IIS from starting automatically?

3 Answers 3


You have to disable two services:

  • World Wide Web Publishing Service (W3SVC)
  • IIS Admin Service (IISADMIN)

Go to Services, properties of the above mentioned services, change the start up type to "Disabled"


  • 3
    If you want to be able to run IIS, setting the start up type to "Manual" – and then use iisreset or a service control tool to start when required.
    – Richard
    Oct 27, 2011 at 7:22
  • agree with Richard. you can update the type to manual so you still able to start, instead of disabling it.
    – Rudy
    Oct 27, 2011 at 10:28
  • Not seeing IISADMIN on Windows 2012 R2 Server
    – test
    Jul 21, 2017 at 22:02
  • I had IISADMIN on Windows 2012 R2 Standard, so it should be there.
    – h2ooooooo
    Jan 26, 2018 at 11:12
  • 2
    @the_nuts the W3SVC exists on my Windows 10 Pro 21H1 Version....but the IISADMIN not... Sep 24, 2021 at 21:47

Look for World Wide Web Publishing Service (W3SVC) in services.

Also you could change the default port into something that does not conflict with Apache?

  • +1 for the port idea. I'll do that when I'm back to using both servers.
    – ProfK
    Oct 27, 2011 at 10:31
  • 1
    how to change the port used by IIS Mar 30, 2016 at 8:58
  1. Hit Windowskey-R (or click start -> run).
  2. Type in "services.msc"
  3. Double Click "World Wide Web Publishing Service" to view its properties
  4. On the first tab "General" you'll see a "Startup type" drop down box, set it to "Manual" or "Disabled".
  • don't forget to also disable the admin service (see Noor's answer) Oct 27, 2011 at 9:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .