To change your computer’s sleep mode settings, you can use Command Prompt. Here are the steps:
- Open the Command Prompt window
- Type this command in the command prompt window: powercfg -h off
- Press Enter to save the command
- Restart your computer for the changes to take effect