Schedule task to execute at logoff

  • Thread starter Thread starter LucB
  • Start date Start date
L

LucB

The Scheduled Tasks wizard allows you to schedule a task only at regular
intervals (day, week,...), at computer start-up and at user logon. Is there
a way to schedule a (maintenance) task just before user logoff or shutdown?
 
Do you have pro. If so ask help - try logoff script or shutdown script. If home, no.
 
I regret I'm running XP Home. Any other suggestion?

Do you have pro. If so ask help - try logoff script or shutdown script. If
home, no.
 
Here is a way that works (I tested it)
1. Download the free program Wizmo.exe. It is a tiny program that
executes basic Windows commands for you. Copy it to the C:\windows
directory.

2. Make a batch file in the c:\windows directory using a word processor
such as notepad. In it call the program(s) you wish to run then the
wizmo program. Here is an example using two consecutive programs
(FirstProgram.exe and SecondProgram.exe).

@echo off
c:\firstprogram directory\firstprogram.exe
c:\secondprogram directory\secondprogram.exe
c:\windows\wizmo.exe quiet exit

3. Name the file "shutdown.bat" or any other name as long as it has the
extension .bat.

4. Make a new shortcut on the desktop to run the batch file. You can
even make the batch file call for a password to prevent casual or
accidental execution. email me if you have questions.
I regret I'm running XP Home. Any other suggestion?

Do you have pro. If so ask help - try logoff script or shutdown script. If
home, no.

--

Gerald Ross, Cochran, GA
To reply add the numerals "13" before the "at"
............................................
People will occasionally stumble over
the truth, but most of the time they
will pick themselves up and carry on.
 
Back
Top