windows 2008 r2 task schedule
I have a problem with task scheduler. No mather what I do it doesn't run my batch file. But if I click with right mouse button on task and run, then it works.
But never on selected hours and days. I have checked to run no mather if user is logged in or not, and with highest privileges. User is administrator.
I even deleted task and created again and doesn't run the batch file.I never left an open problem....I search, dig and ask, until it's solved....
May 6th, 2012 11:10am
Hello,
1.Please check whether Task Scheduler service mode of start is automatic or not?
2. Open task scheduler console select task-->properties-->triggers-->check the status "enable/disable"
More over see the history of task then you come to know whether it is executed or not ?
Regards, Ravikumar P
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2012 12:20pm
Status is ENABLED. I checked that already. It must be something elseI never left an open problem....I search, dig and ask, until it's solved....
May 6th, 2012 12:36pm
Have you checked the task history, hope you can find some info regarding the task.
Regards, Ravikumar P
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2012 12:57pm
Yes I checked that to. It is always task completed, with no errors. But it is not, batch file is not runned.I never left an open problem....I search, dig and ask, until it's solved....
May 6th, 2012 1:00pm
Hello,
--- It is always task completed, with no errors. But it is not, batch file is not runned.
Given this, I think Task Scheduler is running just as how you configured. The problem is somewhere else.
1. Does the user account you configured to run the task have full control to the batch file?
2. Are you using the full path to the .bat file in "Program/script" field or rather only the name of the batch file? The full path should be within the quotation marks.
3. If the purpose of the batch file is for example using the robocopy to copy certain files from one directory/server to another directory/server, does this account have full access permission to these directories? You should make sure that this account
should have full access permission all through the task.
4. Under Configure For, have you tried other options like "Windows Server 2003" "Windows 2008"?
Thanks
Zhang
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2012 3:03am
Hello Zhang
All of these questions are relevant if the task doesn't work at all, but when I click with right mouse button and RUN this taks it works OK.
It doesn't run byitself. User is admin and have full access to batch file. path to batch file is full.
thanksI never left an open problem....I search, dig and ask, until it's solved....
May 7th, 2012 3:09am
Hello,
Whats the end goal of your batch? How is it written?
Thanks
Zhang
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2012 3:30am
the same batch works on other server.
I will copy later here
thanksI never left an open problem....I search, dig and ask, until it's solved....
May 7th, 2012 3:52am
batch file
%SystemRoot%\system32\cmd.exe /c "ftp -i -v -s:c:\ftparhiv\ftp-saop.txt"
and txt file
open 192.168.1.155
user
username
binary
status
cd /saop
lcd D:\SaopSqlBackup
mdelete *SAOP*.zip
mput "*SAOP*.zip"
quit
I never left an open problem....I search, dig and ask, until it's solved....
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2012 5:06am
Is there some GPO rule which blocks automatically running batch files or something like that?
I have other task schedule jobs, which works ok.I never left an open problem....I search, dig and ask, until it's solved....
May 7th, 2012 1:49pm
Remake the .cmd from stratch. Maybe a datastream's error from the file if you downloaded it from a external's source to put it on your server.MCP | MCTS 70-236: Exchange Server 2007, Configuring
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2012 10:55pm
I already did that. Like I said when I click with right button and RUN that job, it works.I never left an open problem....I search, dig and ask, until it's solved....
May 8th, 2012 2:12am
have you set that local admin account to run this task?
Tested the local admin account on the machine to ensutre the password details are correct?
www.apacms.com - IT Support Services
IT Support Services,
Networking Design,
Monitoring,
Security, Backups and Sales.
Follow Us:
or add us to skype
APACMS.
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2012 4:03am
Tis is is administrator on server it works for all other things, it is set for this job and if I change something ask for password and in write it.
So it is working account. Really don't know what can be wrong?I never left an open problem....I search, dig and ask, until it's solved....
May 8th, 2012 6:02am


