hidden hit counter
Help!

Task Scheduler doesn't start .cmd file

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Setup & Deploy & Upgrade RSS
Next:  Sometimes No Sound with Media Player 9.0  
Author Message
Karl-Heinz Fuchs
External


Since: Aug 09, 2007
Posts: 1



PostPosted: Thu Aug 09, 2007 2:44 am    Post subject: Task Scheduler doesn't start .cmd file
Archived from groups: microsoft>public>win2000>setup_deployment (more info?)

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
Back to top
Dave Patrick
External


Since: Oct 18, 2005
Posts: 3525



PostPosted: Thu Aug 09, 2007 9:06 pm    Post subject: Re: Task Scheduler doesn't start .cmd file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

"Karl-Heinz Fuchs" wrote:
> 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
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Setup & Deploy & Upgrade All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum