Create a Batch File anywhere you like .
- Paste the following line into the text file:
- rundll32.exe powrprof.dll,SetSuspendState 0,1,0
- Save the file with a name like "Sleep.bat" and ensure "Save as type" is set to "All Files (.)". Now, right-click on the "Sleep.bat" file and choose "Properties." Go to the "Shortcut" tab. In the "Shortcut key" field, press the desired key combination (e.g., Ctrl+Alt+ =) Click "Apply" and "OK" to save the shortcut key.
- press Ctrl+Alt+ =, the batch file will execute and put your PC to sleep.