0

I use TeamViewer a lot in Windows 7 and I want to know current status of my monitor. Is there a command or software to check if a computer screen is on or off.

3
  • The status of the remote host machine's monitor? This isn't really something Windows is aware of, and there isn't exactly, an API that exists.
    – Ramhound
    Jun 28, 2016 at 23:54
  • Of course it doesn't matter Teamviewer already has a [solution]](superuser.com/questions/440148/…) for you
    – Ramhound
    Jun 28, 2016 at 23:55
  • You might be able to use the WMI Win32_DesktopMonitor class which has a property called "Availability" to determine if the monitor is on or not. This answer provides you with some VBScript which can be used to test to see if that property works with your monitor.
    – Richard
    Mar 8, 2021 at 15:17

2 Answers 2

0
  1. Right Click the computer you want to edit
  2. Click Properties
  3. Click Advanced (lower left)
  4. Click Drop Down under Remote Input (bottom right)
  5. Select "Disable Remote Input and Show Black Screen"
  6. Log into remote computer from another Desktop edition of TeamViewer and accept the video driver TeamViewer offers
0

Try to run following command to query the monitor status:

wmic path win32_desktopmonitor GET Availability
  • 3 means Running/Full Power
  • 8 means off

But based on my experience, not all monitor supports this API, you can check it on your pc.

More information refer to this official Microsoft document.

You must log in to answer this question.

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