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.
Asked
Active
Viewed 5,380 times
0
-
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 '16 at 23:54
-
Of course it doesn't matter Teamviewer already has a [solution]](http://superuser.com/questions/440148/teamviewer-without-showing-the-screen/705663) for you – Ramhound Jun 28 '16 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](https://superuser.com/questions/969610/sleep-htpc-when-monitor-is-off/1243906#1243906) provides you with some VBScript which can be used to test to see if that property works with your monitor. – Richard Mar 08 '21 at 15:17
2 Answers
0
- Right Click the computer you want to edit
- Click Properties
- Click Advanced (lower left)
- Click Drop Down under Remote Input (bottom right)
- Select "Disable Remote Input and Show Black Screen"
- Log into remote computer from another Desktop edition of TeamViewer and accept the video driver TeamViewer offers
Giacomo1968
- 53,069
- 19
- 162
- 212
Rohit kumar
- 362
- 1
- 8
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.
Giacomo1968
- 53,069
- 19
- 162
- 212
Kevin Tu
- 119
- 3