Friday, August 28, 2009

Optimizing Windows XP

WARNING!!! I AM NOT RESPONSIBLE FOR BREAKING YOUR COMPUTER. THE FOLLOWING IS ONLY A GUIDE FOR EDUCATIONAL PURPOSES... MAKE SURE YOU KNOW WHAT YOU ARE DOING BEFORE YOU DO IT!!!

There are many things we can do to help optimize your Windows XP systems. The following are several steps you can take to make your systems run as smoothly as possible. For maximum efficiency, don't just skip a step thinking you don't need to do it... these things will really help you in your quest for a faster running system. I did not come up with any of this on my own. I have accumulated this information over the course of a couple years of tweaking and maintaining an office full of computers.
  1. BACK UP YOUR FILES!!! - Perform Weekly Please do this before trying anything in this guide... there is nothing worse than having to rewrite documentation, rebuild your address book, find all the installation disks for all the programs on your system... etc. So, Please backup your system.. and do it regularly. There are dozens of free programs out there that can help you with this, the first, and most important step.
  2. Clean Up Your System
    1. Clean up your installed Programs - Perform Quarterly
      1. Click "Start", then "Control Panel".
      2. Double Click the "Add Remove Programs" icon.
      3. Once the list is populated, look for any items you feel should not be there, or you no longer use and Click on that item.
      4. Click on the "Remove" button.
      5. Follow the instructions and prompts.
      6. Be careful not to remove important pieces of software.
      7. You can also clean up your "Windows Components" by clicking on the "Add/Remove Windows Components" button... be careful that you don't remove something important here.
    2. Clean up your Disk - Perform Monthly
      1. Click "Start", then "My Computer".
      2. Right click on your "hard drive" (usually "C" drive) and click "Properties".
      3. Click on the "General" tab.
      4. Check the amount of "Free space" available... if you have less than 5GB, youneed to free some space... if you have less than 2GB, you are in dire need!
      5. Click the "Disk Cleanup" button. It will scan your system to determine which cleanup tasks will be useful for you. This could take several minutes. Once the scan is finished, it will open up the "Disk Cleanup" window.
      6. Under the "Disk Cleanup" tab, make sure the following are checked: "Downloaded Program Files", "Temporary Internet Files", "Offline Webpages", "Microsoft Error Reporting Temporary Files", "Recycle Bin", "Temporary Files", and "WebClient/Publisher Temporary Files".
      7. NOTE: checking the options: "Compress old files" and "Catalog files for the Content Indexer", will save you some hard disk space, but will ultimately cause minor slowdows, so I would recommend not checking these two items.
      8. Click the "OK" button.
      9. It will ask you if "you are sure you want to perform these tasks", click "Yes"... Disk Cleanup will do the rest.
    3. Clean up your desktop - Perform Weekly
      1. The more icons you have on the screen, the more your systems has to process every time you display your desktop. You can minimize this time by reducing the amount of "stuff" on your desktop.
      2. TIP: consolidate a bunch of icons into a single folder. You will be surprised by the boost you can achieve by doing this.
  3. Scan Up Your System (Don't just bypass these scans, they are VERY important)
    1. Run Scandisk on all of your hard drives - Perform Monthly (this could take a few hours, so do it at the end of your day... This should yield huge dividends if you have not run it lately)
      1. Click "Start", then "My Computer".
      2. Right click on your "hard drive" (usually "C" drive) and click "Properties".
      3. Click on the "Tools" tab.
      4. Click on the "Check Now..." button under the "Error-checking" section.
      5. Check both "Check disk options" and Click "Start".
      6. It will tell you "The disk check could not be performed because the disk check utility needs exclusive access...", Click the "Yes" button.
      7. Next time you restart your computer, it will perform the scandisk... this could take a few hours, so restart your computer at the end of the day and let it run through the night.
    2. Run Defragmentation Utility on all of your hard drives - Perform Monthly (This could take a few hours, so do it at the end of your day)
      1. Click "Start", then "My Computer".
      2. Right click on your "hard drive" (usually "C" drive) and click "Properties".
      3. Click on the "Tools" tab.
      4. Click on the "Defragment Now" button under the "Defragmentation" section.
      5. Click on the "Defragment" button.
      6. This will take a few hours, so do this at the end of the day and let it run through the night.
    3. Run Full Anti-Malware scans - Perform Monthly (This could take a few hours, so do it at the end of your day)
      • Malware is short for Malicious Software. It includes virus', worms, trojen horses, root kits and others. They plant themselves on your system, just sending you random advertisements in the best cases, and using your system as a bot net to perform their bidding on your and others systems. This software can not only be annoying, but it can steel sensitive information like passwords, and it almost always slows down your system. FACT: over 60% of PC's are infected with at least one type of Malware (Mac's have better statistics, but are still vernerable). There are several programs out there that can help you in scanning and eliminating Malware from your system. I will recommend 3 that are reliable and offer a free version of their software. You don't need all three in most cases, but they all take different strategies and can find different types of Malware because of it. Use as you choose, but use at LEAST one of these on a regular basis. Consult their documnetation, or ask me if you need help running any of the programs.
      1. Ad-Aware by Lavasoft -- http://www.lavasoft.com/ -- This program is very effective and has been trusted for many years. It is a simple scanning software that is continiously updated. The free version only runs scans when you want it to, so it won't slow down your system.
      2. Malwarebytes' Anti-Malware -- http://www.malwarebytes.org/ -- This software is a little newer to the market, but picks up some things that Ad-Aware doesn't catch (Ad-Aware also picks up some things Malwarebyte' doesn't catch). Like Ad-Aware, the free version only runs scans when you want it to, so it won't slow down your system.
      3. SpywareBlaster by JavaCool Software -- http://www.javacoolsoftware.com/ -- This software takes an anti-virus approach to keeping out the badware by scanning your system as you go. The benifit here is that it will usually stop the Malware before it gets in. The tradeoff is that it is always running and can slow your system down.
    4. Run a Full Anti-Virus Scan - Perform Weekly (I know this is a pain, but it's VERY important... This could take a few hours, so do it at the end of your day)
      1. If you are using AVG Anti-virus:
        1. Click "Start", "All Programs", "AVG Free...", then "AVG Free User Interface".
        2. Make sure your software is "Up-to-date"... Click "Update now" and follow the prompts (may ask you to confirm a download...)
        3. Once the update is finished, click the "Computer scanner" tab.
        4. Then, Click the "Scan whole computer" button.
        5. This could take a few hours, so do it at the end of your day and let it run through the night.
        6. If any virus' are found, you will want to get rid of them. Let me know if you have any questions on how do this.
      2. If you are using a different Anti-virus program, consult your documentation.
      3. If you DO NOT have an Anti-virus installed... SHAME ON YOU ;) ... stop what you are doing now, follow this link, download and install the latest AVG FREE... then start over at step 1...
      4. If the daily scans are bogging down your system and cramping your style, there are ways to change the scheduling to better suit you needs.
  4. Tweak Up Your System (Most of the following you will only need to do once. Take caution with the following, some of it can cause you problems, so take your time and write down the things you change. I'll let you know when we get to potentially dangerious stuff)
    1. Windows Update - http://update.microsoft.com/
      1. Once the update is finished, click the "Computer scanner" tab.
      2. Using Internet Explorer, brows to update.microsoft.com
      3. It will check to make sure you ahve the most recent version of windows update installed. If it asks you to update the update software, just follow the prompts.
      4. It will then present you with a page asking you if you want to run "Express" updates or "Custom"... start with "Express".
      5. Once it finishes the scan, you may be presneted with a list of updates that need to be installed. Make sure they are all selected and click "Review and install updates".
      6. It will then show you a list of updates you have chosen to install... click the "Install Updates" button.
      7. Follow the prompts as directed and restart only if they ask you to.
      8. Return to Windows Update and continue to follow the "Express" path until there are no updates left to install.
      9. Return to Windows Update again, this time, follow the "Custom" path.
      10. Once the scan is complete, you may see update options on the left grey bar for "High Priority", "Software, Optional", and "Hardware, Optional".
      11. Starting with "High Priority", if there are any updates remaining here, make sure you select them.
      12. Next click on "Software, Optional". Be selective here, there may be some updates that are usefull, but others, may just end up slowing down your system. For instance, if you don't search your system much, you won't need "Windows Search 4.0 for Windows XP" as it will actualy spend processor time while it constantly scans all the files on your system cataloging them. If you, however, spend a lot of time searching through your files, this will be a great install for you!
      13. Next Click on "Hardware, Optional". These will be things like driver updates. It's important to be sure you are actually using the devices that they offer updates for as it could cause problems if you are not. If you are using matching devices, these updates will most likey improve performance and stability and are great to download.
      14. Once all desired updates are selected, click "Review and install updates".
      15. This will again show you a list of updates you have chosen to install.... review and click the "Install Updates" button.
      16. Follow the prompts as directed, restart if it asks you to.
      17. Repeat the "Custom" path until there are no more updates you wish to install.
    2. Disable startup programs - There are so many programs that add little tidbits of themselves that like to run the entire time your computer is running... even if you don't use that program. Programs like MSN Messenger and iTunes are especially guilty of this adding 4-8 little programs without ever asking you. The following will help you eradicate some of those little nasties. You may need to do this once a month or so depending on how often you install software.
      1. Click "Start", then "Run". This will open the "Run" window.
      2. Type "msconfig" in the text box next to "Open:".
      3. Click "OK". This will open up the "System Configuration Utility".
      4. Click on the "Startup" tab.
      5. Here you will notice what could be a cryptic and/or long list of programs. Some of them you may want to automatically start, others you may never knew existed. To prevent an item from running on startup, simply uncheck the item here. NOTE: by unchecking an item, you may temporarily loose functionality that you automatically expect to be available. If this happens, simply return to this utility and recheck the item. The bottom line, is, don't be afraid to uncheck everything on the list. Things that know they need to be running on startup (like AVG) will automaticlly add themselves back to this list as needed. Worst case scenerio, simply return re recheck everything.
      6. When you are finished selecting items you want to disable from your startup group, click "OK".
      7. It will tell you "You must restart your computer for some of the changes made by System Configuration to take effect". Click "Restart".
      8. When your system restarts, a window will pop up telling you that some items have been changed using the System Configuration Utiltiy... Check the box that says "Do not show this to me in the future" and click "OK".
    3. Tweak the Eye Candy - There are lots of nifty "effects" with XP that make the experience seem more fluid and generally "cool". Some of these things can slow you down, many of them you would never notice if they were missing. Feel free to adjust these settings as you like as they will only effect the "visual effects" of your system.
      1. Click "Start", Right Click "My Computer", and Click "Properties". This will open up the "System Properties" window.
      2. Click the "Advanced" tab.
      3. Click the "Settings" button under the "Performance" section. This will open up the "Performance Options".
      4. Click the "Custom" radio button.
      5. I have only the following checked on my machine... but these are just my personal preferences: "Animate windows when minimizing and maximizing", "Show shadows under mouse pointer", "Show translucent selection rectangle", "Smooth edges of screen fonts", Smooth-scroll list boxes", "Use a background image for each folder type", "Use common tasks in folders", "Use drop shadows for icon labels on the desktop", "Use visual styles on windows and buttons". Again, these are just my preferences based on experimentation, and what I find visually pleasing to my eyes. Tweak to your hearts content.
    4. Tweak some more Eye Candy - Here are a few more effects you can adjust to help further improve your visual performance.
      1. Right Click on an empty part of your desktop and choose "Properties". This will open up the "Display Properties" window.
      2. Click on the "Appearance" tab.
      3. Click on the "Effects..." button. This will open up the "Effects" window.
      4. I prefer to uncheck the "Use the following transition effect for menus and tooltips".
      5. If you are using a flat panel screen or laptop, you should try using ClearType by Checking "Use the following method to smooth edges of screen fonts" and selecting "ClearType" from the drop down menu. It my slightly degrade actual system performance, I have found, however, the visibility of fonts and reduction to eyestrain are worth the tradeoff. Try it, and if you don't notice a difference or don't like the effect, try the other option or uncheck it all together.
      6. I also prefer to uncheck "Use large icons", Show shodows under menus", and "Show window contents while dragging". The last two of the three should reap some minor improvements.
      7. Also, I prefer to check the "Hide underlined letters for keyboard navigation until I press the Alt key". Choose as you like... and remember you can always come back and change these settings later.
      8. Finally, click "OK" in the "Effects" window, and "OK" in the "Display Properties" window.
    5. Speed up Your Mouse - OK, so this one won't so much speed up your system, but rather speed up your productivity. By default, the system sets your mouse to medium speed, when really, fast speed may better suit you.
      1. Click "Start", then "Control Panel".
      2. Double Click on "Mouse". This will open up the "Mouse Properties" window.
      3. Click on the "Pointer Options" tab.
      4. Adjust the "Select a pointer speed" slider bar faster or slower, then try moving your mouse around.
      5. When you find a comfortable speed, click "OK".
    6. Choose an smaller file sized background image, or don't use one at all - The larger the file size of the background image you choose, the more processor it take every time it has to redraw the screen.
      1. Optimize Your background image
        1. Check the resolution (physical size) and DPI (Dots per inch) of the image. Make sure the resolution of the image matches the resolution of your screen. Also, make sure the DPI is set to 72dpi as that is usually what your monitor will be set to.
        2. Optimize the image file using Photoshop or some other image optimizer.
        3. Save the new background image into your "My Pictures" folder.
      2. Right click on a blank part of your "Desktop" and choose "Properties". This will open the "Display Properties" window.
      3. Click on the "Desktop" tab.
      4. Click the "Browse..." button. This will open the "Browse" window.
      5. Find your new image, select it and click "Open".
      6. Click "OK".
    7. Turn off Fast User Switching - Unless there are multiple people using a computer with multiple user accounts, there is never a need for fast user switching... Turning this off can save some processor speed as well as speed up your startup process.
      1. Click "Start", then "Control Panel".
      2. Double Click on "User Accounts". This will open the "User Accounts" window.
      3. Click on "Change the way users log on or off".
      4. Uncheck the "Use Fast User Switching".
      5. Click "Apply Options".
      6. Close the "User Accounts" window.
    8. Turn off Automatic Updating - WARNING, only do this if you are persistent with checking for windows updates on at LEAST a monthly basis. Every time you connect to the Internet, Windows automatically visits the Windows update site for new updates. Turning this off will gain you some speed. Alternately, you can set it to check for updates on a set schedule. At least this way it's only tying up your system for a set period of time.
      1. Click "Start", Right Click "My Computer" and select "Properties".
      2. Click on the "Automatic Updates" tab.
      3. Select the "Turn off automatic updating. I want to update my computer manually" radio button.
      4. Click "OK".
    9. Turn off Remote Assistance - Most people never remote assistance, so there is no need for it running in the background.
      1. Click "Start", Right Click "My Computer" and select "Properties".
      2. Click on the "Remote" tab.
      3. Make sure both "Allow Remote Assistance invitations to be sent from this computer" and "Allow users to connect remotely to this computer" are Unchecked.
      4. Click "OK".
    10. Turn off folder Indexing - if you don't perform file searches on your system very often, the built in "indexer" is eating up your resources.
      1. Click "Start", then "My Computer".
      2. Right Click on your "hard drive" (usually "C" drive) and click "Properties". This will open up the "Local Disk (X:) Properties" window.
      3. Uncheck the "Allow Indexing Service to index this disk for fast file searching" box.
      4. Click "OK". This will open up the "Confirm Attribute Changes" window.
      5. Select the "Apply changes to the X:\, subfolders and files" radio button.
      6. Click "OK". This will open the "Applying Attributes..." window. This process may take several minutes, so do this right before your lunch break and it should be done by the time you get back.
    11. Open each folder in a separate part of memory - This will add speed and stability in situations where you have multiple folder windows open at once.
      1. Click "Start", then "My Computer".
      2. Then Click on "Tools" in the menu, then "Folder Options". This will open the "Folder Options" window.
      3. Next, click on the "View" tab.
      4. Then Scroll down about half way in the "Advanced settings" pane and check "Launch folder windows in a separate process".
      5. Finally, click "OK".
    12. Prioritize Your Tasks - Be careful with this one, you don't want some programs to bomb because they can't get enough clock cycles. But this could be very useful.
      1. Press "Ctrl-Alt-Del" to bring up your "Windows Task Manager".
      2. Click on the "Processes" tab.
      3. Right Click on one of the processes, Hover over "Set priority", then choose the priority you wish to grant this process.
      4. When you are all done, close the task manager.
    13. Disable Unused Services - This is where things get just a little scary... WARNING: If you do something wrong here, some things may stop working. I would advise that if you are not sure what you are doing, you consult with someone who's knowledgeable before you proceed.... With that said, Windows uses services to take care of a lot of the "stuff" that just seems to happen magically in the background... things like automatically configuring your wireless service so that you can get online. Many of these services however do not need to be running all of the time, and some don't need to be running at all. Finally, there are some services that are not needed if you do some manual configuration of you system. I will walk you though the process of stopping and disabling a service, but the actual execution of the process should be done by a qualified person.
      1. Click "Start, then "Run". This will open the "Run" window.
      2. Type "services.msc" in the text box next to "Open:". This will open the "Services" window.
      3. Right Click on the service you wish to tweak and choose "Properties". This will open the properties window for that service.
      4. From here, you can start, stop, pause, and resume a service by clicking on one of the buttons. Also, you can change the "Startup type" in the dropdown menu to "Automatic", "Manual", or "disabled".
      5. Finally, click "OK" and the settings will be saved.

No comments: