1. Ask your friend what's wrong. It was his PC and he might know. A possible cause is that the CPU overheats due to lack of cooling. Do I understand correctly that he gave you a broken PC?
2. When it runs again, download Belarc Advisor or Everest to show you all you want to know.
I got my friends used pc for myself but its not starting. When ever i press the power button, it starts for a couple of seconds then automatically turns off. What would be the problem??
Secondly i want to know what is the configuration of the pc, i just know that it has 2gb RAM and an ASUS Motherboard.