Поделиться через


IIS Reset Activity

Applies To: Windows Server 2008 R2

IISReset.exe is a command-line utility that was introduced in IIS 5.0 that could be used to stop, start, and restart IIS Internet services. Its use is not recommended for IIS 6.0 and is not supported in IIS 7.0 or IIS 7.5.

Note:  Restarting or stopping IIS, or rebooting your Web server, is a severe action. When you restart the Internet service, changes to the metabase can be lost. All sessions connected to your Web server are dropped, and any data held in Web applications is lost. All Internet sites are unavailable until Internet services are restarted. For these reasons, the use of IISReset is not recommended.

For more information about IISReset, see the article "Restarting IIS (IIS 6.0)" at (https://go.microsoft.com/fwlink/?LinkId=103388).

Events

Event ID Source Message

3201

Microsoft-Windows-IIS-IISReset

IIS start command received from user %1. The logged data is the status code.

3202

Microsoft-Windows-IIS-IISReset

IIS stop command received from user %1. The logged data is the status code.

3203

Microsoft-Windows-IIS-IISReset

IIS reboot command received from user %1. The logged data is the status code.

3204

Microsoft-Windows-IIS-IISReset

IIS kill command received from user %1. The logged data is the status code.

3205

Microsoft-Windows-IIS-IISReset

Your computer is being shut down by %1. Save any work that may be lost!

3206

Microsoft-Windows-IIS-IISReset

IIS Reset encountered an error while stopping services, which was requested by %1. The logged data is the status code. Since the force option is on, IIS Reset will now terminate the services' processes. This may cause SCM to report errors about the services exiting.

IISADMIN Service

Internet Information Services (IIS) 7.5