none
WMI reporting 64-bit data size on 32-bit Windows Server 2008 RRS feed

  • Question

  • Running the following WMI query on 32-bit Windows Server 2008:

     

    ManagementObjectSearcher mos = new ManagementObjectSearcher("SELECT DataWidth FROM CIM_Processor");

    ManagementObjectCollection moc = mos.Get();

    foreach (ManagementObject mo in moc)

    {

    bitness = mo["DataWidth"].ToString();

    }

     

    results in WMI reporting a 64-bit datawidth on 32-bit Windows Server 2008.  However, querying against "AddressWidth" instead of "DataWidth" I get back a 32-bit address width.

     

    Is this something new with Windows Server 2008 or a bug in the WMI implementation?

    Wednesday, January 14, 2009 8:50 PM

All replies

  • Hi,

     

    I have tried reproducing the same and it is giving the same behavior as you have mentioned. I am in touch with the appropriate teams to get further inputs on this.

     

    Regards,

    Pooja.

     

    Tuesday, January 27, 2009 8:49 PM
  • Hi,

    Could you please let us know why do you need to run this code?


    Regards,
    Pooja.
    Thursday, February 19, 2009 9:41 PM
  • Hi,

    It seems that the CPU is 64-bit capable and the OS is 32-bit. Since DataWidth is CPU dependent so it returns 64-bit and AddressWidth is OS dependent so it returns 32-bit. So there is no bug in this, it is expected behavior.


    Hope above clarifies.


    Regards,
    Pooja.
    Thursday, February 19, 2009 10:57 PM