Skip to content
Advertisement

How to turn off monitor power programmatically in windows 10 if power button is broken

The power button on my second monitor is broken. I’m tired of manually unplugging the cable from the monitor. What do I want is to write a small app (Java, C#, or PowerShell script) that will turn the second monitor off and back on. I googled my problem and found a script that can put the monitor into sleep mode. But that’s not exactly what I need.

Advertisement

Answer

So the answer is that you can’t turn off the power source for your monitor programmatically if the monitor has two cables – one for PC and another for power.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement