IIS command line syntax specifications
Originally Published: 2004-07-12
Article Number
Applies To
Microsoft Internet Information Server (IIS) 6.0
Microsoft Internet Information Server (IIS) 5.0
Issue
Not only can you use the Windows Services panel to manipulate the IIS Internet Services operation (like starting and stopping), there are IIS command line operations that you can execute to start and stop Services
Resolution
IISRESET.EXE (c) Microsoft Corp. 1998-1999
Usage: iisreset [computername]
/RESTART - Stop and then restart all Internet services set for autostart.
/START - Start all Internet services set for autostart.
/STOP Stop all Internet services.
/REBOOT Reboot the computer.
/REBOOTONERROR Reboot the computer if an error occurs when starting, stopping, or restarting Internet services.
/NOFORCE Do not forcefully terminate Internet services if attempting to stop them gracefully fails.
/TIMEOUT:val Specify the timeout value ( in seconds ) to wait for a successful stop of Internet services. On expiration of this timeout the computer can be rebooted if the
/REBOOTONERROR parameter is specified. The default value is 20s for restart, 60s for stop, and 0s for reboot.
/STATUS Display the status of all Internet services.
/ENABLE Enable restarting of Internet Services on the local system.
/DISABLE Disable restarting of Internet Services
Usage: iisreset [computername]
/RESTART - Stop and then restart all Internet services set for autostart.
/START - Start all Internet services set for autostart.
/STOP Stop all Internet services.
/REBOOT Reboot the computer.
/REBOOTONERROR Reboot the computer if an error occurs when starting, stopping, or restarting Internet services.
/NOFORCE Do not forcefully terminate Internet services if attempting to stop them gracefully fails.
/TIMEOUT:val Specify the timeout value ( in seconds ) to wait for a successful stop of Internet services. On expiration of this timeout the computer can be rebooted if the
/REBOOTONERROR parameter is specified. The default value is 20s for restart, 60s for stop, and 0s for reboot.
/STATUS Display the status of all Internet services.
/ENABLE Enable restarting of Internet Services on the local system.
/DISABLE Disable restarting of Internet Services
Related Articles
Silvertail: How to determine which shard contains an IP 24Number of Views Unification fails with error "Could not validate identity model" in RSA Identity Governance & Lifecycle 7.0.2 68Number of Views RSA Authentication Agent API 8.6 for C Developer's Guide 111Number of Views Support for CLOB and BLOB variables in Workpoint SQL Nodes added in version 7.0.1 with the new Workflow Editor in RSA Iden… 31Number of Views Update a Group Capability in Active directory Connector fails to update the [info] attribute with "java.lang.NullPointerEx… 7Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to Download OTP Token Seed Files from myRSA How to Connect to the RSA Authentication Manager Database Using PostgreSQL (psql)
Don't see what you're looking for?