Launch application at shutdown or restart

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to be able to have an application launch automatically when the computer is being shutdown or restarted (ie. a clean up program before powering down). This way, it is not necessary to remember to run the program before shutting Windows XP down

Is there a simple solution like putting a reference to the application in a "shut down" menu or some registry entry?

Thanks for any help offered.
 
marco;

Place a shortcut to your clean up program in:
C:\Documents and Settings\All Users\Start Menu\Programs\Startup

Does your program require any user interaction to run?

I have a shortcut to
"C:\Program Files\Disk Cleaner\dclean.exe" /q:clean1
It runs quiet (/q). I don't even notice it running unless I happen to be
watching a full Recycle Bin. I can see it get emptied. Disk Cleaner runs
for less than a minute and closes.
================

Disk Cleaner
http://www.xs4all.nl/~mp2004/

Cleans:
Temporary Internet Files
Internet Cookies
Internet History
System Temporary Folder
Recent Documents
Run... Dialog List
Find Document List
Find Computer List
URLs in IE Address Bar
URLs in Shell Address Bar
Media Player Recent URLs
WinZip Recent Files
WinZip Extract To Folders
Paint Recent Files
WordPad Recent Files
Recycle Bin
Opera Cache
Opera Cookies
Opera History
Opera Visited links
Opera Download History and Download folder
 
I would like to be able to have an application launch automatically when the computer is being shutdown or restarted (ie. a clean up program before powering down). This way, it is not necessary to remember to run the program before shutting Windows XP down.

Is there a simple solution like putting a reference to the application in a "shut down" menu or some registry entry??

Thanks for any help offered.

This is one option as there are multiple.
open regedit
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

In the right pane
Right Click and select NEW ¡V STRING VALUE name this with whatever program you what to run (something descriptive)
DBL click this new value
Enter the path to the program you would like to run IE C:\Program Files\Auction Sentry\AuctionSentry.exe

NOTE: CASE IS IMPORTANT

You can add any program specific strings that will automate the program
here as well. See the programs documentation for a list of these.

Click ok

Now if all is well when you restart your computer and log on the program
will run

I will say again. There are multiple ways of achieving this on both start
up and shutdown this is a very simple and effective way of doing just one.
If this one is not exactly what you are looking for Email me, I will give
you some others.


Harry
M.C.S.E, M.C.S.A, A+
 
Back
Top