1. Open the Control Panel > Hardware and Sound.
2. Power Options > Change what the power buttons do.
3. Click the drop-down box behind the option "When I press the power button" to select the function you want to set for the power button.
1. Open the Control Panel > Hardware and Sound.
2. Power Options > Change what the power buttons do.
3. Click the drop-down box behind the option "When I press the power button" to select the function you want to set for the power button.