[Help Us!] more of OS properties to log (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Here you go. :)
    Code:
    Windows XP Professional (Service Pack 3) x32 [5.1.2600.196608]
    REG: Cannot detect Windows Updates
    REG: Last install from WindowsUpdate is dated NEVER !!!
    COM: Last install from WindowsUpdate is dated 2014-11-15 10:34:18
    WMP (Registry): not installed
    WMP (wmp.dll): PVersion [11.0.5721.5280]
    WMP (wmp.dll): FVersion [11.0.5721.5280]
    Press any key to continue . . .
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    Server 2012 E - displays as SBS 2011 Essentials
    Unbenannt.JPG
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    Code:
    Windows 7 Professional (Service Pack 1) x64 [6.1.7601.65536]
    REG: Last install from WindowsUpdate is dated 2015-12-15 07:02:52
    COM: Last install from WindowsUpdate is dated 2015-12-15 07:02:52
    WMP (Registry): Version [12.0.7601.18840]
    WMP (wmp.dll): PVersion [12.0.7601.18840]
    WMP (wmp.dll): FVersion [12.0.7601.18840]
    Press any key to continue . . .
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    Last edited:

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    @Vasilich
    I think the reason might be described a little in the remarks:
    [collapse]
    Remarks
    To detect whether a server role or feature is installed, use the Server Feature WMI provider.

    Subsequent releases of Windows will map the product types it supports to the set of product types supported by each supported previous release of Windows, back to version 6.0.0.0. Therefore, an application that does an equality test for any of these values will continue to work on future releases, even when new product types are added.

    PRODUCT_*_SERVER_CORE values are not returned in Windows Server 2012. For example, the base server edition, Server Datacenter, is used to build the two different installation options: "full server" and "core server". With Windows Server 2012, GetProductInfo will return PRODUCT_DATACENTER regardless of the option used during product installation.

    The following table indicates the product types that were introduced in 6.1.0.0, and what they will map to if GetProductInfo is called with version 6.0.0.0 on a 6.1.0.0 system.[/collapse]
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    @mm1352000 i don't want to use WMI as it takes always too long (we don't want to wait 2 seconds just to get exact version of windows product type, do we?). Moreover, if those Product IDs can be returned from that function, why the descriptions are wrong? :)
    Don't worry, i already corrected descriptions in the code, i just don't have latest version of code here to post it here for testing (gonna do it tonight).
    It is just sometimes frustrating that documentation on MSDN get half-updated (they have inserted new product types, but haven't updated descriptions for existing ones).
    P.S. it is also funny that this WMI object they recommend to use is marked as deprecated :)
     

    Users who are viewing this thread

    Top Bottom