Saturday, December 13, 2008

Backups, Re-installation, Free Software Checklist

I feel like a post like this is a number of years overdue for me. Especially for those of you I've done computer work for, this is basically a copy of the mental checklist I use when reformatting and reinstalling a Windows PC.

To quickly summarize, many computers can benefit from an occasional reformat and re-installation - especially if it seems to be running slow or if a computer virus or other malware is suspected. Given the complexity of much of today's malware, you can't realistically rely on your anti-virus software to catch everything, much less properly undo and repair things after an infection - no matter what the manufacturers claim. The best solution is to never get infected in the first place. Following "safe computing" practices is critical, which I'll save another post for. Even without an infection, reinstalling from the operating system-up can help by getting the latest features and other updates for all your software.

This is primarily meant as a list of items to consider and be aware of, and is not meant to be a complete step-by-step guide. Things will vary by your computer, desired software, and your needs. If you're not confident in what you're doing, get some assistance. If you don't already know someone who can help, ask around - word-of-mouth references are the best. A local computer repair shop is the next best-bet. I personally do not recommend Best Buy's Geek Squad or other similar services by other large, chain retailers. For anyone in the area of my previous home in Green Lake, WI, I'd recommend Badgerland Computer Systems. In Eau Claire, WI, I'd recommend RAM Technologies.

Backing Up

The first, and most important step is ensuring you have a proper, up-to-date backup of anything you want to save. Typically, you only need to worry about data, or files that are user-created. Programs can be reinstalled from CD/DVD or downloaded online. Backing up everything in the "Documents and Settings" folder is a good starting point, which is usually "C:\Documents and Settings", or "C:\Users" under Windows Vista.

Be aware some of these files will usually be in use, especially for the current user, and can't simply be copied while in-use. Use one of the following options:

  • Boot from a Live CD, such as Ubuntu's LiveCD or BartPE (direct).
  • Remove the hard drive, connect it to another computer, and use that computer's operating system to copy the files. (Don't simply boot the hard drive on another computer's hardware.) A Disk enclosure or other adapter may be helpful / required for this. Sunbeam's SATA IDE to USB Adapter has worked well for me, and can be purchased from Newegg and elsewhere for only about $20.
  • Use backup software that supports Shadow Copy, which includes Microsoft's NTBackup and Vista's Windows Backup applications.
  • As a last resort, backup using a secondary user account. Logging-out the first user doesn't always sufficiently close all open files, particularly ntuser.dat, so rebooting before logging in as the second user is recommended.

Writable DVDs are cheap and usually work well. Just be aware that they are quite fragile. USB flash drives and external hard drives can also be used. I've often considered trying Iomega's REV Drive (Wikipedia). Regardless of the media, consider and choose a backup rotation scheme. Especially, consider if something were to happen while a back-up was in progress - is there a previous and suitable backup available? Keeping one or more recent off-site copies is also a necessity.

Review other considerations and concepts at Wikipedia's Backup article.

Re-installation

1) Verify that you have a proper backup (above), re-installation CD/DVDs for all your programs, and any critical drivers on a CD or other removable media for reinstalling the network drivers, etc.

2) Check for and apply any BIOS updates.

3) Reinstall the operating system.

  • Use a slipstreamed installation disk with the latest service pack and updates if possible. For Microsoft Windows XP, I recommend using RyanVM. Additional guides are readily available via a Google search: "slipstream windows xp sp3".
  • Consider partitioning the drive into separate partitions, at least one for the operating systems / programs, and one for user data. This allows for the possibility of reformatting and reinstalling the OS partition in the future without loosing user data - though this should not replace backing up.

4) Use Windows Update/Microsoft Update to install any available security and other critical updates. The process may need to be repeated until no further updates are available.

5) Install any needed device drivers and other system utilities.

6) Re-install any needed applications / programs.

7) Restore data from backup.

Free Software Checklist

Finally, make sure your computer can do everything you expect it to do by getting the necessary software. Everything below is "free" as in zero-cost. Additionally, a significant portion of this list is Free Software / Open Source, meaning that it "is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction".

Unless otherwise noted, everything here should work on Windows XP 32-bit, and both the 32-bit and 64-bit versions of Windows Vista. (I'm using the 64-bit version of Windows Vista, and have everything below installed and working.)

First are some applications that should probably be installed on any new computer, regardless of user. These are frequently required on the web and for opening common file formats, and will eliminate a near-future need to find and install the necessary program later.

  • Mozilla Firefox (web browser) [direct].
    • Especially for more technical users / developers, review my previous post of Firefox extensions.
  • Adobe: (all proprietary)
  • The latest Java Runtime Environment [direct].
    • Developers should also install the Java Development Kit (JDK).
  • Apple QuickTime (media player) [direct] (proprietary).
  • VLC media player [direct]. Plays DVDs, and just about any other media format.
  • The Xvid video codec [direct], for playing Xvid, DivX, and similarly-encoded video files.
  • The GIMP image editor [direct].
  • 7-Zip file archiver [direct].
    • While Windows provides built-in support for regular .zip files, 7-Zip provides extended options and better performance, and supports a wide variety of additional archive formats.
  • InfraRecorder CD/DVD writing (burning) software [direct].
  • OpenOffice.org office suite [direct].
  • Avast! anti-virus home edition [direct] (proprietary).
    • Alternatively, AVG Anti-Virus Free Edition (proprietary).
  • For Windows XP only, the Microsoft PowerToys for Windows XP. Particularly: Tweak UI, Image Resizer, Power Calculator, Open Command Window Here, and the Alt-Tab replacement (all proprietary).
    • In Windows Vista, the Windows XP-version of Tweak UI will not work. Look at the basic version of TweakVI instead.
    • In Windows Vista, the "Open Command Window Here" is already included. Just hold-down the shift key while right-clicking on or in a folder.
    • In Windows Vista, the "Alt-Tab replacement" is essentially built-in to Windows Aero.
  • The Sysinternals suite (proprietary). Download the "Sysinternals Suite" .zip file [direct], and extract is somewhere like "C:\Program Files\Sysinternals". Many users will never use this, but it makes many useful Windows tools available when needed. (I use Process Explorer all the time.)

Here are some more essentials for more technical users/developers:

1 comment:

Anonymous said...

As someone building workstations for mass deployment, this is a great checklist! Thanks so much! Your direct links were invaluable. Keep up the good work.