Question Turning off the monitor

May 14, 2024
17
0
10
Is there any program or way to turn off the monitor? I know the NirCmd program https://www.nirsoft.net/utils/nircmd.html and the monitor turns off with the command %windir%\nircmd.exe monitor async_off or with the AutoHotHey program using code
#Persistent
SetTimer, IdleCheck,
Input, Key, L1, {LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{RWin}{AppsKey}{F1}{F2}{F3}{F4}{F5}{F6 }{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{ BS}{CapsLock}{NumLock}{PrintScreen}{Pause}
Sleep, 0
ExitApp
Return
IdleCheck:
SendMessage,0x112,0xF170,2,,Program Manager
ReturnP

or other programs such as ScreenOff 2.1 or Screen Off 1.0.0.0 or MonitorOff, but sometimes it happens that when you use any program to turn off the monitor, the screen turns off for a fraction of a second and then turns back on again, and so on. Something then blocks Windows, but I noticed that when a more important system process is disabled in the task manager, the monitor normally turns off, but after some time it happens again and another system process has to be disabled. And almost all mice have this drawback - even when you don't move it or even touch it, they often move the cursor by 1 millimeter or more and that's enough for the screen to turn on again.
Windows 10 22H2 Pro 64 bit PL