CMD Line To Turn Off Display

Farquea

New Member
Messages
3
Without getting into the back story of how the Windows 8.1 power options are horrific for mobile devices..... I simply want to be able to run a batch file to call the command used to turn the display off but not sleep.

Ideally i want to be able to assign this action to my physical power button on my tablet but that seems impossible to do so this is the next best thing.

If anyone can help that would be great.

Update: I found this program which allows me to at least turn the screen off easily even if its not using the physical power button (note you'll need .Net Framework installed and to run as Administrator)

Turn off your notebook LCD with one-click | Redmond Pie
 
Last edited:
Thanks Brink, I did see that which sparked my interest in that there must be a way to run it from a batch file/exe. I just edited my post with this program, however i'd still love to be able to execute this action from my physical power button!
 
If you like, you could do all of the tutorial except merging the .reg file. Afterwards, you could create a .bat file with the command below. This is the command that the context menu uses, and the .reg file just adds the context menu.

nircmd.exe cmdwait 1000 monitor off
 
Back
Top