Making Your Computer Log On Faster
The system loaded the majority of the operating system components. Does your computer take longer to load after you sign on than it used to take when you first brought it home? These are all questions to which you will find answers in this tutorial. You can make your system load faster by using a number of cool tweaks and hacks. This tutorial concentrates on how to make the system load faster after the operating system has loaded and you are presented with the welcome sign-on screen.
After you turn on your computer, it goes through the boot-up process, which loads the main system components and drivers. Eventually, when those are finished loading, the Windows shell is started and you are presented with the sign-on screen. After the welcome screen is displayed and you sign on, the system begins to load your user profile settings and the rest of the Windows shell. When that is finished loading, the system runs the applications that are in the startup folder as well as other sneaky registry startup programs. After these applications are finished loading, your mouse will no longer display the hourglass and you are set to do whatever you want with your computer.
This tutorial begins by examining ways to speed up the logon process. Then it discusses how to get rid of all those extra applications that run at startup that further slow down your computer. When you use the tips you will learn in this tutorial, your system will have a much faster loading time.
Speeding Up the Logon
A lot occurs when you log on to your computer. Windows has to validate your password, load your profile settings, apply the settings, and then launch any additional applications that are registered to start automatically. Those are a lot of areas to fine-tune to allow for a faster logon. To get started, take a look at automatic logon.
Enabling Automatic Logon
If you are the primary user of your computer and you do not have any other users, or if everyone in your household uses the same username, you are the perfect candidate for enabling automatic logon. Automatic logon is a great technique that will save you time that is often wasted when your computer is waiting for you to type your password. Even if you do not have a password assigned to your account, you are still required by the logon welcome screen to click your name to sign in. Having to do these tasks yourself is unnecessary and a waste of time if you are a candidate for automatic logon.
Automatic logon can be a great feature but it can also create a security problem for your computer. If you use your computer for business, if you have data you prefer to keep safe from others, or both, I strongly recommend that you do not enable this feature. If you happen to step out of your office or if your laptop is stolen, you have left the door to your computer wide open. By enabling automatic logon, you are trading convenience for physical access security. However, you are not changing your network security, so your data is still safe from network attackers. The risk of someone remotely connecting to your computer is the same as if you did not have automatic logon enabled.
Enabling automatic logon is a quick and easy registry hack. Follow these steps to speed up your sign-on with automatic logon:
- Click the Start button, type regedit in the Search box, and then press Enter.
- After Registry Editor has started, navigate through HKEY_LOCAL_MACHINE\ SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon.
- Locate the AutoAdminLogon entry. If the key does not exist, create it by right-clicking the Winlogon folder and then select New, String Value.
- Right-click the AutoAdminLogon entry and select Modify. Set the Value to 1. Then press OK to save the new value.
- Locate the DefaultUserName entry or create a string value if it does not exist.
- Right-click DefaultUserName and select Modify. Set the value to the username that you primarily use to sign in to Windows. Press OK.
- Locate the DefaultPassword entry or create a string value if it does not exist.
- Right-click the DefaultPassword entry and set the Value to your password.
- Close Registry Editor and restart your computer.
After you reboot your computer, Windows 7 should automatically sign on to your account. You will notice that your computer will now get to the desktop much quicker than before. If you ever want to disable automatic logon, go back into Registry Editor and set the AutoAdminLogon entry to 0. Its also a good idea to delete the DefaultPassword string value so your password is not stored in plain text in the registry.
Adjust the Startup Programs
After you sign on, the system loads your profile, finishes loading the Explorer shell, and then begins to load the startup programs. If you have ever purchased a computer, either online or from a retail store, then you noticed all the annoying software programs that automatically load right after you sign on. Some computer manufacturers go so far overboard with startup applications that Windows has to hide them automatically from appearing in the system tray so that your taskbar has enough space to show open windows. If you are like me and have built your own computer, you do not have to deal with all the preloaded junk that comes from the big computer manufacturers. Nevertheless, you are still vulnerable to auto-start programs that get installed by many of the popular applications you use. Over time, as you install more applications, the automatic startup applications can get out of control and definitely slow down your logon.
Popular applications such as Adobe Photoshop, AOL Instant Messenger, iTunes, Windows Live Messenger, and many more install auto-start components. Consider all the extra auto-start components these applications add on top of the auto-start applications already installed on your computer, such as antivirus and anti-spyware applications. Your logon can easily become slowed to a crawl by dozens of applications that load after you sign on. This section helps you see what programs are starting automatically and then will show you some great tricks to stop them all from starting up.
Identifying and Disabling Auto-Start Applications
The first step in stopping the auto-start applications is to identify exactly what is starting up and whether it is needed. You can use two different utilities to find this information. The first is the System Configuration utility that comes with Windows 7. System Configuration enables you to easily see which applications start on logon. Another great utility is called Autoruns by Microsoft Sysinternals. Autoruns is a more comprehensive utility that allows you to see all applications that run on logon as well as other types of auto-starts such as browser or shell plug-ins.
Using System Configuration to Identify and Disable Unneeded Startup Applications
The System Configuration utility included in Windows 7 is very easy to use. First, you need to get a list of all the applications and components that automatically start up when you sign in. Follow these steps to discover the applications that automatically start up on your system:
- Click the Start button, type msconfig in the Search box, and then press Enter.
- After the System Configuration utility has loaded, click the Startup tab.
- Now that the list of the active startup programs is visible, you need to research what programs should be removed.
- Because almost every computer has different programs starting up after logon, it is best to search the Web with the executable file name to find out if the application can be safely removed from startup. One useful site to visit is a database of common startup programs called AnswersThatWork, located at www.answersthatwork.com/Tasklist_pages/tasklist.htm. At that site, you will find a recommendation for each of the programs listed. If you cannot find one of your programs listed, just do a quick search on Google and most likely you will find several web sites showing what the program does and what removing it will do.
It's easy to remove the automatic startup applications with the System Configuration tool. When you have the System Configuration tool open, follow these steps:
- Locate the item you would like to disable from starting up and clear the box to the left of it.
- When you are finished unchecking all the applications that you no longer want to auto-start, press OK to save your changes.
- You are asked if you would like to Restart now or Exit without Restarting.
- After you restart, you are reminded by the System Configuration tool that you have just made some changes to your startup. Check the box that says Don't show this message or start System Configuration when Windows starts.
After removing some of the automatic startup applications, you will notice that you can sign on much faster. If you have any problems after disabling a startup application component, you can always enable it again by checking its box in the System Configuration tool.
Using Autoruns to Identify and Disable Auto-Start Components
Autoruns by Microsoft Sysinternals is a more comprehensive tool to identify and disable unneeded auto-start applications, components, and plug-ins. Similar to the System Configuration tool, Autoruns operates in the same way but also shows the auto-start components of other items such as browsers and the system shell.
Autoruns is also easy to use. To get started, you need to download a free copy of the Autoruns software from http://technet.microsoft.com/en-us/ sysinternals/bb963902.aspx or http://live.sysinternals.com/autoruns .exe. After you have Autoruns downloaded and extracted to a folder, follow these steps to get started:
- Go to the directory where you have extracted Autoruns and run autoruns.exe.
- When Autoruns has started, click the Logon tab.
- You will see all the automatic start applications, similar to the System Configuration tool. Identifying an unneeded service is even easier in Autoruns because of the right-click search feature. Right-click any entry and select Search Online. This automatically opens your web browser and searches Google for the process name. Simply selecting the entry will also provide more information about what it is.
- Disabling a process is also similar to the System Configuration tool. Just clear the box to the left of the process name and it will no longer start after a reboot.
The power of the Autoruns software lies in the ability to control other automatic starting components such as browser add-ons and Explorer shell plug-ins. Check out the following list of additional, useful tabs available in Autoruns:
- Logon: Everything that runs when you log on.
- Explorer: This tab helps you get your shell extensions under control as well as see all the applications that tap into Windows Explorer with DLL files.
- Internet Explorer: This tab lets you find applications that hook themselves into IE.
- Boot Execute: This tab enables you to find applications that have integrated themselves into the system boot.
- Print Monitors: Use this tab to get rid of extra print monitors for features that you don't use.
- Drivers: This tab provides another way to disable drivers for your hardware devices.
- Winlogon: This tab lets you find all the applications that run on your logon screen.
- Sidebar Gadgets: Although these are called Desktop Gadgets in Windows 7, you can still use this tab to disable gadgets you don't want loading when you log in.
When you uncheck any options, simply restart your computer for the change to take effect.
Controlling Auto-Start Applications That Keep Coming Back
You may experience some applications that you have previously disabled automatically starting up again. Software developers often use various techniques to check that their application is registered to auto-start when you log on. If it is no longer set to auto-start, it will automatically set it up again to do so. The software developers may be trying to make sure you use their application by making it difficult to disable auto-start. In other cases, applications are just trying to make sure that other programs are not disabling their program or taking over their turf.
Competing software applications can often conflict and compete with each other for use on your computer. This occurred when installed several media players on my PC. After installing the programs Winamp, iTunes, RealPlayer, and Windows Media Player, noticed that they would fight for my music file associations (that is, which application would open the file). Every time run RealPlayer, it would change all my music files over to be played in their player by default. The same thing happened when try to play my music files in other players. From this experience, that it was not uncommon for an application to install a program to be run at system startup that would check and take over (or preserve, as the developers call it) itself from other applications.
Getting rid of these applications from your startup is much trickier than unchecking a box in the System Configuration utility or Autoruns. It involves digging into the preferences of each application and changing several options. In the paragraphs that follow, I show you how to disable two of the most popular and most difficult applications from starting up automatically. Additionally, the methods used can be applied to disable other sneaky applications from starting up.
Getting a Handle on RealPlayer
Real Networks, the developers of RealPlayer, could have made it a little easier for users to disable some of the extra program features. RealPlayer is a good application, but it comes bundled with so much extra junk that knowing how to disable all the extra features becomes a necessity.
RealPlayer does not come preinstalled with Windows 7. If you did not download and install this application yourself, and it cannot be found on the Start menu, then you do not need to worry about taming RealPlayer.
One of the features of RealPlayer that is most annoying is the Message Center application that is automatically set up and starts when you log on. When you least expect it, no matter what you are doing on your computer and after you have run the RealPlayer program, you get a little pop-up message that alerts you to some random information or advertisement.
You can do two things to get RealPlayer under control. First, you need to stop the scheduler from starting up every time you start Windows. You will recognize this application in the System Configuration utility as realsched.exe. No matter how many times you uncheck this item in the System Configuration utility or Autoruns, it will keep coming back. The only way to stop it is inside the RealPlayer application. Follow these steps to stop it for good:
- Start the RealPlayer application by clicking the Start menu, type in RealPlayer, and hit Enter.
- After RealPlayer has loaded, click the Tools menu bar item and then select Preferences. This loads the program preferences.
- Expand Automatic Services and then select AutoUpdates.
- Clear the Automatically download and install important updates box.
- To make sure that you will never again see a message from the so-called Message Center, select the Message Center entry listed under Automatic Services.
- Click the Select Message Topics button on the right side of the window.
- When the Message Center window is displayed, uncheck all items on the screen. Navigate through the categories of messages and uncheck those as well. When you are finished, press the Save Changes button.
- Close the Message Center window so the Preferences window can be viewed again.
- After you are back to the Preferences window, press the Configure Message Center button.
- Clear all the boxes on the screen.
- Press OK to close the Configure Message Center window.
- A warning window displays informing you that you are disabling the Message Center. Click Yes to proceed.
- Close the Message Center window again so that you can view the Preferences window.
- Press OK to save your changes and close the Preferences window.
That's it. RealPlayer is now under your full control and will not start up automatically and will not send you advertisements. As you can see, it is more difficult than just unchecking one box in the System Configuration utility, but it is not that much more complex after you know what boxes to clear.
Disabling Windows 7 Action Center Alerts
Windows 7 Action Center alerts are not only an annoying feature for advanced users, but they also slow down your logon time because they have to start automatically when you log on. Disabling this feature by clearing a box is simply not an option using the System Configuration utility or even Autoruns. Action Center alerts are deeply embedded into Windows 7 and can be turned off only from within the Windows Action Center application, similar to what you had to do with RealPlayer.
If you are unfamiliar with security alerts, these are the little boxes that pop up from your system tray that inform you that you are missing antivirus or other types of computer protection. If you are an advanced user, you do not need to be reminded all the time that your security settings may be insecure.
In Windows 7, Microsoft made it easy to disable security alerts from starting automatically. Just follow these steps:
- Click the Start button, type Action Center in the Search box, and then press Enter.
- After Action Center loads, click Change Action Center settings.
- Then, remove the check next to all the messages you don't need to see.
- Click OK, close Action Center, and you are finished.
As you can see, stopping sneaky programs from starting automatically requires you to go into the program's options/preferences/settings. After you are inside a program's settings, you have to uncheck any options of features that start up automatically. Most programs such as Windows Security Center alerts are easy to disable from starting up automatically from within the preferences. However, other programs, such as RealPlayer, require a little more work as you have to disable automatic updates and several Message Center features.
The best way to stop other sneaky programs that keep starting up automatically after you try to remove them using the System Configuration utility is to dig through the program's settings.
Customizing Auto-Start Programs for Other Users
Each user account on your computer can have different auto-start applications associated with it. Certain programs may start up for one user but not for another. All these settings are stored in the system registry. With the help of the Registry Editor utility, you can manually change these entries.
First, Windows 7 stores the auto-start information in the registry. Windows stores auto-start information in two places for every user. It stores which programs will start for a specific user under the user's registry hive/location. It also stores a list of programs that will start automatically in the local machine hive. Registry entries in the local machine hive will start up for all users of the computer. Removing these entries will remove it for all users of the computer.
Now that you know the two different types of startup items, user-specific and all user entries, you can begin hacking the registry to change the startup programs. First, you will find out how to modify the startup programs for all users, and then you will learn how to modify the startup programs for individual users.
To modify the startup programs for all users, follow these steps:
- If you have not already done so, start Registry Editor by clicking the Start button, typing regedit in the Search box, and pressing Enter.
- After Registry Editor has loaded, expand and navigate through HKEY_ LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. You will see a list of all the auto-start applications in the local machine context.
- If you want to remove a startup program, just right-click the name and select Delete. Alternatively, if you want to add a new entry, right-click the white space and select New and then String value. Right-click your new entry and select Modify so that you can edit it and set the value to the path of the executable you want to run.
That is it. You now know how to add and remove programs that will start up for all users on the computer. The steps for modifying the startup programs for individual users are very similar. The only difference is you have to go to a different place in the registry.
Instead of navigating in the registry under HKEY_Local_Machine, you have two options. You can log on to an individual's account and then go to HKEY_ CURRENT_USER followed by the same navigation path used earlier. Alternatively, you can go to HKEY_USERS, expand the account SID (Security Identifier) key, and then follow the path used earlier.
Either method will result in the same outcome. However, if you don't have access to a user's account, you can still modify his or her auto-start applications by going to HKEY_USERS.
The preceding paragraphs covered the largest contributors to a slow logon, but there still are a few other tips that can save you additional time. These tips, individually, do not save a lot of time, but when they are applied in combination, they can really add up. Furthermore, if you are running Windows 7 on older hardware, these tips will help you significantly decrease your logon time even further.
Assigning Alternative IP Addresses
Over the years Microsoft has experimented by changing when the network devices are initiated to make sure that the boot is not held up by a slow DHCP server. Windows XP made big advances in this area and Windows 7 has an entirely new TCP/IP stack that is optimized for performance. However, assigning an alternative IP address to your network cards is something that can only help because it saves your computer from an outgoing network request to the DHCP server to get an IP address. No matter where Microsoft moves the network initiation in the boot, it cannot eliminate the need to get an IP address.
To review, every time you turn on your computer, it has to set up the IP configuration for your network card. Often, this setup can result in your computer pausing for moments during the loading process. The delay occurs because the PC is waiting for the DHCP (dynamic host configuration protocol) server to assign the computer an IP address and provide other network information. On most healthy networks this is not an issue, but in some cases DHCP servers can respond slowly causing the startup delay.
One easy solution to this problem is to assign alternative information to your network card. This information is only temporary to allow your computer to continue the loading process. Hopefully after you log into your computer the slow DHCP server will have finally responded and provided the real network information. Follow these steps to specify an alternative IP configuration for your computer:
- Click the Start button and select Computer.
- When Explorer loads, type network connections in the address bar.
- Now that you are in the Network Connections window, you will see a list of network adapters on your computer. Right-click your wired network card adapter and select Properties.
- Click the Internet Protocol Version 4 (TCP/IPv4) to select it. Then click the Properties button.
- After the Internet Protocol Version 4 (TCP/IP) Properties window is displayed, click the Alternative Configuration tab. This is where you will enter your alternate network information.
- Click the User Configured radio button to allow the text boxes to be edited.
- Type an IP address for your computer that will be used as a default in the event that your computer cannot get a DHCP address. Recommend using 192.168.1.X. Replace X with any unique number for each computer between 2 and 254.
- Type 255.255.255.0 as your Subnet Mask.
- Your Default Gateway should be set to 192.168.1.1 because that is a valid gateway address. As mentioned earlier, the exact numbers do not matter. You just want to have the computer assign some value instead of spending time searching when it will not find a DHCP server.
- Enter what your DNS servers should be. You can get this from your ISP, but this information really isn't that essential because this configuration will almost never be used to connect to the Internet. It is just a default fallback in the rare case that you are having networking trouble. Feel free to leave these fields and the WINS fields blank.
- Click OK and then click OK for the network properties screen.
Turning Off the Logon Sound
The music that Windows 7 plays every time the logon screen displays and then again when you log on is something that you can do without. Hearing the tunes was really cool back when most people didn't have sound cards in their computers. Nowadays everyone has a sound card and the cool new Windows 7 logon sound is starting to get old. Less is more, and when your computer has to load a 500KB media file to play, it slows things down. I recommend that you disable the logon sound. To do so, follow these steps:
- Click the Start button and then Control Panel.
- Click Hardware & Sound followed by Change System Sounds listed under Sound.
- Locate the Program Events box, scroll through the list and select Windows Logon. Remove the assigned sound by setting it to (None) with the Sounds drop down list.
- Below the Program Events list, remove the check next to Play Windows Startup sound.
- Click OK and you are finished.
Now that was not too bad. Plus, you just shaved another second off your loading time. If you want to save even more time in Windows, you can experiment with turning off all sounds by changing the Sound Scheme on the Audio Devices and Sound Themes screen to No Sounds from Windows Default.