View Single Post
  (#1 (permalink)) Old
arvind_kumar Offline
Senior Member
 
arvind_kumar's Avatar
 
Posts: 180
Join Date: Jul 2008
Location: Jaipur
Post Windows Registry Startup Paths - 12-12-2008, 09:39 PM

Paths for applications to be launched at Startup


Various Paths to Launch Programs at Startup:-


1. Via Start up folder.

First enable show hidden files option and then navigate to any of the following paths and Add shortcuts of the programs to be run at start up.

C:\Users\[USERNAME]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup ( In Vista )

C:\Documents and Settings\YourUserName\Start Menu\ Programs\Startup ( In XP )

C:\ Users\AllUsers\ AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup ( In Vista )

C:\Documents and Settings\AllUsers\Start Menu\ Programs\Startup ( In XP )


2. Via Registry.

Navigate to any of the following path according to your requirement and then add a new “String key” and store path of the Program to be run in this key’s value.

For Local Machine-
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\RunOnce

For Current User-
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\RunOnce


3.Programs to run at logon time or when explorer runs.

Navigate to path HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Cu rrentVersion\WinLogon\ and add path of your program to be run as follows.

• Via Shell String as by editing value of key “Shell” as explorer.exe, <path of your program with extension .exe>”.

• Via Userinit String as by editing value of key “Userinit” as C:\Windows\System32,,<path of Your program with extension .exe>”.
   
Reply With Quote