Hello leexor! Right-click on the Computer icon on the desktop, choose properties, click the Advanced system settings, then the Setting button under Startup and Recovery and uncheck the box to Automatically restart.
Truthfully you just purchased this system.