Using Imaging Software
Not sure what imaging software is?
This page tells you how I manage my Windows XP installation. I assume that you know what imaging software is. If you're not sure and would like a description of what imaging software does, and what alternatives are available, it's all here on my blog: @ my wits' end.
A Strategy for Installing and Maintaining a Clean XP Installation
This is the routine I used for installation of XP Pro (SP1) on my newly built desktop. Obviously, the routine is specific to my requirements and will need to be modified to suit your installation and the programs you use. What follows is to illustrate the basic principles.
The main advantage of this method is that, for the outlay of US$79 for Acronis True Image and Disk Director Suite (or Symantec's equivalents - Ghost and Partition Magic) I have total control of my full installation at a number of points along the way and I'm (almost) totally protected from any malware that slips through my security. Virus writers eat your hearts out.
If I find that a newly installed program causes problems in my PC. It takes just 15 - 20 minutes to restore it to its pristine state at the time of a previously backed up image. I often image my current setup before installing a new program. If I don't wish to keep the new program, I restore that last image and the program's gone - along with all its dirty footprints in the Registry and who knows where else.
If I'm attacked by malicious software - rootkits are the biggest worry - I can restore my installation from an image and the problem is gone.
Separating Data from Programs
One important aspect of my setup is that, as you will see, I have moved My Documents, and all other data files to a separate partition from Windows and all programs. This allows me to restore a previous image without affecting my data. Hence the desirability of Disk Director partitioning software which makes it very easy to set up partitions.
No, I'm not getting a kickback from Acronis. :o)
If you wish, you can boot from a Windows 98 boot floppy or use the Ultimate Boot CD to do your partitioning with the DOS utility fdisk or any number of free partitioning utilities. But with Disk Director, Partition Magic and similar programs you can make changes easily after your installation - either from within Windows or from a boot CD.
Images of XP may be written to CDs or DVDs. An installation of Windows XP and MS Office 2003 should fit on one DVD RW. However, it's a lot easier to have a separate partition for your later, larger images, or better yet a second hard drive - internal or USB external.
A Vista installation probably won't fit on one DVD even at maximum compression. I no longer mess about with DVDs because hard drives are so inexpensive.
How I Set up my Drives and Partitions
You don't have to do it this way. You can settle for one internal HDD and use an external hard drive for your images and backups. You could even just have the internal HDD divided into two partitions, you'd still have a backup in case Windows melts down, but you'd be in trouble if your HDD died. Some may consider my strategy overkill, but I've been caught before and I value my data.
I have two internal hard disks, they're not expensive compared to your priceless data and they're easy to install. With this setup, if I restore an image of Windows and my programs – which are on C: – my data files on E: are unchanged. For instance, if I restore to a previous image and open Outlook, it opens with my latest data file which is on E:.
If Disc 1 crashes, my regularly backed up data and my image files are safe on Disc 2 (and a couple of other external places as well!)
Disc 1, First partition:
C:\ Windows
Contains Windows and all programs.
Disc 1, Second partition:
E:\ Data
All my data files, including My Documents, email (outlook.pst), downloads and the copies of the first and last Images (backups of the backups! OK, I'm paranoid, doesn't mean they're not out to get me).
Disc 2
D:\ Backups
This includes the images and backup copies of all my data from E:\.
Basic Windows Installation
This page deals with the strategy for your complete installation. I'm assuming that you know how to install Windows from the CD. If you need guidance with that step: look here:
http://www.5starsupport.com/tutorial/xpinstall.htm
The Installation
- Back up all your data! Need help? See here.
- If you still have access to the Internet, you may wish to download any large installation files required. e.g. Windows Service Packs if required, Office 2003 SP2, the latest anti-virus definitions file if your AV program provides this service.
- If you don't have the drivers for your motherboard and graphics card on CD, you may wish to go to the manufacturer's website and download them. XP will recognise most components on older boards.
- Install Windows XP Pro (in this instance, with Service Pack 1) without connecting to the router or telephone jack (for security reasons).
- Install Acronis Disk Director and create a data partition E:\ on Drive 1 if this wasn't done before the installation.
- Move My Documents folder tree to E:\My Stuff. (Right click on My Documents icon, select Properties, then just follow the prompts).
- Set up Windows Explorer, Taskbar, Desktop and Start Menu to suit yourself.
- Install Acronis True Image.
Backup to temporary image 1a (D:\Images\Image 1a)
The first two temporary images are created just in case everything goes wrong during the initial phase.
- Install XP SP2 (needed with my motherboard for USB 2.0 functionality - not needed if your installation disc is XP SP2).
- Install the Motherboard drivers from manufacturer's disk or downloaded files.
- Set cleartype (only for LCD screen) & font size (if needed for a high definition screen).
- Install graphics card driver.
Backup to temporary image 1b (D:\Images\Image 1b)
- Change Windows Update setting to Notify but don't Install.
- Install Norton SystemWorks 2003 including Antivirus. (Note: this is not an endorsement of Norton or Symantec - I would not recommend versions of Symantec's programs more recent than 2003.) Good alternatives: AVG or Avast! free for home use - BitDefender or NOD32 for commercial.
- For SystemWorks substitute any reputable Registry Cleaner or do without. CCleaner is a good free product. If you make proper use of your imaging software it's not so important.
- Connect to your router (and/or phone line) and internet. Update your anti-virus program.
- Activate Windows.
- Install Windows updates.
- Remove network connection until final Windows update.
- Run your antivirus program.
- Empty recycle bin.
- Defrag.
Backup to Permanent Image 1 (verified to D:\Images\Image 1)
Delete temporary images after testing that Image 1 works by restoring your installation from it. The reason for these temporary images is so that you don't have to go right back to square 1 if there's an unforeseen problem. Which there often is.
- You may wish to copy Image 1 to a DVD or, preferably, run the imaging software for a second time directly to a DVD-RW disc.
- Run Norton SystemWorks One Button Check or your equivalent.
- Install extra Windows components: Fax Services & IIS.
- Windows update again, particularly critical items.
- Run System File Checker: Start » Run » type:
sfc /scannow» click OK. - Run AV.
Backup to temporary image 2a
- Set Paging file (Virtual Memory aka Swap File) to 1GB minimum and maximum on Data partition - this ensures that the Paging File stays the same size and doesn't become defragmented. No paging file on C:\ or D:\.
- The above assumes that system RAM is 512MB. If you have 1GB or more of memory I suggest that the most you need for for your paging file is 500MB. Theoretically, you don't even need one if you have heaps of memory, but some programs get confused if there isn't one – go figure.
- No harm in experimenting with this.
- Turn off System Restore on all drives except C:\, although with the strategy I'm using you can do without it altogether.
- Set up screensaver, power settings, and hibernation to suit.
- Windows update again.
- Disable 3rd party cookies in IE6 or IE7, set IE to blank or your desired home page & move Temporary Internet Files to E:\.
- Install Infoselect 6 with shortcuts set to open in E:\My Stuff. This is my information manager - it's a great program, but grossly overpriced, substitute your favourite program.
- Install Office 2003 or OpenOffice and activate.
- Don't update Office yet.
Backup to temporary image 2b
- Update Office.
- Run Office Settings Wizard from your laptop or other machine if required.
- Change location of
outlook.pstto E:\My Stuff\Outlook. - Install your major applications. In my case, Macromedia Studio 8.
- Install Adobe Acrobat Reader.
- Install Snagit.
- Empty Recycle Bin.
- Defrag C:\.
- Run AV again.
Backup to Image 2 (verified)
Delete 2a & 2b temporary images after testing that Image 2 works.
- Install printers and scanner.
- Install Java Runtime Environment 5.
- Install Nero 6.6 and InCD or other optical disc writing software.
- Set up Network and file sharing with laptop and other PCs as required.
Backup to temporary image 3a
- Install Firefox 3.0. Set up security, privacy, cookie management and blank start page.
- Install Google toolbar.
- Install IrfanView, SyncBack and Apple Quicktime.
- Synchronise E:/My Stuff with laptop.
- Install SUPERAntispyware, Spybot and Ad-Aware.
- Install TweakUI.
- Install extra fonts as required.
- Run System File Checker:
sfc /scannow. - Empty Recycle Bin.
- Defrag C:\.
Backup Image 3 (verified)
Delete temporary image 3a after testing that Image 3 works.
- Install all other software.
Backup Image 4 (verified)
If storage space is a problem. I would keep only the first and last images on the internal drive.
I keep an extra copy of Images 1 and 2 on DVDs.
Other Notes
If you're about to do a re-installation and your current setup is still functioning, it's better that you do your partitioning, downloading of necessary files and moving of data before starting the new installation.
Did I mention BACKUP YOUR DATA?