Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to delete entries from the startup? 1

Status
Not open for further replies.

thelordoftherings

Programmer
May 16, 2004
616
IL
Hello,

At the msconfig at the startup tab I have many entries there that I unmarked since I don't want them to be loaded at startup.
My question is how to remove these etries completly from there?
 
This is not as easy, nor as intuitive as you may believe. but as Ramesh MVP notes:

To remove the invalid/orphaned entries from the Add/Remove applet anually.

1. Start Registry Editor (Regedit.exe).
2. Locate the following key in the registry:
3. HKEY LOCAL MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
4. Make sure you backup the keys by exporting them to a .reg file.
5. Look for the name of the program with the orphaned entry.
6. Delete the entire listing for the software with the orphaned entry.
7. Close the registry editor.
8. Restart your computer.

For the MSCONFIG entries [unchecked items]:
See Tip 148 in MVP Kelly's site: Clear Disabled Items from Msconfig Startup
tweaks.htm

NOTE: The disabled startup items are moved here:
[HKEY LOCAL MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg]
 
My apologies, some of the links above did not resolve to explain my concerns fully. Doug Knox adds:

These entries are both in the Registry, just in different keys.

Items loaded from the Registry are in

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunHKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run and
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices

When you use MSCONFIG to remove an item from Startup an almost duplicate of one of the above keys is created, or added to. The difference is that these "keys" end in a hyphen, like so:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run-
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run- and
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices-

The hyphen prevents Windows from recognizing the key as somewhere to look for programs it should run.

Using RegEdit, you can export any of the above keys to a REG (text file with an REG extension) file. Then you can delete or modify any of the values under them. I don't recommend deleting the keys themselves, but you can
play with the values in the right pane of the Window. If you find you made a mistake, you can double click the REG file you exported to and re-import the old data, including replacing something you deleted.

You will also see a Key called RunOnce. This is where Windows puts things that run after a software update or similar when you see Windows is updating your setup messages ..... These should NORMALLY be empty.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top