/home/josephspurrier

Disable Windows Startup Programs: Registry and Start Menu

Almost every time you install a piece of software, a start up entry is created in either the Registry or the Start Menu. Many people also consider Windows Services to be startup programs, but they are usually needed and there is more risk involved when disabling. I’ll leave that for another day. Back at the beginning of the computing age, say around the time when Windows 95 was released, Microsoft made a poor decision (in my opinion) to create the Windows Registry and move away from ini files (my favorite). The Registry is essentially a database of settings and pointers that are required for every Windows operating system to boot and function. If the registry becomes corrupt, you will see the famous Blue Screen of Death or Black Screen or even a Green Screen in Windows 8. If ANY part of the registry becomes corrupt, it will cause problems…plain and simple. In Unix, Linux, and Mac operating systems, there is no registry so if one file becomes corrupt, only one application may stop working instead of the entire operating system.

The registry is broken up into a few main sections (ignore the others):

regedit

HKEY_CLASSES_ROOT holds file extension associations, unique software IDs, and a bunch of other highly technical things. For the most part, ignore it.

HKEY_LOCAL_MACHINE holds machine specific settings and configurations. One of which is the startup programs. Now, think of the registry as a large system of folders that can hold many other folders. Each folder can have a bunch of attributes which are essentially the settings for the operating system.

HKEY_USERS holds the all the user specific settings and is setup very similarly to HKEY_LOCAL_MACHINE.

HKEY_CURRENT_USER holds the user specific settings and configurations for YOUR username. It also has startup programs. HKEY_CURRENT_USER is actually just a pointer to your user key which is in the HKEY_USERS section of the registry.

Let’s dive into the Registry:

  1. Press Windows Key + R to open up the Run window (or open Command Prompt)
  2. Type in: regedit -> Press Enter (you need Administrative access to view and edit the Registry)
  3. In the left column, navigate to: HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> Current Version -> Run
  4. You should see a bunch of values in the right column.

Let’s backup the Run key (every folder or “container” in the registry is called a Key):

  1. Right click on Run -> Click Export
  2. Name the file: LocalRun.reg (.reg will automatically be added)
  3. In the Export range, make sure only the Selected branch is selected
  4. Save it somewhere you can find it
  5. Now if you accidently delete any keys or values, you can easily restore the changes

Let’s restore the Run key to make sure you understand how it works. You can actually restore a registry key a few different ways:

Since you have a backup of your Local Run key, lets clean house. In the right column, you should see three named columns:

Registry Local Run

The values will be different for many computers because everyone has different programs installed. These programs are run for EVERY user that logs onto your computer. Removing any of these will prevent them from starting up for any other user. Here comes the fun part. Chances are you don’t need 80% of the programs to start when you turn on your computer. Start by looking down the data list and delete anything that you don’t use anymore. Old tax programs, chat clients, games, AOL (I hope you’re not sill using AOL), etc. If you’re not sure what something is, copy and paste the value into Google and research. If you do a Google search and nothing comes up, it’s probably spyware so delete it to be safe. A few are probably Java, Adobe, Google - I usually remove these too because they do a version check each time you logon, slowing down everything. I would rather manually update them myself. The only ones you REALLY want to leave are: anti-virus, encryption (if installed), touchpad, wireless programs for networks and printers (which may actually not be needed), and a few others. It’s pretty much trial and error. Once you remove a bunch, restart your computer and enjoy faster startup times. By removing these, you don’t actually stop any of the programs running, you just prevent them from starting up the next time you reboot the computer.

For those running a 64 bit OS, you will have more startup entries here:

Remember: You have a backup so deleting a bunch of these is not a problem. Your computer will still start up again, I promise.

Once you’re done in the Local Machine key, look in the Current User key:

Make a backup of the key and call it CurrentRun.reg. This key is set up just like the LocalRun key, but they are start up programs that start up for only YOUR user account. When you’re done, restart your computer and enjoy the speed increase.

The start menu also has 2 locations with start up program shortcuts. One for all users (the equivalent to the HKEY_LOCAL_MACHINE key) and one for the current user (HKEY_CURRENT_USER). Inside these folders, you’ll see shortcuts to the actual applications.

On a Windows XP machine, the locations are:

On a Windows Vista/7 machine, the locations are:

The best way to back these up is to create a folder somewhere and copy all the shortcuts to the folder. Remove a bunch and reboot to see another decrease in startup times. Remember: removing or delete the keys in the registry or the shortcuts in the folders will not remove the program from your computer, it will just prevent the program from starting up every time you start up your computer.

Now, you could just have easily opened msconfig and unchecked a bunch of values, but where’s the fun in that!?

#microsoft #registry #windows