SchTasks and AT

  • Thread starter Thread starter Arif Usman
  • Start date Start date
A

Arif Usman

i have created a schtasks to run on application on fixed time and date, here
is the explame
schtasks /create /TN TIME /TR C:\WINDOWS\SYSTEM32\UPDADM.EXE /SC ONCE /ST
23:45:00 /SD 03/21/04 /ru system

Now, what happen when this date past and computer is power off, schedule
tasks won't run. it just delete the tasks. I had checked in schedLgu.txt
file, the task even won't listed there.
In AT command i can NEXT, so if computer is off, the AT task will run when
computer is on.

So, if anyone know, NEXT (AT) resemble command in Schtasks, would be
appreciate.

thanks in advance
 
If you follow these steps, the shedlgu.txt file will be replaced without any
information other than system start-up information upon the first boot.

Go to Start/Run/Msconfig. Click Selective Startup and uncheck Load System
Services, click ok. Reboot.

Upon reboot, click OK to the first Window that indicates that you have
selected "Selective Startup". When the System Configuration Utility
reappears, Check the Normal
Startup Box.

Then go to Start/Search and type in: schedlgu.txt. When it appears, right
click on the file and delete it. Reboot.

You will now have a new Task Scheduler Log File. It can be checked by going
to Start/Search and typing in: schedlgu.txt. Appearing will be your new Task
Scheduler Log.

Running Scheduled Tasks without a password:

For Pro: Start/Control Panel/Administrative Tools/Local Security
Policy/Local Policies/Security options. In the right hand pane (third down).

Accounts: Limit local account use of blank passwords to console logon only.
This is enabled by default, disable it.

For Home: Run Scheduled Task without a Password (Line 68)
http://www.kellys-korner-xp.com/xp_tweaks.htm

Troubleshooting the Task Scheduler
http://www.kellys-korner-xp.com/xp_t.htm#ts
 
Thanks for reply Kelly, But I don't want to redue or replace shedlgu.txt
file.
I had setup schedule Tasks (SCHTASKS) to run fixed date and time.....if that
computer is off on that date and time....can it be run when computer turn on
next day or so .......

like in AT command...you can specify NEXT parameter....so if schedule missed
to run on specific day and time, it will run when computer turn on....

thanks.
 
Back
Top