I have tried both vista and windows 7. I have gotten a new hard drive and it does the same thing. Not sure where to go from here to get windows loaded.
Did the PC have vista/7 on it before? If not, is it compatible? Do you meet the minimum requirements for the OS?
I see issues related to energy management, make sure turn off hard drive is disabled. Since you don't have a OS installed check the bios settings. You can always turn it on later.
Might be problem with RAM as commented bu Rudolph.
But, I cannot really say much without knowing why the blue screen occurs. Read the STOP error message. Its is in CAPITAL letters and usually in first few lines on the text.
and corresponding error code is:
also note the STOP error code and refer this page to get exact error.
Also go through this page which lists most common causes of blue screen and associated messages/codes.