bat ending):Ĭ:\Windows\System32\powercfg.exe -Change -monitor-timeout-dc 1Ĭ:\Windows\System32\powercfg.exe -Change -monitor-timeout-ac 1 As Sushonon Sinha writes on Microsoft, you'll need to create a batch file (copy and paste the code below into Notepad, then save the file with a. On Windows, unfortunately, you have to use a workaround. On newer Macs that don't have optical drives, try Control + Shift + Power. On Macs, luckily the shortcut is built-in: Hit Control + Shift + Eject.
Let's say you want to put your computer monitor(s) to sleep without putting the entire computer to sleep, for example, if you're downloading something overnight or otherwise need the computer on but not the display.