Programatically detect whether Windows image itself is OEM vs generic

Discussion in 'Windows 10' started by Olliw, Sep 17, 2019.

  1. Olliw

    Olliw MDL Member

    Mar 17, 2010
    Is there any way to detect if a live Windows 10 install/ image is provided by a OEM, vs. being a generic Windows 10 image straight from Microsoft? I'm not talking about activation key, that one I have:
    Get-WmiObject -Query 'Select * from SoftwareLicensingService' | Select-Object -ExpandProperty 'OA3xOriginalProductKey'
    • PowerShell is preferred language for this sort of task.
    • Need to be able to detect this programatically for assessments, as we see that Intune enrollment often fail if client is running a Lenovo OEM image for instance.
    • Will update this thread if I figure this out myself.
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    Afaik, after a key is installed you can't check the original channel anymore, or there must be a history to check.

    "Generic" customer (consumer) windows 8.1/10 ISOs are OEMRET, they pick up the MSDM for setup and activation by default.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...