Mombu the Microsoft Forum

  Mombu the Microsoft Forum > Microsoft > Windows 2000 Server (TECHNET) > Task Scheduler doesn't start .cmd file


User Name
Password
REGISTER NOW! Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
1 11th August 10:53
karl-heinz fuchs
External User
 
Posts: 1
Default Task Scheduler doesn't start .cmd file



Hello to everyone,

i have a problem on a Windows 2000 Server (DC).
For backup we use ntbackup which is opened by a batch file (.cmd).
That file creates the tape name with time and date information.
When i start the .cmd file manually, it works without any problems.

But if i schedule a task to run every work day on 10:00 pm the .cmd file
does not start. Even if i right click on the task and start it manually
nothing happens.

It can't be a problem of authentification, because i have entered the
username and password serveral times.

I tried to create a batch file that only creates a new folder. This file
starts without any problems if i set it as scheduled task.

Do anyone have an advice?
Best regards,
Karl-Heinz Fuchs
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


2 11th August 10:53
dave patrick
External User
 
Posts: 1
Default Task Scheduler doesn't start .cmd file



Scheduled Tasks|Advanced|View Log may provide some details. If the job
connects to another machine you may need to add the user/ group 'logon as
batch job' rights (server side). Control Panel|Admin Tools|Local Security
Policy\Local Policies\User Rights Assignments
"Log on as a batch job"

If the task completes but the job does not then there is a problem in the
job itself. Remember that if it involves network resources to make sure the
user account has permissions to the resources and also use UNC paths as
mapped drives won't natively exist when no one is logged on.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes







Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
Also visit Ogoun the Usenet Archive
666