Detect if Notebook lid closed

This topic contains 3 replies, has 2 voices, and was last updated by  David Zemdegs 4 years, 7 months ago.

  • Author
  • #11579

    David Zemdegs


    I am working on an OSD Task sequence which does BIOS updates. On these machines the BIOS updates fail if the notebook lid is closed. I wanted to find a programmatic way of determining if the lid is closed. I have found reference to a WMI event that one can monitor to detect lid changes (opening closing) but its not the change of state I want, I need to just check if it is currently closed. Anyone have a possible solution?
    David Z

  • #11581

    Don Jones

    That's going to be entirely vendor-specific. The hardware itself, via a driver, would have to raise that information – and exactly how it does so may or may not use that WMI element. Your best bet would be to contact your hardware vendor.

  • #11587

    David Zemdegs

    Thanks – I thought it might be a standard WMI thing. I'll see if I can find out more from Dell.

  • #11588

    David Zemdegs

    Dont know if this will have what I need but Im gald I looked for it as we have all Dells....

You must be logged in to reply to this topic.