It may be just a power setting that needs to be altered. Hibernate, Sleep, Switch on, Switch off, and which devices trigger those settings (mouse, inactivity, wake on lan, etc etc.)
Are you still able to boot up into Windows? is it Windows 7 or 8 or 8.1 ?
Please tell us what the present Power Settings are in the BIOS and also in Windows.