Skip to main content

 none
Problem with Win32_DesktopMonitor in Windows 8 platform RRS feed

  • Question

  • Hi,

    Win32_DesktopMonitor/CIM_DesktopMonitor reports <null> for Screen Height, Screen Width and few other properties in Windows 8 platform. Is there any other WMI class that will report these values in Windows 8 or is this a bug in Windows 8??

    Please Help..

    Thanks and Regards,

    Arun

    Tuesday, December 11, 2012 11:03 AM

Answers

  • Does this class give you what you need. Note the comments about display drivers. Could apply to the desktop class as well.

    CIM_VideoControllerResolution

    The CIM_VideoControllerResolution class represents the various video modes that a video controller can support. Video modes are defined by the possible horizontal and vertical resolutions, refresh rate, scan mode, and number of color settings supported by a controller. The actual resolutions in use are the values specified in the CIM_VideoController object. Starting with Windows Vista, properties of this class replace the data in Win32_DisplayConfiguration.

    Starting with Windows Vista, hardware that is not compatible with Longhorn Display Driver Model (LDDM) returns inaccurate property values for instances of this class.


    --
    .
    --
    "Arun_CSS" wrote in message news:138d387c-b222-4c9f-b3bb-c69ee890491c...

    Hi,

    Win32_DesktopMonitor/CIM_DesktopMonitor reports <null> for Screen Height, Screen Width and few other properties in Windows 8 platform. Is there any other WMI class that will report these values in Windows 8 or is this a bug in Windows 8??

    Please Help..

    Thanks and Regards,

    Arun

    Wednesday, December 12, 2012 8:11 AM

