hey !
What is the registry key that holds all startup applications in XP?
Printable View
hey !
What is the registry key that holds all startup applications in XP?
I believe its the same as Windows 2k:
CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
There may be a LOCAL_MACHINE version also, not sure.
There is a deffently a Local_Machine version. As a matter of fact if you want something to start for all users I would put it in the local_machine version versious the Documents and Settings\All Users\Start Menu\Program\Startup folder.
The local_machine version also makes it really easy for a network administrator to add a globaly registry key in the Active Directory for all users that will start an application when the login
Jeremy
umm OK OK , If I want to add my app there does my app require any security policy??afraid so :confused:
You need write permissions to that key which you can set via the regedit32 program on the pc (type it at the run prompt), or to use the awkward way though code, you'll need something like this :
http://63.236.73.220/showthread.php?...ighlight=logon
On winNT platforms, there is the following key -
Software\Microsoft\Windows\CurrentVersion\Run
which is found under BOTH the HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER hives depending upon whether the app is to startup for all users who logon to the pc, or just under the logon of the user who installed the app. You can ignore the runonce, runonceex etc keys - you'll only want the run key to be used for this. :)
Many thanks guys:) .