faqts : Computers : Operating Systems : Microsoft : Windows 2000 : Professional : Internet Information Server (IIS)

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

66 of 74 people (89%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

Internet: Web Server: Microsoft Information Server: IIS: How start/stop IIS from MSDOS command line?

Feb 12th, 2005 17:32
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 14 December 2003 - 10:43 pm -------------------

Internet: Web Server: Microsoft Information Server: IIS: How 
start/stop IIS from MSDOS command line?

---

To stop IIS, at the DOS command prompt, type:

 iisreset.exe /stop

---
---

To start IIS, at the DOS command prompt, type:

 iisreset.exe /start


---

To restart IIS, at the DOS command prompt, type:

 iisreset.exe /restart

---

[Internet: source: http://www.google.com search for 'start "internet 
information services" command line dos': 
http://kb.storactive.com/article.asp?aid=188]

---
---

To see more information about iisreset.exe,
type on the MSDOS command line

 iisreset /?

You will then see a screen similar to the following:

+---------------------------------------------------------------------+
|IISRESET.EXE (c) Microsoft Corp. 1998-1999                           |
|                                                                     |
|Usage:                                                               |
|                                                                     |
|iisreset [computername]                                              |
|                                                                     |
|    /RESTART            Stop and then restart all Internet services. |
|    /START              Start all Internet services.                 |
|    /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      |
|                        on the local system.                         |
+---------------------------------------------------------------------+

---
---

other commands you could possibly use and or try:

net start iisadmin

net stop iisadmin

---
---

Internet: see also:

---

Internet: Web server: How install Microsoft Information Server (IIS) 
on Windows2000/XP Professional?
http://www.faqts.com/knowledge_base/view.phtml/aid/12558

---

Internet: Web Server: HTTP: Apache: How to start/stop Apache for 
Windows from MSDOS command line?
http://www.faqts.com/knowledge_base/view.phtml/aid/33463/fid/56

----------------------------------------------------------------------