Skip to main content

How to Restart IIS Safely

Restarting Internet Information Services (IIS) restarts the web server's core processes to apply configuration changes or resolve service issues. This procedure allows a Windows Server administrator to restart the IIS service safely on a Windows Server.

Restarting Internet Information Services (IIS) restarts the web server's core processes to apply configuration changes or resolve service issues. This procedure allows a Windows Server administrator to restart the IIS service safely on a Windows Server.

Warning: Restarting IIS will momentarily disconnect active connections and cause a brief period of downtime for all websites hosted on the server.

Before you begin

You will need:

  • Administrator access to the Windows Server

  • A maintenance window to account for the brief service interruption

Restarting the IIS service

  1. Open the Start menu and type inetmgr to open Internet Information Services (IIS) Manager.

  2. In the Connections pane on the left, click on the server name.

  3. In the Actions pane on the right, click Restart.

  4. Wait for the process to complete. The system will notify you once the service has restarted.

Confirm the result

  • The Actions pane will display a message confirming that the service has restarted.

  • You can verify the service status by opening the IIS Manager and ensuring the server name is selectable and active.

  • Test a hosted website to ensure it loads correctly.

If the IIS Manager interface is unavailable

If you cannot access the IIS Manager interface, you can restart the service using the command line.

  1. Open the Start menu, type cmd, and select Run as administrator.

  2. Type the following command and press Enter:

    iisreset

  3. Wait for the message IIS_RESTART_SUCCESSFUL or similar confirmation.

Limitations

This procedure restarts the entire IIS service. If you only need to refresh a specific application's environment without restarting the entire web server, you should instead restart the specific Application Pool associated with that website.

Did this answer your question?