Wednesday, October 8, 2008

How To-34: "How to Rebuild a Windows XP PC"


How to Rebuild a Windows XP PC


from wikiHow - The How to Manual That You Can Edit

This page provides information on rebuilding a typical Windows XP PC, with pointers to really useful and lightweight freeware. Rebuilding your computer every so often keeps the startup and shutdown times low and wipes out any spyware, keyloggers and viruses that are on the machine (but may not protect you from rootkits). Printing this page before you begin should make the process as painless as possible.

Assumptions:


  • You are computer literate.
  • You have backed up ALL your data.
  • You have a broadband internet connection.
  • You are not facing an impending deadline.

If the answer to any of these questions is NO, do NOT proceed.
If the answer to ALL these questions is YES, proceed at your own risk.

Disclaimer:


This is only to be attempted by those who are computer literate and willing to risk the loss of their data. If you are at all uncomfortable with computers, get a knowledgeable friend to babysit you. You are solely responsible for your data and hardware if you chose to follow these steps.

Before You Start:


If possible, have a spare computer handy - one that has been proven to connect to the internet using your internet service. In case the machine you are rebuilding can't connect to the internet because you have an old network card, you'll have an alternate.
The cardinal rule to follow when rebuilding PC's is to keep the OS and data on separate drives: that way, formatting or reinstalling your OS does carries little risk of taking your data down with it. In spite of your best efforts to separate OS and data, during everyday use, a few files might have slipped into the drive that you are about to demolish. It is a good idea to search for them before you start. Some items to search for before you start are:
  • Address books for Outlook, Outlook Express and Thunderbird.
  • All Outlook PST files and Thunderbird data files.
  • Backup you favorite Firefox extensions using CLEO and FEBE. Back them up on to removable media, not the drive that is about to be demolished.
  • Search for *.doc, *.xls, *.pdf, *.ppt, etc., in your user folders. Backup the ones you need on to removable media, not the drive that is about to be demolished.
  • If you use Microsoft Word, back up your custom.dic (dictionary) and normal.dot (word templates), particularly if you have customized words and styles.
  • If you use other Microsoft Office apps, back up their Templates as well (*.pot, *.xlt, etc.) which can be found at ..\\application data\microsoft\templates in Win XP
  • Make notes on your printers: Port configurations, model numbers, and driver locations, so adding them later is easier
  • If you are a heavy Microsoft user, consider using the Profile Wizard (part of the Resource Kit) to automate the move of many settings. Find info on this at: http://office.microsoft.com/en-us/ork2003/HA011402851033.aspx
  • Back up the ftp settings to your favorite sites.
  • Back up your "Favorites" or other Internet shortcuts, depending on your browser the location will vary.
  • Back up the QuickLaunch and Desktop Folders.
  • If there have been no significant hardware changes, save C:\Windows\System32\wpa.bak and wpa.dbl. Replacing these after the installation could save you having to reactivate windows.
  • Run C:\Program Files\Common Files\Microsoft Shared\MSInfo\msinfo32.exe to get system information. Save the output to a text file & print it out (it is a huge file) or save it to the web so you know what is on your system when you go looking for drivers.
  • Determine your network adapter model and archive the latest drivers for it. If you can't connect to the internet after the reinstall, this will save you all sorts of pain.
  • Backup all user CERTIFICATES and FAVORITES in your browser.


Steps



Reinstall Windows
  1. Reboot the system & change the BIOS (typically you can enter the bios by pressing F7) to boot from CDROM as the first boot device.
  2. Reboot with the Windows XP CD.
  3. Delete the partition with the OS to ensure that everything is wiped out.
  4. Create a partition for the OS.
  5. Quick format to create the file system. Choose NTFS as the file system.
  6. Reboot. Do not choose option to boot from CD.
  7. Set the date and time.
  8. Set the workgroup to be HOME.
  9. Install Windows ($$$).
  10. Reboot. Once again, choose not to boot from the CD.
  11. Remove the CD - you should be in Windows now.
  12. Rename C:\Windows\System32\wpa.dbl to C:\Windows\System32\wpa.dbl.old (see previous section for the rationale - this may not apply to you).
  13. Copy the old wpa.dbl to C:\Windows\System32 (see previous section for the rationale - this may not apply to you).
  14. Reboot to ensure that this works.
  15. Reboot the system and change the BIOS to boot from IDE0 first and the CDROM last.
  16. Connect to the internet. If you can't, you won't be able to follow these instructions and the print out is your only backup.
  17. Open your IE browser (ugh) and do a Windows Update (you can install Firefox as soon as the updates are done). You should have service packs & patches galore to install.
  18. Reboot, go back and check for updates - they are often disseminated in small quantities over days. so there may well be more updates waiting for you.
  19. Scan for hardware changes. Windows did not recognize the SiS 7012 audio controller on the test system, but only pointed it out after a scan for hardware changes.
  20. Install your printer.
  21. Do one final scan for hardware changes and ensure that everything is functioning.
  22. Reboot.
  23. Create a restore point called Base.


