Laptop self shutdown

FunSurfer

Distinguished
My friend bought a new laptop with Windows 7 Premium 64-bits (not RC version). If he leaves it running for several hours like all night, it will shut down by itself. Is there a problem with this laptop or is it a Windows 7 feature? If is Windows 7 related, how can he disable it? He uses procceses that takes hours to complete and the laptop keeps shutting down on him. Any help will be highly appreciated.