Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Run bat file from Schedule Tasks Win Server 2K3 R2

Posted on 2007-10-04
Medium Priority
Last Modified: 2012-06-27
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
Question by:MTSDL
  • 2
LVL 16

Accepted Solution

glenn_1984 earned 2000 total points
ID: 20013750
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?
LVL 22

Expert Comment

ID: 20013753
Could try running it under the system account see ms doc link below.


Also have you review the schedule task log?


Author Comment

ID: 20013792
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
LVL 16

Expert Comment

ID: 20259939
The task scheduler will not do anything if the password is wrong or corrupted.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question