Windows Server 2003 Scheduled Task Logon Account Issue

  • Thread starter Thread starter Anna_Stephanie
  • Start date Start date
A

Anna_Stephanie

Guest
We have a scheduled task setup in Windows Server 2003 Standard Edition
with SP2. The task runs an exe file (which was written in VB) which
creates an Excel file and then sends it as an e-mail attachment to
specified recipients. When we use the domain administrator account to
run the task it works. When I specify a different account
(scheduledtaskuser) to run the task, it fails. The scheduledtaskuser
is a member of the domain admins group and the server's local admin
group, has full control to the directory in which the exe sits and has
all activation and launch permissions to the Micrososft Excel
Application in DCOM. Help!
 
Re: Windows Server 2003 Scheduled Task Logon Account Issue


"Anna_Stephanie" <ITAnnaJones@gmail.com> wrote in message
news:1185379004.861038.193660@r34g2000hsd.googlegroups.com...
> We have a scheduled task setup in Windows Server 2003 Standard Edition
> with SP2. The task runs an exe file (which was written in VB) which
> creates an Excel file and then sends it as an e-mail attachment to
> specified recipients. When we use the domain administrator account to
> run the task it works. When I specify a different account
> (scheduledtaskuser) to run the task, it fails. The scheduledtaskuser
> is a member of the domain admins group and the server's local admin
> group, has full control to the directory in which the exe sits and has
> all activation and launch permissions to the Micrososft Excel
> Application in DCOM. Help!
>


Enable some logging so that you can see what's going on:

@echo off
c:\tools\MyCompiledTask.exe 1>c:\test.txt 2>&1

Now have a look at c:\test.txt!
 
Back
Top