Windows 8 and 8.1 Forums


CMD Line To Turn Off Display

  1. #1

    CMD Line To Turn Off Display


    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 by Farquea; 14 Jan 2015 at 08:07.

      My System SpecsSystem Spec

  2. #2


    Posts : 22,564
    64-bit Windows 10


    Hello Farquea, and welcome to Eight Forums.

    You might see how this below to add "Turn Off Display" to your desktop context menu may work for you for this.

    Turn Off Display - Add to Desktop Context Menu in Windows
      My System SpecsSystem Spec

  3. #3


    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!
      My System SpecsSystem Spec

  4. #4


    Posts : 22,564
    64-bit Windows 10


    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
      My System SpecsSystem Spec

CMD Line To Turn Off Display
Related Threads
How to Add or Remove "Turn Off Display" Desktop Context Menu in Windows 7 and Windows 8 This tutorial will show you how to add "Turn Off Display" to the desktop context menu item of all users to be able to quickly turn off all connected displays at will in Windows 7 and Windows 8. You must be...
How to Turn On or Off Automatic Dim Display Brightness in Windows 8 and 8.1 The display can use more power than any other part of a PC. Reducing the display brightness level can help extend your battery life before needing to recharge. This tutorial will show you how to turn on or off to...
Hey guys, I came across the reg file on this site that allows me to turn off my display using the right click menu and it works great! However I have dual monitors and sometimes want to turn off the 2nd one only and this reg file turns off both at the same time. Can someone show me a way to turn...
Hello, I would like to ask a question about my desktop here. After upgrading to Windows 8.1, I noticed that there has been a problem with my display. It doesn't happen everytime, but randomly, when the computer is idle for 10 minutes and the screen is automatically turned off, it won't turn back on...
I upgraded to Windows 8.1 and all has been great except one thing. When I leave the computer for about 10 minutes or so, the display turns off like it is supposed to. If I want to turn the display back on though, I find I'm unable to with the mouse, keyboard, or power button. It's like it is stuck...
Hi, Font colors, line colors, shape colors, etc. in Word, PowerPoint and Visio do not display. What can the problem be? Thanks, Larry
How to Set to Turn Off the Display after Specified Time in Windows This tutorial will show you how to specify how long you are inactive on your PC before your display(s) turns off automatically in Vista, Windows 7, Windows RT, Windows 8, and Windows 8.1. When your display turns off, you...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook