Re: IISRESET
- From: v-natliu@xxxxxxxxxxxxxxxxxxxx (Nathan Liu [MSFT])
- Date: Tue, 21 Jun 2005 00:45:12 GMT
Hello Gary,
Thank you for your update.
> What is the default setting of IISRESET?
If you run "IISRESET" without other parameters on a command prompt, the
default behavior if no options are specified is to stop and restart the Web
services on the local computer.
The syntax for using Iisreset.exe is as follows:
IISRESET [computer name] [/option] [/option] [(and so on)]
Iisreset.exe supports the following command-line parameters:
/RESTART
This option stops, and then restarts all running Internet services.
/START
This will start all Internet services that are set to autostart.
/STOP
This will stop all running Internet services.
/REBOOT
This parameter will restart the computer.
/REBOOTONERROR
This restarts the computer only when an error occurs when trying to start,
stop, or restart the Internet services.
/NOFORCE
Do not shut down Internet services on failure to stop them gracefully.
/TIMEOUT:val
This allows you to specify the timeout value in seconds waiting for a
successful stop of Internet services. On expiration of this timeout, the
computer can be restarted if the /REBOOTONERROR parameter is specified. The
default value is 20 seconds for restart, 60 seconds for stop.
/STATUS
This displays the status of all Internet services.
/ENABLE
This enables the Restart API for Internet services.
/DISABLE
This will disable the Restart API for Internet services.
Examples:
The following command will attempt to restart all running Web services and
reboot the computer if the command is not successful for any reason:
IISRESET /RESTART /REBOOTONERROR
This following will attempt to restart all running Web services, yet if
either the stop or restart commands are not successful within two minutes,
the computer will restart:
IISRESET /RESTART /TIMEOUT:120 /REBOOTONERROR
I hope this helps. If you have any questions or concerns, please do not
hesitate to let me know. I am always happy to be of further assistance.
Best regards,
Nathan Liu (MSFT)
Microsoft CSS Online Newsgroup Support
Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Gary Karasik" <gkarasik@xxxxxxx>
>References: <u7bFyqvcFHA.3620@xxxxxxxxxxxxxxxxxxxx>
<vjPaoAXdFHA.2304@xxxxxxxxxxxxxxxxxxxxx>
>Subject: Re: IISRESET
>Date: Mon, 20 Jun 2005 11:25:44 -0700
>Lines: 94
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
>X-RFC2646: Format=Flowed; Original
>Message-ID: <#Mvf5VcdFHA.3040@xxxxxxxxxxxxxxxxxxxx>
>Newsgroups: microsoft.public.windows.server.sbs
>NNTP-Posting-Host: 216.115.232.13
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.server.sbs:128843
>X-Tomcat-NG: microsoft.public.windows.server.sbs
>
>What is the default setting of IISRESET?
>
>GaryK
>
>"Nathan Liu [MSFT]" <v-natliu@xxxxxxxxxxxxxxxxxxxx> wrote in message
>news:vjPaoAXdFHA.2304@xxxxxxxxxxxxxxxxxxxxxxxx
>> Hello Gary,
>>
>> Thank you for posting in the SBS newsgroup.
>>
>> According to your description, I understand that you have some questions
>> with IISRESET command. If I have misunderstood your concern, please don't
>> hesitate to let me know.
>>
>> The IISRESET.exe is designed to easily allow Web administrators to take a
>> server offline or recycle services through the command line, the Task
>> Scheduler, or batch commands that perform additional tasks.
>>
>> As you mentioned, you have ran the "IISRESET /DISABLE" command on the
>> Server; this command will disable restart of IIS Admin service.
Therefore,
>> you need to run "IISRESET /ENABLE" command to enable the Restart API for
>> Internet services.
>>
>> To get additional detailed information, you may refer to the following KB
>> article:
>>
>> 202013 Internet Information Services 5.0 Command-Line Syntax for
>> Iisreset.exe
>> http://support.microsoft.com/default.aspx?scid=kb;en-us;202013
>>
>> Restarting IIS (IIS 6.0)
>>
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/9
>> 5826e7a-bac4-4e1f-bcb6-c52d49c9d7f4.mspx
>>
>> I hope this helps. If you have any questions or concerns, please do not
>> hesitate to let me know. I am always happy to be of further assistance.
>>
>> Best regards,
>>
>> Nathan Liu (MSFT)
>> Microsoft CSS Online Newsgroup Support
>> Get Secure! - www.microsoft.com/security
>> =====================================================
>> When responding to posts, please "Reply to Group" via your newsreader so
>> that others may learn and benefit from your issue.
>> =====================================================
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>> --------------------
>>>From: "Gary Karasik" <gkarasik@xxxxxxx>
>>>Subject: IISRESET
>>>Date: Thu, 16 Jun 2005 22:09:08 -0700
>>>Lines: 20
>>>X-Priority: 3
>>>X-MSMail-Priority: Normal
>>>X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
>>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
>>>X-RFC2646: Format=Flowed; Original
>>>Message-ID: <u7bFyqvcFHA.3620@xxxxxxxxxxxxxxxxxxxx>
>>>Newsgroups: microsoft.public.windows.server.sbs
>>>NNTP-Posting-Host: 216.115.232.13
>>>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
>>>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.server.sbs:128021
>>>X-Tomcat-NG: microsoft.public.windows.server.sbs
>>>
>>>Hi and FYI,
>>>
>>>Having just converted a couple of sites from POP3 to SMTP and then having
>>>those sites deluged with spam that, unbeknownst to me the POP3 servers
had
>>>been filtering, I decided to install Intelligent Message Filtering.
>> However
>>>IMF wouldn't install because the installer was unable to shut down
>> IISADMIN.
>>>After some troubleshooting that led me to trying to shutdown INETINFO via
>>>Task Manager, I spotted something called IISRESET which kept immediately
>>>restarting INETINFO everytime I shut it down. A google on IISRESET took
me
>>>to an MS KB article which described how to disable IISRESET (CMD window,
>>>IISRESET /DISABLE), after which the IMF installer was able to shutdown
>>>IISADMIN and successfully install IMF (and the subsequent IMF update).
>>>
>>>So what's IISRESET? I don't recall ever enabling it, but this is not
>>>definitive as I don't recall what I had for breakfast this morning. Is
>> this
>>>something I did? Or is it something MS did?
>>>
>>>GaryK
>>>
>>>
>>>
>>
>
>
>
.
- Follow-Ups:
- Re: IISRESET
- From: Gary Karasik
- Re: IISRESET
- References:
- IISRESET
- From: Gary Karasik
- RE: IISRESET
- From: Nathan Liu [MSFT]
- Re: IISRESET
- From: Gary Karasik
- IISRESET
- Prev by Date: Re: Windows 2003 speed up
- Next by Date: Re: Web server/Lan setup help
- Previous by thread: Re: IISRESET
- Next by thread: Re: IISRESET
- Index(es):
Relevant Pages
|
|