0

Whenever I lock my computer, I would expect the screen to switch off after a little while, at least I think that's how it used to work. But for some time now, Windows 10 is no longer doing this, the screen will stay on even after several hours.

Any idea how to make it switch off the screen after the computer is locked (after a minute or two for example).

2
  • Have you tried to switch to another power profile or create one from scratch?
    – Kitet
    Sep 7, 2017 at 13:53
  • Have you configured your power plan to turn the monitor off?
    – Ramhound
    Sep 8, 2017 at 19:22

1 Answer 1

1

There is a workaround mentioned here: How to lock Windows 10 and turn off the display with one click

It involves using a script to provide the functionality to simultaneously lock your PC and turn off the monitor instantly.

Requirements

  • A freeware tool, Nirsoft Nircmd, which allows you to control various OS and features from the command line.

Workthrough

  • Create a create a new *.VBS file using notepad.

  • Copy and paste the following text into Notepad:


`'Lock PC and Turn off Display
'************************

Dim WSHShell

Set WSHShell=WScript.CreateObject("WScript.Shell")

WSHShell.Run "Rundll32.exe user32.dll,LockWorkStation", 0

WSHShell.Run "nircmd.exe monitor async_off", 0`
  • In Notepad, click File menu -> Save item. The "Save as" dialog will appear. Browse for the desired folder wish to store the script and type "lock.vbs" with quotes in the File Name text box (the double quotes are that the file gets directly saved as "lock.vbs" and not "lock.vbs.txt"):

  • Put nircmd.exe you downloaded earlier in the same folder. You can also copy the NirCmd.exe into your directory. This is important so that all scripts can easily find its EXE file.

Now double click the "lock.vbs" file. You Windows 10 PC will be locked and the screen will be turned off.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .