I had to replace the hard disk in a Dell XPS m1210 Laptop, I had made a copy of the recovery partition.
I used a vista install DVD to boot and sort partitions and copied the factory.wim file and imagex.exe from the Dell recovery files \tools\imagex.exe and dell\image\factory.wim
I created two partitions one for windows and a 10gb Partition for recovery files.
How I reinstalled the factory defaults from a Dell Factory.wim
Installed the new disk in Laptop, (only a 120gb)
Restoring the Del .wim
Boot the laptop with the Vista install dvd, you will need to go to the install option (this is after the country selections).
Follow the install until you arrive at the disk partition screen. If it is a new disk there will probably be no partitions. If there are partitions delete them (unless you need the data), and reformat each partition (in my case I created a first partition of 100gb and a second partition of 10gb).
Once the disk is partitioned and formatted I exited the install and returned to the repair options, go to the command prompt.
My cd was E:, first partition was C: and second D:
I popped the install DVD out of the drive and inserted my DVD with the factory.wim and Imagex.exe files.
I navigated to the DVD and imagex.exe file, at the command prompt I typed.
Imagex /apply factory.wim 1 c:\
After a short while the file was installed, I did one last step.
I popped the install DVD backing and ran repair to make sure that the boot records etc were in correct.
I restarted and I was back with a fresh install of Dell software on my Dell XPS M1210
My Dell XPS
Dell XPS M1210, 2ghz Proc, 1gb Mem, 12” screen, vista ratting 4.5
I now just need to sort the left touchpad button and replace the battery
The disk was £34.90, I am hoping that ebay will come to the rescue on the battery and touch pad.
My main concern at the moment is the heat that is coming out, but a quick blast of air will I am sure keep things in check.