First can you even log into the computer
Second if so. Follow the instructions provided by the post above
Third If you cant log into the PC. Use your Windows CD-DVD to enter the repair system then from there you can choose to restore your pc.
The Third method is always the way on Vista Ultimate and business to do a Complete computer restore. This entitles A back up image from an external Drive.
Hope this helps out.