|
-
Dec 9th, 2002, 12:32 PM
#1
Thread Starter
Sleep mode
startup registry key
hey !
What is the registry key that holds all startup applications in XP?
-
Dec 9th, 2002, 04:45 PM
#2
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.
-
Dec 9th, 2002, 04:53 PM
#3
Addicted Member
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
-
Dec 10th, 2002, 03:56 AM
#4
Thread Starter
Sleep mode
umm OK OK , If I want to add my app there does my app require any security policy??afraid so
-
Dec 10th, 2002, 05:00 AM
#5
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.
-
Dec 10th, 2002, 04:24 PM
#6
Thread Starter
Sleep mode
Many thanks guys .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|