My computer shuts down when windows boot and restart it self (this started when I installed a new hard drive and upgraded my RAM) please help
Windows generally crashes on faulty system drivers. Try booting in safe mode. If that works, you know it's a driver.
Well, does it give an error message when it restarts? Do you get an error message when you successfully boot Windows? IMO, you should check the event log just in case. Probably it's something to do with your new hardware.
Check your system event log in your computer management (My Computer -> Manage -> Logs (I think) -> System). There you can find any errors with your hardware.