So you either have created a bad set of Restore Discs or didn't create any at all (shame on you) and need to restore your Toshiba Laptop to factory condition. This is a method will allow you to perform a factory restore without the DVD's. Hat tip to NextClick on msfn.org for the info on this helpful procedure.
This is assuming that the original hard drive is still readable.
Boot the PC using a Linux Live CD and copy the directory that contains the .SWM files off the hidden recovery partition to a USB drive. Also copy the program imagex.exe to the same directory. imagex.exe is part of the Windows 7 Automated Install kit and can be downloaded from Microsoft http://www.microsoft.com/en-us/download/details.aspx?id=5753 .
You will also need a Windows 7 repair CD to launch the imagex.exe application
Here are the instructions for performing a Factory Restore:
****WARNING THIS WILL ERASE EVERYTHING ON YOUR HARD DRIVE***
- Insert the Repair CD into the CD Drive and the USB drive into a USB port then power on the PC. Tap the F12 key until you are in the boot menu. Select the CD / DVD drive from the list.
- When prompted to press any key on the keyboard to boot the CD. You will be prompted to select a language (default is US) click Next.
- From System Recovery Options select 'Use recovery tools that can help fix problems starting Windows'.
- Select Command Prompt
- In the Command Window type DISKPART
- From the DISKPART prompt type 'list volume' without the quotes and take note of the drive letter for your USB drive. It will likely be 'F'. Then type exit.
- Type the drive letter followed by : (ex: f:) to get to the recovery files
- use the cd command to get into the directory containing the .SWM recovery files (ex: cd ZZIMAGES\ZZIMAGES\) you can use the dir command to see a list of files in the directory you are currently in.
- Once in the appropriate directory run the following command:“imagex /ref PREINST*.SWM /apply PREINST.swm 1 c:\”This will write the factory drive image to your hard drive ERASING all data currently on the drive.
- When process completes type 'exit' to close the command window.
- Next run 'Startup Repair' from the menu then restart your computer. The computer will boot and run through the setup routine just like when it was new.