Describes how to disable programs that run. But we recommend that you use the Windows Run at Startup policy setting to add programs that you want to run at Startup. Making a computer program run at startup is a convenience. Vista employs another method to get to the 'Startup. Programs' and choose the 'Startup' menu.
Make Your Programs Run on Windows Startup. Date: April 2. 00.
From: Abid Hussain. To: ron@oreilly. com. Subject: How to make your programs run on Windows startup. How can I make my programs start programmatically on Windows startup? Do I. need to use API calls or modify the registry? Some of these (at least in my opinion).
How to Get Programs to Open and Run.
You can, for instance, use the Text. Stream object in the. File. System. Object object model to write the path and name of the program to. This is, though, a technique inherited from the days of. DOS; many users, when they decide that they don't want the program loaded at. An even worse alternative is using the initialization file functions in the Win. API to write to the Load= or.
How to Disable Startup Programs in. How to Change Startup Programs in Windows 7. Startup programs are saved in a special folder on. Create a shortcut to the program or file you want to run at startup. Trash Apps infesting your StartUp folder. Disabling Startup Programs. Windows 7: Automatically Launch a Program at. Windows\Start Menu\Programs\Startup.
Run= lines of Win. In my experience, applications started. Which method you. Using. the Startup folder gives the user more control; to prevent the program from. First, you must select the registry key in which you will write the.
This decision depends in large part on the character of. Second, you need. Let's look at these two issues.
This. key is used when you always want to launch a program when a particular user is. HKCU\Software\Microsoft\Windows\Current. Version\Run. Once.
Launches a program the next time the user logs in and removes its value. This key is typically used by installation. HKLM\Software\Microsoft\Windows\Current. Version\Run. Launches a program automatically at system startup. This key is used. HKLM\Software\Microsoft\Windows\Current. Version\Run. Once.
Launches a program the next time the system starts and removes its value. This key is typically used by installation. HKLM\Software\Microsoft\Windows\Current.
Version\Run. Services. Launches a service (a standard NT service or a background process). An example of a service is a Web server such as. Microsoft Internet Information Server. HKLM\Software\Microsoft\Windows\Current.
Version\Run. Services. Once. Launches a service (a standard NT service or a background process) the. The key's name is arbitrary, as long as it is unique among. The entry's value is the complete. These are documented.
Microsoft Knowledge. Base article Q2. 32. The most commonly used method is to call the registry functions.
Win. 32 API. If you're interested, these are carefully documented in my. Inside the Windows 9. Registry. A more. Windows Script Host object model. However, Windows Script. Host exposes an object model, and all but the top- level Windows Script Host.
WScript) can be instantiated from a Visual Basic program. To. early bind to Windows Script Host, you just need to add a reference to. Windows Script Host Object Model to your project. Its syntax is. o. Shell. Reg. Write str. Name, Value . If. Name ends in a backslash, the method writes to the key's default.
The three most commonly used top- level keys can. HKCR, HKCU, and HKLM. Value. The value to be written to the registry. To run an application on. Type. The datatype of Value. Here again, we can choose from the Win. API or the Windows Script.
Host object model. The WSH Shell object allows us to determine the physical. Startup folder and to create a shortcut. The Shortcut object. Shell object's Create.
Shortcut method alows us to set one. The code from our sample VB6 application that creates a link. Start. Up folder is.
Click here for code example. The code from our sample VB.
NET application that. Test. Startup. exe automatically whenever a.
Click here for code example. Since you can instantiate a Word.
Window object using the fully qualified string Word. Window, you might think. Word window object's programmatic identifier. The string simply specifies the particular type library (i. Word) in. which a particular class (i. Window) is defined.
How to Disable Windows Startup Programs. When you start your computer, Windows isn't the only program that loads.
For instance, you may have noticed icons in the notification area (also known as the system tray) in the far- right portion of the taskbar. These icons often represent programs that start when the system starts. You also may have seen certain programs, such as software for syncing your phone or MP3 player, launching themselves along with Windows. Additionally, some applications begin running silently in the background every time you boot the PC.
All of these automatically opening programs consume system memory, and can drag down performance. Fortunately, managing startup programs isn't difficult; by taking a few steps, you can find out what is running on your computer and disable the items you don't need. Method 1: Configure a Program Directly. If you've noticed a program starting automatically, and you want the behavior to stop, sometimes the easiest solution is to explore the program's settings directly.
Find the settings panel. Typically it will be available under a menu labeled Settings, Preferences, Options, or Tools.
Find the option to disable the program from running at startup. The language for this type of option varies, but it should be easy to find if it exists. When you restart the computer, the program will no longer launch. You'll still be able to start it manually, so don't be deterred if the application asks you if you are sure you want to disable its automatic startup. Method 2: Use the System Configuration Utility (MSConfig)You can use msconfig.
Windows' startup items. The System Configuration Utility- -also called MSConfig- -is a useful tool for understanding and controlling startup programs.
Microsoft intends MSConfig to act primarily as a troubleshooting tool, but its simple and powerful interface makes it a good option for startup management as well. Open the Start menu and type msconfig into the Search box. Click the msconfig search result.
The utility will open in a new window. Click the Startup tab. You'll see a list of programs that start when your computer starts. To stop a program from automatically launching when you boot the PC, uncheck the box next to its entry.
When you are finished deselecting startup items, click OK. If you made any changes, you'll be prompted to restart the computer. You don't have to restart it immediately, but the changes won't take effect until you do. When you restart the computer, MSConfig will alert you to the changes. In the window that pops up, check the box next to Don't show this message or launch the System Configuration Utility when Windows starts, and click OK to prevent future alerts. You can always return to MSConfig to reverse the changes or make additional tweaks. Warning. Use caution when disabling items in MSConfig.
Many entries have names that aren't self- explanatory. Research each entry before unchecking its box; use the Web to search for the name of the entry, and to get an idea of its function. Without doing your homework, you could end up disabling an important application such as your antivirus program. Other Methods. In Windows or in third- party applications, you can find more ways to manage startup programs.
For instance, Microsoft currently recommends a utility called Autoruns, which is more advanced than MSConfig. The two methods above should suit your needs, but feel free to explore other options if you are curious.