In such cases, the first step would be to get a backup of maximum data onto some other storage devices like CDs, DVDs, USB pen drives and other such devices. Ensure that all the critical set-up like the windows operating system, hardware drivers and software CDs are at hand. Once the format is over, you need to install these again.