Re: Run batch w/o log on



"Danm" <Danm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:41742D07-1FDA-4980-A8E9-A088C89A2292@xxxxxxxxxxxxxxxx
Thanks for the suggestion, Vanguard. The first two were in effect. I
enabled Wake the computer... But no joy.

"Vanguard" wrote:

"Danm" wrote in message
news:A9C0311D-74BC-4848-A9EE-451A9186CE8C@xxxxxxxxxxxxxxxx
>I have two simple batch files A & B. Both are scheduled to run at
>night
> without anyone logged on. Both work when I am logged on as
> Administrator,
> have the same permissions, and the same "Run as" parameters.
>
> A simply runs an exe file (virus scan) and works well.
> B contains a simple copy command to copy a file from C:\ to a > network
> drive.
> It does not run with administrator logged off. I have tried to
> reference
> the network drive by its mapped letter and by its > \\computername\share
> path.
>
> The OS is Windows Server 2003
>
> I hope there is something simple I am missing that someone can help > me
> with.
>
>


Make sure of the following:

Run only when logged in = disabled
Enabled = enabled
Wake the computer to run this task = enabled




All scheduled tasks run under an account. If you want to ensure the script has the same permissions as Administrator then make sure you specify the Administrator account and its correct login password in the security for the scheduled task.

So what does the log show for that scheduled task? Advanced -> View Log menu.

.



Relevant Pages

  • Re: set scheduled task
    ... can i assign another userid to do that bcoz i always miss to update ... the password for scheduled task after administrator password changed. ... not the built in Administrator account. ...
    (microsoft.public.windows.server.setup)
  • Re: ExMerge 2k - Scheduled Task Fails, Manual Run OK? - Help?
    ... I have setup Exchange 2K and ExMerge the same way at ... also I have the scheduled task running with the administrator userID. ... It doesn't however make sense that if one mailbox needs to be ...
    (microsoft.public.exchange.admin)
  • Re: Running Scheduled Tasks Remotely Without Full Administrator Ri
    ... It seems that in order to CREATE a task, one must be an administrator. ... try to create the scheduled task with the test user. ... MCSA Windows 2003 server ... local security policy, but I am still getting an "ERROR: ...
    (microsoft.public.windows.server.general)
  • Re: Security Log Event 529
    ... The user is ALWAYS administrator. ... Is there a scheduled task, a service, backup, a GPO with a software ... connecting to companyweb or anything else on the SBS, whereas the VPC ... machine using IE7 is not configured to do so? ...
    (microsoft.public.windows.server.sbs)
  • Re: NTbackup scripts and scheduled tasks
    ... The Administrator Account is a member of Domain Admins Group which has rights on all PCs in the domain ... To avoid having an issue where I need to update the scheduled task password ...
    (microsoft.public.windows.server.sbs)

Loading