What is IISRESET?

 IISRESET is a command-line utility in Windows that is used to stop and restart the Internet Information Services (IIS) on a local or remote server. It stands for "IIS Reset" and is often used by administrators to perform a quick restart of IIS to apply configuration changes or resolve issues related to web applications hosted on the server.

When you run the IISRESET command with appropriate parameters, it will stop and restart all the IIS-related services, including the World Wide Web Publishing Service (W3SVC), Windows Process Activation Service (WAS), and other associated services.

How to RESTART/RESET IIS from IIS Portal?

  • Open IIS Manager:
  • Select the Server Name (Left top Corner)
  • Click on restart, this will restart the IIS. 



The general syntax of the IISRESET command is as follows:

iisreset [/RESTART] [/START] [/STOP] [/REBOOTONERROR] [/NOFORCE] [/TIMEOUT:seconds] [/STATUS]

- /RESTART: Restarts IIS (stop and start services).
- /START: Starts IIS (start services).
- /STOP: Stops IIS (stop services).
- /REBOOTONERROR: If specified, the system will reboot if an error occurs while stopping or restarting IIS.
- /NOFORCE: Allows the services to shut down gracefully. If not specified, IIS services will be forcefully terminated.
- /TIMEOUT:seconds: Specifies the timeout period (in seconds) to wait for IIS services to stop gracefully before forcefully terminating them.
- /STATUS: Displays the status of IIS services.

Here are some common scenarios where IISRESET is often used:


1. Applying Configuration Changes: After making changes to IIS settings or configuration files, using IISRESET helps apply the changes without having to manually stop and start each service.

2. Troubleshooting: If there are issues with web applications or if IIS is not responding correctly, restarting IIS with IISRESET can sometimes resolve the problems.

3. Clearing Cached Data: In some cases, IIS may cache certain data or settings. Restarting IIS with IISRESET can help clear these caches and ensure that the server is using the latest configurations.

However, it's important to use IISRESET with caution, especially in a production environment, as restarting IIS will temporarily interrupt the service and cause downtime for hosted web applications. It's recommended to plan restarts during maintenance windows or non-peak times to minimize the impact on users. For controlled restarts, consider using the IIS Manager tool or restarting individual IIS services selectively instead of using IISRESET.

Post a Comment

Previous Post Next Post