1

I'm using Caffeine to keep Windows from auto-locking due to domain-enforced GPO settings. When taking a long break, I will manually switch off my external monitor, using the physical power button. However, Windows will switch on my laptop monitor instead (disable multi monitor mode).

Is there a simple way to put a black screensaver, on demand? Windows default screensaver settings obviously doesn't work in this case, because I'm using Caffeine and it will never get activated.

tinker
  • 350

3 Answers3

2

Create a batch file containing the Screen Saver command. The command should look like %systemroot%\system32\scrnsave.scr /s. This command starts the screen saver program which defaults to a black screen.

If you want something more complex I would advise you to take a look at NirCmd. This utility gives you the ability to do random miscellaneous stuff in Windows from the command line and therefore also from scripts. The monitor command might be of interest to you but I am not sure how it will behave on your laptop.

1

Multiscreen Blank

This neat app solves the problem perfectly. I can simply right click and blacken all monitors on demand.

enter image description here

enter image description here

Apparently, you can use it to block out certain parts of the screen if you're the kind that is easily distracted by blinking lights. Or just to avoid information overload. Check out the "New Scrap" function.

tinker
  • 350
1

Found a couple of excellent solutions here, How can I make my screen blank by a shortcut? I'm using the suggestion by user Polynomial.

Simply run this command to activate the default screensaver (set to blank screen prior),

cmd /c scrnsave.scr /s

In autohotkey, mapped to a shortcut,

Capslock & f4:: Run cmd /c scrnsave.scr /s

I tried the other methods, but they will all lock the screen. I don't want that to happen.

1) SendMessage 0x112, 0xF170, 2,,Program Manager
2) nircmd.exe monitor off
3) nircmd.exe screensaver
tinker
  • 350