• Home
  • Ubuntu 20.04
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us
TecAdmin
Menu
  • Home
  • Ubuntu 20.04
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us

How to Restart IIS via Command Line

Written by Rahul, Updated on May 6, 2020

We have two options to Start, Stop to Restart IIS service on windows. You can do it directly from the Windows services center or you can do it directly via the command line.

To do this you must have Administrative access to your system. Open Windows command prompt “run as Administrator” and follow the below instructions.

If you are directly logged in with the Administrator account you can run the same commands through run Window in your Windows system.

1. Start IIS via Command Line

Use following command to start IIS service on Windows operating systems. Either use Windows command prompt to run this command or execute it from run window.

To start IIS on command line, Open terminal and type:

c:/> iisreset /start

Start IIS command line

Press WIN + R to open Run window. Type the same command on run window and press enter:

Start IIS Run Window

2. Stop IIS via Command Line:

Use following command to stop IIS service on Windows operating systems. Either use Windows command prompt to run this command or execute it from run window.

c:/> iisreset /stop

To stop IIS on command line, open terminal and type:

Stop IIS command line

Press WIN + R to open Run window. Type the same command on run window and press enter:

Stop IIS Run Window

3. ReStart IIS via Command Line:

Use the following command to restart IIS service on Windows operating systems. Either use the Windows command prompt to run this command or execute it from the run window.

c:/> iisreset /restart

[or]

c:/> iisreset

Default iisreset command restarts the IIS service. So you don’t need to provide /restart parameter option to iisreset command to restart IIS service.

To restart IIS on command line, open terminal and type:

restart-iis-run

Press WIN + R to open Run window. Type the same command on run window and press enter:

restart-iis

Share it!
Share on Facebook
Share on Twitter
Share on LinkedIn
Share on Reddit
Share on Tumblr
Share on Whatsapp
Rahul
Rahul
Connect on Facebook Connect on Twitter

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

5 Comments

  1. Avatar John Prevette Reply
    October 1, 2019 at 6:51 pm

    Your picture under “Stop” and “Start” are backwards (they don’t sync with the text)

  2. Avatar Srikanth Reply
    September 17, 2019 at 7:54 am

    How we can stop remotely from other server as a batch or powershell ?

  3. Avatar Rendra Reply
    August 6, 2017 at 1:01 am

    Thanks a lot, it saved my day 🙂
    I can’t start my wampp server because it’s IIS service still online.

  4. Avatar Prathima Reply
    April 4, 2017 at 1:13 pm

    Hi ,
    Can you please help me is there a way to automate this process to perform iisreset when one of the services is down ?

  5. Avatar LEAVE A REPLY Reply
    November 20, 2015 at 12:17 pm

    Hello Thanks Post To This Article. Its Working And use to easily..

Leave a Reply Cancel reply

Popular Posts

  • How To Install Python 3.9 on Debian 10
  • Download Ubuntu 20.04 LTS – DVD ISO Images
  • Linux Run Commands As Another User
  • How to Check PHP Version (Apache/Nginx/CLI)
  • How To Install and Configure GitLab on Ubuntu 20.04
  • How to Install PyCharm on Ubuntu 20.04
  • How to Check Ubuntu Version with Command or Script
  • How to Set all directories to 755 And all files to 644
© 2013-2021 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy