How to create hotkeys for Windows sleep and shutdown

Your computer has one, and maybe two, special buttons that you can configure for just these purposes. In addition, you can create shortcuts for these tasks, and assign hotkeys to the shortcuts.
Let’s start with the special buttons that already exist.
In Windows 7, click Start, or in Windows 8, go to the Search charm. Once there, type power, and select Power Options. In the resulting Control Panel window’s left pane, select Choose what the power buttons do. Read More