IMG-LOGO

How to restart IIS in cmd?

andy - 16 Oct, 2019 8219 Views 0 Comment

In this tutorial, we are going to learn on how to restart IIS in command prompt in Windows.

If you are using Windows 10, you can use the search bar input and enter CMD. If you are using an older version of Windows, you click the Start Menu and click Run menu. In the open box, you type cmd and click OK.

A command prompt windows will appear. Then type in the following command.

iisreset /noforce

The option noforce means it will wait for a minute to stop all the services before restarting the IIS.

If you receive an access denied message. You need to run the command prompt as administrator.

You can do this by right click of the command prompt icon and run as Administrator.

Here is the screenshot if the IIS restart is successful.

Comments

There are no comments available.

Write Comment
0 characters entered. Maximum characters allowed are 1000 characters.

Related Articles