In Windows, how can I prevent a program from starting automatically?
Often, a program starts automatically in Windows because of a
shortcut in the Startup folder in the
Start menu. The program may also run automatically from a
registry entry. Following are three sets of directions you
can follow to remove programs from automatic startup. After you have
gone through each set of steps, reboot your computer to see if the
problem is fixed. If necessary, you can then continue to the next set
of instructions.
On this page:
Removing a shortcut
Note: In all Windows operating systems, the shortcut will remain in the Recycle Bin until you empty it.
To remove a shortcut from the Startup folder:
Windows 8
- Press
Win-r. In the "Open:" field, type: %AppData%\Roaming\Microsoft\Windows\Start Menu\Programs\StartupPress
Enter. - Right-click the program you don't want to open at startup and
click
Delete.
Windows 7 and Vista
- From the
Startmenu, clickAll Programs, and then clickStartup.
- Right-click the program you don't want to open at startup and
click
Delete.
Windows XP
- Right-click the
Startbutton, and then selectOpen.
- Double-click
Programs.
- When the
Programsfolder opens, double-clickStartup.
- Select the shortcut you wish to remove. Drag it to the
Recycle Bin, or delete it by pressing theDelkey.
Correcting a shortcut path
If a shortcut you want in the Startup folder is pointing
to the wrong program, correct it as follows:
- In the
Startupfolder, right-click the appropriate icon and selectProperties.
- Click the
Shortcuttab. In the "Target:" field, verify that the path statement points to the filename of the correct program. If it does not, enter the accurate path to the program.
Disabling items not in the Startup folder
Some startup items have no shortcut in the Startup
folder. You can disable these with either the Task Manager in Windows
8, or the System Configuration Utility (msconfig.exe) in
Windows 7, Vista, and XP. Otherwise, they are only accessible through
the registry. If you are unfamiliar or uncomfortable with registry
editing, use these utilities.
Task Manager (Windows 8)
- Press
Ctrl-Shift-Escto open the Task Manager.
- If necessary, click
More detailsto see all of the tabs; select theStartuptab.
- Select the item not to launch at startup, and click
Disable.
System Configuration Utility (Windows 7, Vista, and XP)
- Press
Win-r. In the "Open:" field, typemsconfigand pressEnter.
- Click the
Startuptab.
- Uncheck the items you do not want to launch on startup.
Note: It may take some time to identify which items to check and which to uncheck. Some items will be easy to identify (e.g.,
Microsoft Office), some may be slightly confusing (e.g.,realsched), and some will be cryptic (e.g.,000StTHKorQFSSCHD110). If you cannot determine what an entry is (and therefore whether you should uncheck it or not), you may want to use a search engine to research the individual entry. Keep in mind there are some entries that you should avoid unchecking (e.g., virus scanners). - When you have finished making your selections, click
OK.
- In the box that appears, click
Restartto restart your computer.
Removing a registry entry
Warning: This document contains instructions for editing the registry. If you make any error while editing the registry, you can potentially cause Windows to fail or be unable to boot, requiring you to reinstall Windows. Edit the registry at your own risk. Always back up the registry before making any changes. If you do not feel comfortable editing the registry, do not attempt these instructions. Instead, seek the help of a computing support provider.
To remove a startup entry from the registry:
- Press
Win-r. In the "Open:" field, typeregeditand pressEnter.
- To save a backup copy of the registry, from the
Filemenu, selectExport....
- Make sure to note the file's destination; by default, it will be saved on the desktop.
- Give the file an obvious name, such as
registryorregback, so that you'll remember this file is your registry backup. - In the "Export Range" field, make sure
Allis selected, and then clickSave. This will make a backup of a working registry.
- To expand
HKEY LOCAL MACHINE, click the+(plus sign) to the left.
- Expand the
SOFTWAREtree. Then expandMicrosoft, thenWindows, and thenCurrentVersion.
- Highlight the
Runfolder. On the right side of the screen, you will see programs that are set to run on startup that might not be included in theStartupfolder. Some of these may be important programs, such as antivirus programs or firewalls. There also may be undesirable or unnecessary programs, such as spyware and advertisement software. You'll need to ascertain what is needed and what is not.
- Highlight any program(s) you want to prevent from starting
automatically, and then press the
Delkey. Remember that deleting programs here does not remove them from your computer; it only stops them from running automatically.
- Changes to the registry are implemented immediately, so you do not need to save your changes. At this point, you may simply close the Registry Editor.
Last modified on October 24, 2012.







