First of all, insert the Windows XP or Vista disc into your CD/DVD player, and restart the computer. Make sure the disc has the same version of Windows XP, if you are using the product key from an older install.
In case you are going to install Windows Vista, there is nothing to worry about, because all Vista discs are identical as far as the installation key is concerned.
Ready for a black screen with a message ‘"Press any key to boot from CD." Restart your machine if you find no message of this nature.
Press any key to boot from CD, and subsequently push the F8 key to reach the main boot menu. Select the option that says “Boot from CD" to proceed.
A blue screen will appear in front of you. The computer will then come up with the available partitions. You are supposed to delete them all. Push ‘D’ key to delete, and ‘L’ key to confirm.
Now you have only one ‘unpartitioned space’ option. Press ‘Enter’ to move ahead.
Once the next screen appears, choose to format using the NTFS file system. This will initiate installation process of the operating system. The computer will reboot itself when it is completed. You are supposed to press ‘NO KEY’ while the system reboots.
It is the time to input your product key. You will easily find this key on the CD case. Use your keyboard to input the key, and click ‘Next’ afterwards.
After selecting the TimeZone from the drop-down menu, choose a name for your account.
Select ‘Typical’ if the procedure takes you to the ‘Network Settings’.
Now wait for the system to install necessary files. To finish off the proceeding, register your copy of Windows.
Now remove the Windows CD, and insert the ‘Drivers’ disc to install derivers. The computer may have installed all the required drivers from the Windows disc.