• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 753
  • Last Modified:

Run bat file from Schedule Tasks Win Server 2K3 R2

I have a batch file that is used to...
1. Delete an old version of a file
2. Download the new version of the file from an FTP server using a bespoke FTP download application that is installed on the machine.
This batch file runs fine and does exactly what it is meant to do when I run it manually (double click). It also run fine on the old Windows 2000 Server.

The batch file contains two lines...
Del "C:\blah blah\blah.txt
blah.exe /script=config-connect.txt

The Scheduled Task that I have set up runs under the machines administrator account

Any help on this would be very much appreciated
Thanks in advance
0
MTSDL
Asked:
MTSDL
  • 2
1 Solution
 
glenn_1984Commented:
On the server where the batch schedule is NOT running RESET your password.
After you do, right click on the job and click on Run Now.

If that does not fix it, what message do you get?
0
 
65tdRetiredCommented:
Could try running it under the system account see ms doc link below.

http://support.microsoft.com/kb/814596

Also have you review the schedule task log?

see:
http://support.microsoft.com/kb/308558
0
 
MTSDLAuthor Commented:
I have an account set up on a domain that has domain admin privledges. I changed the Run as: to this, setup the password and it works?
Why would this have an affect on my schedule?
Thanks a lot
0
 
glenn_1984Commented:
The task scheduler will not do anything if the password is wrong or corrupted.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now