Re: Scheduling Task For Network

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Powlaz" <Powlaz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:ADC7801B-59BD-4298-9E25-D9D686E9193D@xxxxxxxxxxxxxxxx
Thank you for the reply. I don't know where the SchTask command is that I
made last time . . .
Oh I see what I did. I created a job (scheduled task) using the GUI and
the
domain admin account and copied it to every computer. Still didn't run.

*** How did you copy the task to each PC?

This time I did this:
System -
schtasks /create /tn OTSLM /tr "C:IT Tools\OTSLM\OTSLM.bat" /sc weekly /mo
1
/d Sat /st 09:00:00 /sd 04/05/2008 /s dispatch4 /ru System

I got - access is denied

*** This means what it says: Your current account does not
*** have the authority to create a task.

As Domain Admin -
schtasks /create /tn OTSLM /tr "C:IT Tools\OTSLM\OTSLM.bat" /sc weekly /mo
1
/d Sat /st 09:00:00 /sd 04/05/2008 /s dispatch4 /u domain\administrator /p
password

I got - multiple connections to a server or shared resource by the same
user, using more than one user name, are not allowed.
What does this mean?

*** This means also what it says: That you have existing
*** network connections that conflict with the job you're
*** trying to do. Knock them out!
***

When I leave user and password information out altogether the task wants
to
be created using my login. I am a member of the domain admins but am not
a
local admin on all PCs.

*** You cannot create a scheduled task without user
*** credentials.

Where do I go from here. We have serveral workstations that are used by
more than one person. I need this program to run regardless of who is
logged
in.

Thanks for the help.

Po
"Pegasus (MVP)" wrote:


"Powlaz" <Powlaz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:46847663-08F1-47B1-82DF-E99F2BCFC2BE@xxxxxxxxxxxxxxxx
I have been trying to get a scheduled task to run that I made using
schtasks
for the 40 computers on our network. Here's my problem:

If I leave the user info blank (let the task assume the credentials of
the
person logged in) the task doesn't run - and then I don't know if the
computer is logged off (which it will be) if this method would allow
the
task
to run.
If I use the System account's credentials the task doesn't run
If I use the domain admin account's credentials the task doesn't run.

The task sets up and configures exactly as I expect. I will then
physically
go to one of the computers, log in as the user of that PC and right
click
and
Run the scheduled task and it fails (usually can not start).

I honestly would prefer to schedule/run the task for each computer from
my
server. Is there a network task scheduler that would allow me to view
the
task log for each computer in one interface.

Server is Windows 2003 Std. R2.
Worksations are XP Pro SP2.

Thanks for the help.

Po

You should show us your schtasks.exe command line if you have
a problem running it it.

Using schtasks.exe /query /v /s.., you can obtain a detailed list
of all scheduled tasks on a remote system. If you want log details
then you can, of course, examine the log file by looking at
\\PCx\Admin\windows\schedlgu.txt.





.



Relevant Pages

  • Re: Scheduling Task For Network
    ... I created the job, located the job file, copied the job file to an all-access ... I did it 2x - once with SYSTEM credentials, once with the domain admin ... *** You cannot create a scheduled task without user ...
    (microsoft.public.windows.server.general)
  • Re: Scheduling Task For Network
    ... If I leave the user info blank (let the task assume the credentials of the ... Run the scheduled task and it fails. ... Is there a network task scheduler that would allow me to view the ...
    (microsoft.public.windows.server.general)
  • Re: Scheduling Task For Network
    ... Forgot to mention that using my credentials access was still denied. ... domain admin account and copied it to every computer. ... I got - multiple connections to a server or shared resource by the same ... Run the scheduled task and it fails. ...
    (microsoft.public.windows.server.general)
  • Re: Scheduling Task For Network
    ... I don't know where the SchTask command is that I ... domain admin account and copied it to every computer. ... I got - multiple connections to a server or shared resource by the same ... Run the scheduled task and it fails. ...
    (microsoft.public.windows.server.general)
  • Question for the higher level techs - Logon authentn for services
    ... I've noticed this a few times in W2003 Server now and haven't had to worry ... Well I am already logged on as an authorized user (domain admin) yet it still ... account that I am currently using, ... This scheduled task needs to run unattended and running it using the "System ...
    (microsoft.public.windows.server.general)