Results 1 to 6 of 6

Thread: startup registry key

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    startup registry key

    hey !
    What is the registry key that holds all startup applications in XP?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    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.

  3. #3
    Addicted Member
    Join Date
    Jul 1999
    Posts
    207
    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

  4. #4

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    umm OK OK , If I want to add my app there does my app require any security policy??afraid so

  5. #5
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    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.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  6. #6

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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
  •  



Click Here to Expand Forum to Full Width