Lots of people report that while doing there work, there pc suddenly boot. And all work that they have done get lost. Secondly it's very annoying . So i found different reasons of sudden PC boot.
+Hardware Reasons:
Voltage Fluctuation:-
Sudden change in Voltages cause the pc boot. To solve this problem use Stabilizers so that they step-up the Voltages
Processor's Fan:-
If Fan which is located on Processor is not working then process get over heated and cause random boot after every 2.5 Minutes.
Cracked Power Supply:-
I the power supply 230V is cracked from some where then it will also cause the same problem. Use multimeter, fix it to Ohm scale to check the cable.
Loose Socket:-
Loose socket result in sparking and random boot. It's very dangerous, fix it immediately.
+Software Reasons:
Many viruses are designed to boot PC again and again to make user annoy and result in data lost.
Many people reported that they used Alcohol 120% keygen and there PC start booting randomly. It's mean the keygen is infected with some virus.
Command:-
A batch command is basically used to reboot PC.
Shutdown -s -t 0 -f