How do I stop IIS via command prompt?

RDP on to the server

To stop IIS using the IISReset command-line utility

  1. From the Start menu, click Run.
  2. In the Open box, type cmd, and click OK.
  3. At the command prompt, type
iisreset /stop
  1. IIS attempts to stop all services.

Was this article helpful?

Related guides