totoymola Posted January 17, 2005 Posted January 17, 2005 Hello.How can I set a scheduled task during the unattened installation? Is it simply copying the [TASK].job file to the %systemroot%\tasks folder?Thanks.
TechnoNRG Posted January 18, 2005 Posted January 18, 2005 First no it isnt that simple, you need to add to the HKLM\...\run the key that will start it on first run "mstinit.exe /firstlogon" This is the scheduling agent then it should add the jobs to the queue.This may not be important to you but just remember that by having tasks running this way you can never fully close ports 135, and 445. You probably dont need these ports, but just by using the scheduler you reopen them.I use an alternative called pycron. It works well and you can just configure it and not have to worry about the job files
Spyder2k Posted January 18, 2005 Posted January 18, 2005 Run 'AT /?' in a DOS window, that should have what you're looking for. There was another command also, can't remember right now.Platform: WinXP
totoymola Posted January 18, 2005 Author Posted January 18, 2005 Thanks guys. I will try it. Especially the AT command.you need to add to the HKLM\...\run the key that will start it on first run "mstinit.exe /firstlogon" This is the scheduling agent then it should add the jobs to the queue.Do you mean HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run ?
amp_man Posted January 18, 2005 Posted January 18, 2005 can you please upload AT.exe from your \system32 folder (I think this is where it should be)? I seem to have removed it. Thanks!
Spyder2k Posted January 18, 2005 Posted January 18, 2005 Try "SCHTASKS', it seems to be AT's replacement. Seems to be alot more flexible as well.
Martin Zugec Posted January 18, 2005 Posted January 18, 2005 As Spyder recommended - Schtasks and I am also using Soon simetime (specially on remote computers)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now