Install Utilities (External Links)
The following non-comprehensive list includes several free utilities culled from a variety of sources on the internet. Programmes that cost money are followed by a ($) symbol; the number of $'s proportional to the cost. You may not need some of them: only install the ones you need, since superfluous software merely slows your system down.
There are ways of automating the installation of these utilities - using InstallPad, for example. However, when the time comes to rebuild your machine - with any luck some years away - some of these programmes may have changed or been upgraded. Therefore, InstallPad would probably install programmes that are out of date or irrelevant, forcing you to uninstall them and reinstall your new favorites.
This list should reminds you of the utilities that are likely to be of interest - if they are out of date when you are ready to do your next install, search for the latest ones.
For obvious reasons, you are strongly advised to install the antivirus programme before getting on the web.
  1. Install AVG Antivirus from here. Update it with the latest virus signatures immediately. Do NOT surf the web until this is done.
  2. Install TrueCrypt from here to create encrypted volumes for your sensitive data. This is especially useful for securing data on laptops.
  3. Install Moonsoft Password Agent ($) from here. If you want a free programme, try KeePass.
  4. Install Firefox from here. Install your favorite extensions from the CLEO & FEBE archive you previously created. Set your Firefox history and browsing preferences.
  5. Install Thunderbird from here. Recreate your email accounts, making sure you store the data files on another drive.
  6. Install ALFTP from here so you can ftp files to shared drives. It is a free and lightweight ftp programme.
  7. Install ALZip from here - it is a free and lightweight alternative to WinZip ($$).
  8. Install QuickTimeAlternative from here to view QuickTime content.
  9. Install Adobe Flash Player and Adobe Shockwave Player from here and here, respectively.
  10. Install Tracks Eraser Pro from here so you can wipe out your internet history, check startup entires and clean out your registry periodically.
  11. Install Yahoo Messenger with Voice from here. This lets you use make inexpensive international calls and use your webcam.
  12. Install CDBurner Pro from here. This is a lightweight CD burning programme that lets you create .iso files from CDs.
  13. Install MagicDisc from here. This lets you mount .iso files as seperate drives and saves you having to stick CDs into your drive every time you want to play a game.
  14. Install Auslogics Disk Defrag from here. This is a free and very fast hard drive defragmentation programme.
  15. Install Java Runtime Environment from here and JDiskReport from here in that order. This programme graphically shows you the size of files on your hard drive so you know where your precious hard drive space is being used up.
  16. Install PDFCreator from here. This free programme allows you to create .pdf files from any word processor or spreadsheet. It can also combine multiple documents into a single .pdf.
  17. Install Foxit PDF Viewer from here. This is a free lightweight viewer that loads much faster than Acrobat Reader.
  18. Install DriveImageXML from here. This programme allows you to image your hard drives - which means that you can restore your system from the image, should your computer get glugged up.
  19. Install GIMP for Windows from here. GIMP is a Photoshop ($$$) replacement. You will need to install the GTK+ 2 Runtime Environment first. Make sure you are downloading the version for Windows XP. Install the GIMP for Windows next, followed by the Help and the Animation package.
  20. Install Yahoo Desktop Search from here. Allow it to index your drive fully (this should take some time so you may want to do this overnight). It will slow your computer down, so don't do it unless you need to index your files.
  21. Run CCleaner and clean your system. Go to the startup manager tab and un-check everything not related to the antivirus scanner, firewall or desktop search. Any non-essential (non-antivirus, non-firewall) links here will slow your startup down. Do this last.
  22. Reboot.
  23. Install Microsoft Office ($$$) or the free, but less polished Open Office.
  24. Install Microsoft Front Page Express ($$$) or the free but less polished NVU if you do any web page editing.
  25. Do an Office Update to get the latest patches. As before, do this several times to ensure that the system is completely patched.
  26. Reboot.
  27. Create a restore point called Microsoft.
  28. Restore your Desktop.
  29. Restore your QuickLaunch and SendTo Folders. Check to ensure that the links are still valid. Don't delete the links that don't work if you intend to reinstall those programmes.
  30. Ensure that the drives have been assigned their old letters or your shortcuts may not work. You can change the drive letters by going to Start->Settings->Control Panel->Administrative Tools->Computer Management->Disk Management. Right click on the disk whose letter you wish to change and click Change Drive Letter and Paths. Reboot to apply changes.
  31. Defragment your drive using Auslogic's Disk Defrag.
  32. Install your other programmes, if any. Reboot. Defrag your system drive. Run CCleaner to ensure that only the programmes you want to run at startup are in the startup folder.
  33. Create a restore point called System_00.
  34. Get a stopwatch and measure the time it takes to boot the system up into Windows. Also measure the time it takes you to log in. Measure the time it takes to shut down. Write these times down, so you have data points to help you decide when your system has become unacceptably slow. These times were recorded on the test system after reaching the System_01 restore point:

Time to login prompt: 00:51:38
Time to login: 00:12:56
Time to shutdown: 00:19:78

Back Your System up:


  • Use DriveImageXML to back up the system partition.
  • Use CDBurner Pro to save the system partition. Label and date using an appropriate CD-compatible pen and store safely.
  • Use DriveImageXML to back up the data partition.
  • Use CDBurner Pro to save the data partitions. Label and date using an appropriate CD-compatible pen and store safely.


Congratulations!


You should have a reasonably pristine system now. Every month or so, repeat the stopwatch tests, write them down and compare them to the original boot times. You will be surprised by how quickly the system slows down as gunk accumulates.

Related wikiHows





Article provided by wikiHow, a collaborative writing project to build the world's largest, highest quality how-to manual. Please edit this article and find author credits at the original wikiHow article on How to Rebuild a Windows XP PC. All content on wikiHow can be shared under a Creative Commons license.

No comments: