Control Panel > Power Options > "Choose what the power bottons do" in the left panel and:
You can do this in Windows 8 too |
For more info:
http://blogs.msdn.com/b/b8/archive/2011/09/08/delivering-fast-boot-times-in-windows-8.aspx
You can do this in Windows 8 too |