How to run jobs in background on windows XP
I had to find a way to run several cleanup jobs on my laptop.
Created my BAT files that where deleting some files regularly. But my big issue was the command prompt window that was always pops up and was interrupting my work.
On google I found all kind of methods like using vba scripts or modifying the registry and so on.
One simpler method I found, tested and it works.
Here is the step by step setting of a job that you will never know it is running.
Step 1. Created a bat file to delete my Spam.dbx once a day.
Step 2. Create a Scheduled Task

Now regarding the time of the schedule it is up to everyone. What you have to set up is the following

Make sure the “Run only if logged on” flag is cleared and in the fieled “Run as:” enter following: “NT AUTHORITY\SYSTEM” [without the " of course]
If a password is required just leave it blank and press OK.

After all this is done, the bat file will be runed without you seeing any popup window. If you want to be sure it is running enter some code in the bat file to create a log file.




Great solution! It works for me.
Ivan
29 Sep 09 at 2:37 PM
IT WORKS LIKE A CHARM. THANK YOU.
MAHENDRA
13 Oct 09 at 10:56 AM
Thanks.
TimothyAWiseman
18 Oct 09 at 10:58 PM