All replies

  • Does this class give you what you need. Note the comments about display drivers. Could apply to the desktop class as well.

    CIM_VideoControllerResolution

    The CIM_VideoControllerResolution class represents the various video modes that a video controller can support. Video modes are defined by the possible horizontal and vertical resolutions, refresh rate, scan mode, and number of color settings supported by a controller. The actual resolutions in use are the values specified in the CIM_VideoController object. Starting with Windows Vista, properties of this class replace the data in Win32_DisplayConfiguration.

    Starting with Windows Vista, hardware that is not compatible with Longhorn Display Driver Model (LDDM) returns inaccurate property values for instances of this class.


    --
    .
    --
    "Arun_CSS" wrote in message news:138d387c-b222-4c9f-b3bb-c69ee890491c...

    Hi,

    Win32_DesktopMonitor/CIM_DesktopMonitor reports <null> for Screen Height, Screen Width and few other properties in Windows 8 platform. Is there any other WMI class that will report these values in Windows 8 or is this a bug in Windows 8??

    Please Help..

    Thanks and Regards,

    Arun

    Wednesday, December 12, 2012 8:11 AM
  • Hi David,

    I tried CIM_VideoController in Windows8 and got most of the values as <null>. You can find the output below. Any idea why is this reporting <null> in Windows 8?? 

    D:\mbin\msdev60\bin>wbemdump /Q root\cimv2 WQL "Select * from CIM_VideoController"
    (WQL) Select * from CIM_VideoController
            AcceleratorCapabilities (CIM_UINT16 | CIM_FLAG_ARRAY/uint16)  = <null>
            AdapterCompatibility (CIM_STRING/string)  = "Intel Corporation"
            AdapterDACType (CIM_STRING/string)  = "Internal"
            AdapterRAM (CIM_UINT32/uint32)  = 1357506560 (0x50E9E800)
            Availability (CIM_UINT16/uint16)  = 8 (0x8)
            CapabilityDescriptions (CIM_STRING | CIM_FLAG_ARRAY/string)  = <null>
            Caption (CIM_STRING/string)  = "Intel(R) G41 Express Chipset (Microsoft Corporation - WDDM 1.1)"
            ColorTableEntries (CIM_UINT32/uint32)  = <null>
            ConfigManagerErrorCode (CIM_UINT32/uint32)  = 0 (0x0)
            ConfigManagerUserConfig (CIM_BOOLEAN/boolean)  = FALSE
            CreationClassName (CIM_STRING/string)  = "Win32_VideoController"
            CurrentBitsPerPixel (CIM_UINT32/uint32)  = <null>
            CurrentHorizontalResolution (CIM_UINT32/uint32)  = <null>
            CurrentNumberOfColors (CIM_UINT64/uint64)  = <null>
            CurrentNumberOfColumns (CIM_UINT32/uint32)  = <null>
            CurrentNumberOfRows (CIM_UINT32/uint32)  = <null>
            CurrentRefreshRate (CIM_UINT32/uint32)  = <null>
            CurrentScanMode (CIM_UINT16/uint16)  = <null>
            CurrentVerticalResolution (CIM_UINT32/uint32)  = <null>
            Description (CIM_STRING/string)  = "Intel(R) G41 Express Chipset (Microsoft Corporation - WDDM 1.1)"
            DeviceID (CIM_STRING/string)*  = "VideoController1"
            DeviceSpecificPens (CIM_UINT32/uint32)  = <null>
            DitherType (CIM_UINT32/uint32)  = <null>
            DriverDate (CIM_DATETIME/datetime)  = "20120324000000.000000-000"
            DriverVersion (CIM_STRING/string)  = "8.15.10.2702"
            ErrorCleared (CIM_BOOLEAN/boolean)  = <null>
            ErrorDescription (CIM_STRING/string)  = <null>
            ICMIntent (CIM_UINT32/uint32)  = <null>
            ICMMethod (CIM_UINT32/uint32)  = <null>
            InfFilename (CIM_STRING/string)  = "igdlh11.inf"
            InfSection (CIM_STRING/string)  = "iEGL0"
            InstallDate (CIM_DATETIME/datetime)  = <null>
            InstalledDisplayDrivers (CIM_STRING/string)  = "igdumd32.dll,igd10umd32.dll"
            LastErrorCode (CIM_UINT32/uint32)  = <null>
            MaxMemorySupported (CIM_UINT32/uint32)  = <null>
            MaxNumberControlled (CIM_UINT32/uint32)  = <null>
            MaxRefreshRate (CIM_UINT32/uint32)  = <null>
            MinRefreshRate (CIM_UINT32/uint32)  = <null>
            Monochrome (CIM_BOOLEAN/boolean)  = FALSE
            Name (CIM_STRING/string)  = "Intel(R) G41 Express Chipset (Microsoft Corporation - WDDM 1.1)"
            NumberOfColorPlanes (CIM_UINT16/uint16)  = <null>
            NumberOfVideoPages (CIM_UINT32/uint32)  = <null>
            PNPDeviceID (CIM_STRING/string)  = "PCI\VEN_8086&DEV_2E32&SUBSYS_305D17AA&REV_03\3&11583659&0&10"
            PowerManagementCapabilities (CIM_UINT16 | CIM_FLAG_ARRAY/uint16)  = <null>
            PowerManagementSupported (CIM_BOOLEAN/boolean)  = <null>
            ProtocolSupported (CIM_UINT16/uint16)  = <null>
            ReservedSystemPaletteEntries (CIM_UINT32/uint32)  = <null>
            SpecificationVersion (CIM_UINT32/uint32)  = <null>
            Status (CIM_STRING/string)  = "OK"
            StatusInfo (CIM_UINT16/uint16)  = <null>
            SystemCreationClassName (CIM_STRING/string)  = "Win32_ComputerSystem"
            SystemName (CIM_STRING/string)  = "HDC0005465"
            SystemPaletteEntries (CIM_UINT32/uint32)  = <null>
            TimeOfLastReset (CIM_DATETIME/datetime)  = <null>
            VideoArchitecture (CIM_UINT16/uint16)  = 5 (0x5)
            VideoMemoryType (CIM_UINT16/uint16)  = 2 (0x2)
            VideoMode (CIM_UINT16/uint16)  = <null>
            VideoModeDescription (CIM_STRING/string)  = <null>
            VideoProcessor (CIM_STRING/string)  = "Intel(R) 4 Series Express Chipset Family"

    Also CIM_VideoControllerResolution dint give me any output in WIndows 8.

    The output was like below:

    D:\mbin\msdev60\bin>wbemdump /Q root\cimv2 WQL "Select * from CIM_VideoControllerResolution"
    (WQL) Select * from CIM_VideoControllerResolution

    Both these classes gives me the expected results in Windows 7. But its not working in Windows 8. Do we have any other option? Kindly help.

    Thanks and Regards,

    Arun

    Friday, December 14, 2012 8:11 AM
  • No I don't know why. Have you tried other machines with different video drivers?

    --
    .
    --
    "Arun_CSS" wrote in message news:48012298-852f-4d43-b989-2ecc2021a686...

    Hi David,

    I tried CIM_VideoController in Windows8 and got most of the values as <null>. You can find the output below. Any idea why is this reporting <null> in Windows 8?? 

    D:\mbin\msdev60\bin>wbemdump /Q root\cimv2 WQL "Select * from CIM_VideoController"
    (WQL) Select * from CIM_VideoController
            AcceleratorCapabilities (CIM_UINT16 | CIM_FLAG_ARRAY/uint16)  = <null>
            AdapterCompatibility (CIM_STRING/string)  = "Intel Corporation"
            AdapterDACType (CIM_STRING/string)  = "Internal"
            AdapterRAM (CIM_UINT32/uint32)  = 1357506560 (0x50E9E800)
            Availability (CIM_UINT16/uint16)  = 8 (0x8)
            CapabilityDescriptions (CIM_STRING | CIM_FLAG_ARRAY/string)  = <null>
            Caption (CIM_STRING/string)  = "Intel(R) G41 Express Chipset (Microsoft Corporation - WDDM 1.1)"
            ColorTableEntries (CIM_UINT32/uint32)  = <null>
            ConfigManagerErrorCode (CIM_UINT32/uint32)  = 0 (0x0)
            ConfigManagerUserConfig (CIM_BOOLEAN/boolean)  = FALSE
            CreationClassName (CIM_STRING/string)  = "Win32_VideoController"
            CurrentBitsPerPixel (CIM_UINT32/uint32)  = <null>
            CurrentHorizontalResolution (CIM_UINT32/uint32)  = <null>
            CurrentNumberOfColors (CIM_UINT64/uint64)  = <null>
            CurrentNumberOfColumns (CIM_UINT32/uint32)  = <null>
            CurrentNumberOfRows (CIM_UINT32/uint32)  = <null>
            CurrentRefreshRate (CIM_UINT32/uint32)  = <null>
            CurrentScanMode (CIM_UINT16/uint16)  = <null>
            CurrentVerticalResolution (CIM_UINT32/uint32)  = <null>
            Description (CIM_STRING/string)  = "Intel(R) G41 Express Chipset (Microsoft Corporation - WDDM 1.1)"
            DeviceID (CIM_STRING/string)*  = "VideoController1"
            DeviceSpecificPens (CIM_UINT32/uint32)  = <null>
            DitherType (CIM_UINT32/uint32)  = <null>
            DriverDate (CIM_DATETIME/datetime)  = "20120324000000.000000-000"
            DriverVersion (CIM_STRING/string)  = "8.15.10.2702"
            ErrorCleared (CIM_BOOLEAN/boolean)  = <null>
            ErrorDescription (CIM_STRING/string)  = <null>
            ICMIntent (CIM_UINT32/uint32)  = <null>
            ICMMethod (CIM_UINT32/uint32)  = <null>
            InfFilename (CIM_STRING/string)  = "igdlh11.inf"
            InfSection (CIM_STRING/string)  = "iEGL0"
            InstallDate (CIM_DATETIME/datetime)  = <null>
            InstalledDisplayDrivers (CIM_STRING/string)  = "igdumd32.dll,igd10umd32.dll"
            LastErrorCode (CIM_UINT32/uint32)  = <null>
            MaxMemorySupported (CIM_UINT32/uint32)  = <null>
            MaxNumberControlled (CIM_UINT32/uint32)  = <null>
            MaxRefreshRate (CIM_UINT32/uint32)  = <null>
            MinRefreshRate (CIM_UINT32/uint32)  = <null>
            Monochrome (CIM_BOOLEAN/boolean)  = FALSE
            Name (CIM_STRING/string)  = "Intel(R) G41 Express Chipset (Microsoft Corporation - WDDM 1.1)"
            NumberOfColorPlanes (CIM_UINT16/uint16)  = <null>
            NumberOfVideoPages (CIM_UINT32/uint32)  = <null>
            PNPDeviceID (CIM_STRING/string)  = "PCI\VEN_8086&DEV_2E32&SUBSYS_305D17AA&REV_03\3&11583659&0&10"
            PowerManagementCapabilities (CIM_UINT16 | CIM_FLAG_ARRAY/uint16)  = <null>
            PowerManagementSupported (CIM_BOOLEAN/boolean)  = <null>
            ProtocolSupported (CIM_UINT16/uint16)  = <null>
            ReservedSystemPaletteEntries (CIM_UINT32/uint32)  = <null>
            SpecificationVersion (CIM_UINT32/uint32)  = <null>
            Status (CIM_STRING/string)  = "OK"
            StatusInfo (CIM_UINT16/uint16)  = <null>
            SystemCreationClassName (CIM_STRING/string)  = "Win32_ComputerSystem"
            SystemName (CIM_STRING/string)  = "HDC0005465"
            SystemPaletteEntries (CIM_UINT32/uint32)  = <null>
            TimeOfLastReset (CIM_DATETIME/datetime)  = <null>
            VideoArchitecture (CIM_UINT16/uint16)  = 5 (0x5)
            VideoMemoryType (CIM_UINT16/uint16)  = 2 (0x2)
            VideoMode (CIM_UINT16/uint16)  = <null>
            VideoModeDescription (CIM_STRING/string)  = <null>
            VideoProcessor (CIM_STRING/string)  = "Intel(R) 4 Series Express Chipset Family"

    Also CIM_VideoControllerResolution dint give me any output in WIndows 8.

    The output was like below:

    D:\mbin\msdev60\bin>wbemdump /Q root\cimv2 WQL "Select * from CIM_VideoControllerResolution"
    (WQL) Select * from CIM_VideoControllerResolution

    Both these classes gives me the expected results in Windows 7. But its not working in Windows 8. Do we have any other option? Kindly help.

    Thanks and Regards,

    Arun


    David Candy
    Friday, December 14, 2012 9:31 AM