L
L
lukoie2016-01-11 04:14:22
Command line
lukoie, 2016-01-11 04:14:22

How to turn off the screen in Windows with a command?

Tell me what command can I turn off the screen in Windows 10?
It is necessary that if the computer is not used, I do not turn it off, but simply turn off the screen image, but the power is supplied - so that there is sound that is fed to the monitor's speakers via hdia.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2016-01-11
@lukoie

1.WinAPI:

SendMessage(Handle,WM_SYSCONNAND,SC_MONITORPOWER,2);
2. www.powershellmagazine.com/2013/07/18/pstip-how-to...
3. www.nirsoft.net/utils/nircmd.html
nircmd.exe monitor off

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question