Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Running a batch file using the winat.exe under NT 4.0 Server SP5. Worked fine so far. Now the scheduler does not execute the file anymore. Manual execution of file works fine. Scheduler service is still running on system. I re-added my job into the scheduler and verified everything but no luck. Why does the scheduler does not work with my file?

Actually Chris, I am experiencing the same exact problem. I had a batch file that I was running through an AT command. I then changed the bat file a little. I did not change the name. Suddenly the AT command stopped working but runs file through manual execution. Perhaps we can compare qwhat it is we changed or did to come up with an idea of what's happening here. Let me know.
KW

I added my job into the Scheduler and verified everything but no luck.Pease why does the scheduler does not work with my file?
I will to work my batch every day at 10:00

I have the exact problem with my winat. After installing SP5 my scheduler wouldnt do the job with my batch-file. Have you found any solutions to that problem? please mail!

Have you given the Scheduler an account that has "run as a service" rights? We have had the exact same problem, and I believe it's because the account we were using did not have the correct rights. Weird thing is that it did work for a while, then the SP's killed it.

Hello all. Let me repeat the same frustrations as above!
Has anyone been able to find a resolution to this problem yet? Some background … My Winat jobs do run but I don’t see any of the expected results nor any error messages in the event viewer. I also have a user id which has logon as service or logon/run batch files rights!
Also, as above ... The CMD files run without any problems when I run them from command line or from NT Explorer.
Thanks

Answer maybe? I have the same problem with my server. I have asked around and found this. If your computer goes to sleep (power setings) then the at command can not wake it up. After using winat to make the at command then go to prompt and look at it. The problem is there is no "interactive" <= able to talk with hardware. the real command should look like this.
AT time /interactive cmd.exe /c "batch.bat"
this will wake up your computer before running the batch file. Hope this helps.

Winat scheduler runs all of my other batch files just fine. The problem I have is when I run it with a uudecode program winat will not run. I can run this batch file from command line with no problem or execute it from Winnt Explorer with no problem. Can someone give me a solution?

To all you guy's running SP5, as there are known bugs in in this service pack try using SP6, also try removing everything from WinAT and resetting also check all of your batch files, check your services as well.
Hope this is of some help
David

I have a machine running SP6 that WinAT runs fine on. However I have another with SP4 that will not run WinAT for the same batch files (things like cmd.exe and telnet.exe run fine). On the SP4 machine I have moved all the batch files I need to schedule into c:\winnt\system32 which seems to work.
Odd observation ...
When scheduling cmd.exe on the SP6 machine the command window comes up as c:\winnt\system32\cmd.exe. This window will execute all batch files which I have Path entries for.However, when scheduling cmd.exe on the SP4 machine the command window comes up as c:\winnt\system32\MSTask.exe, which will not recognize any batch files I have written with Path entries ... thus the move to c:\winnt\system32
Also, rights are exactly the same on both machines. Hope this helps ...
- Dan

Funny after 5 days of desperately seeking I came across this site. I have exactly the same problems, on as well NT 4 SP6 as TSE 4 SP6. Since some time the nightsly reboots, as well as the starting of an other batch doesn't work anymore.
I had no idea why, but now I get an error every time. Also when I try to schedule something I have some weird problems
Any additional suggestions ?
Pls help and send me an email
Thanx in advance

Hi All you Guys,
The world seems to shrink with the web, writting from S.Africa. I am running SP6a on NT Server 4 with the exact problem. I don't have any error messages. for the past two weeks I have had a few good backups. I am running batch files (.bat) from a different partition on the same machine. I have checked all other Servers. The PDC is running backups using WinAt and NtBackup wereas, the first BDC uses BackupExec.
Part of the problem here is that on the PDC I have a service called "Task Scheduler" but on the other 3 BDC's I have Scheduler and on all my workstations.
I can only assume that the "Task Scheduler" serves the same purpose but because of the problem, I can't help but to think that this problem has to do with the service.
All my servers are otherwise Identical.
Thanx a Million

I have stopped using WINAT and have started using the AT command from the command prompt. Why???? you may ask.
WINAT was adding text to the end of some of my commands eg C:\schedules.bat would look like this c:\schedules.bat % Microsof TLS.
My experiances started with jobs not running from WINAT. Using all the trouble shooting techniques from white papers and fourms like this has helped my identify the following. The environment I am in is NT 4 Server, SP6A
(at) = at command1. The copy & xcopy commands do not appear to work with (at), even with cmd /c preceeding the command. The del command worked in a batch without needing the cmd /c proceeding the batch file. According to Microsoft documentation this should not be the case as kernal commands require the command interpreter to be activated before they can be run from (at) (hence the cmd /c references).
Net result being that not even Microsoft understand how scheduling works.
2. Use the /interactive switch and place pause commands in batch files to create break points. This will allow you to see errors. eg.
at 15:35 /interactive /next: c:\test.battest.bat
net stop spooler
pause
del *.*
pause
3. Commands like net start and net stop may benefit from having a wait command placed after them (5 seconds is what I use) to prevent errors. This allows the service to completely stop/start before activating the next command. Please not wait is an ntreskit4 command and is not part of standard nt.4. Go to the www.askjeeves.com and type winat in the search box. This helped me find lots of whitepapers and fourms on the subject.
**********Good Luck****************

![]() |
DOS programs on NT, emula...
|
NT 5.0 multiple web sites
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |