This article shows how to build a program that allows a user to control which applications will run when Windows starts up, without having to put the application entries into the Startup menu. In essence, the TRegistry object is used to manipulate the Registry from Delphi code.
Have you ever asked yourself where are those applications that seem to be executed when Windows start, you cannot find in the Start – StartUp Windows menu? Or, how a virus can start itself each time you reboot? Or, who started all those applications you see in the System Tray?
As you might guess, you can automatically start programs whenever Windows launches. If you have programs automatically starting that you have not loaded (do not want) then you can remove them using the Windows StartUp Manager Application we will build in this article.
Here’s how to manually specify an application to be run at Windows startup:
- Open your registry (Start – Run – regedit) and locate the key HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun.
- 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 MyApplication.exe, add a new entry of “MyApp“=”c:MyAppsMyApplication.exe“.
Incoming search terms for the article:
add program to startup delphi, delphi windows startup, delphi windows startup manager, how to add application on startup windows delphi, how to make a startup delphi, run delphi application on windows azure, run program windows 7 startup delphi, source code start up dengan delphi, startup manager delphi source, delphi windows 7 startup, delphi startup windows 7, adding start up delphi, create a windows 7 startup manager delphi, delphi add application to startup, delphi code to add app to startup, delphi manager applications, delphi run application on windows startup, delphi run on startup, delphi startup on windows, startup your app in windows in delphi