You cant format the harddrive if its being used. This goes double if its your system harddrive and you are trying to format if from within the system. You need to boot from another source such as the ultimate boot disk, bart's boot disk, partition magic, windows pre-installation environment, your windows install cd ...