Paul,
Thanks for the KB, I think my schedule task is setup correctly. I use
Administrator as the user for the task.
As I mentioned, the issreset did run and it restarted all iis services
sucessfully. Just that 7031 error "bug" me as there is no error if I run it
manually.
I am just wonder if this 7031 error is normal when iisreset is run in
Schedule Task?
Thanks
"Paul Lynch" <paul.lynch.RemoveThis@nospam.com> wrote in message
news:jvqtc0h6sd8r6u0a107n33me2r029c31h4@4ax.com...
> On Tue, 15 Jun 2004 00:22:54 -0400, "Ron" <ry328.RemoveThis@coldmail.com> wrote:
>
> >Hi,
> >
> >I created a schedule task to run iisreset, it ran at the schedule time
but
> >there was an error showed in the event log: "7031 IIS Admin Service
> >Terminated Unexpectedly...". This error appears right before the IISCTLS
> >events.
> >
> >It seem that iisadmin was not responed to the iisreset command and got
> >"killed". Other than the error, iisreset did restart all iis services.
> >
> >However, if I run iisreset from the server command prompt, there is no
error
> >at all.
> >
> >Is it normal to have the error when running iisreset from schedule task?
> >
> >Thanks
> >
> >Ron
>
> Ron,
>
> Is the task running in the context of an account with full admin
> rights to the IIS machine ?
>
> HOW TO: Use Iisreset.exe and Task Scheduler to Schedule IIS to Restart
> in Windows 2000
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=317584</font" target="_blank">http://support.microsoft.com/?id=317584</font</a>>
>
>
> Regards,
>
> Paul Lynch
> MCSE<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Schedule a iisreset task