Which windows event is triggered by secondary display device detection

BSchwarz

Administrator
Joined
Sep 26, 2003
Messages
1,918
Location
Florida U.S.A.
I want to schedule a windows task to run when a secondary output device (e.g., VGA monitor or HDMI A/V receiver is turned on or off) but I'm not sure which event should be used for this. I found something related to network cable plug/unplug here How to launch a command on network connection/disconnection? basically, the event is

  • Log: Microsoft-Windows-NetworkProfile/Operational
  • Source: NetworkProfile
  • Event ID: 10000 for connect and 10001 for disconnect

but couldn't find anything for external audio/video devices. Any such event or events exist? If not, any other way to do this? Thanks


More...
 
Back
Top