INFORMATICS

The Best

How do I automatically run an application when the system starts

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

How do I automatically run an application when the system starts - REGISTRY

Registry entry could do this.

Automatic launch of the application can be done by entering an entry into the Windows registry - "HKEY_LOCAL_MACHINE" or "HKEY_CURRENT_USER"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

 

"c:\Program Files\calc.exe" 

Reg_Auto_Start1.jpg

Reg_Auto_Start2.jpg

 or

Add a new startup application for current User

Open your registry and find the key:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]

For each program you want to start automatically create a new string value using a descriptive name, and set the value of the string to the program executable.

For example, to automatically start Notepad, add a new entry of:

"Notepad"="c:\windows\notepad.exe".

Remove a startup application

If you're trying to remove a program and can not find it in the StartUp folder (usually C:\WINDOWS\Start Menu\Programs\StartUp), then it may be launching from one of the registry keys below. To remove it, delete the value associated with the program you want to remove.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce]
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows]

 

Remove Compatibility Mode settings from the registry

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Compatibility Mode setting can cause problems when you try to install application

  1. Right click a application shortcut (on the desktop, on the Start menu, etc.) or right click on application.exe in local folder in Program Files or in Program Files (x86)
  2. Choose Properties and click the Compatibility tab
  3. In this tab, remove any and all check marks

Specifically for this issue, you should remove the check from the box next to Run this application in compatibility mode and click OK.

 

Another way - another way to delete the entry in the registry

  1. On the keyboard, press Windows key (the Windows key)+R to open Run
  2. In the Run dialog type: regedit and click OK, which will open the Registry Editor
  3. Click Yes in the User Account Control dialog (if necessary)
  4. Browse to:
    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
  5. Click Layers to select it
    Note: You may want to look in the right pane to see if things besides application are listed and you may need to expand the Name column to see the path (this is usually C:\Program Files\...\application.exe); if multiple items are listed, click just the application one to select it
  6. Press Delete on the keyboard
  7. Click Yes in the Confirm Key Delete dialog.

Search