Multi-OEM/Retail Project {MRP} - Mk3

Discussion in 'MDL Projects and Applications' started by mxman2k, Oct 15, 2016.

  1. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    Sadly most checkers are GUI type and not have a CLI version :( so had to write one, it seems ok, just needs more testing.:D

    For use with MRP i pass the MSDM key detected and the OS kernel number 8, 8.1 or 10 that is installed, then check against the pidgen stuff that returns what Edition the key is for, check against the OS installed if matches use the key, if not ignore it as the user has installed say Pro on a PC that has MSDM key for Core.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. fabricioinsider2

    fabricioinsider2 MDL Novice

    Oct 13, 2016
    1
    0
    0
    Hi, I'm here to ask you to add a brand in the OEM design to PCWARE brand, thank you
     
  3. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    HP Wallpaper has an error.

    Wallpaper.jpg
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. apologized

    apologized MDL Addicted

    Nov 29, 2012
    874
    507
    30
    nop already tested 2 real HP machine everything work fine on Win7 OS :confused:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    Win 10 Pro 64 bit
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    Bad display driver for that windows version (10). Check oem manufacturer for updated driver or rollback to earlier version. My HP did the same thing.
     
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    Built my new test rig :D Interestingly the refresh RS1 Jan ISO works perfectly with MRP, the lock/login screens are in place! Think the old Acer PC has a few problems.

    Have been messing about with the PIDkey checker, no matter how hard i try to speed up the processing, it still takes about 1 minute to pull out the Edition ID grr, i have to do a loop back to test if the key is 8.x so in total two minutes if the Edition is not identified on the first pass. :( :weep:

    Might have to pass on that, pity would of been a very useful addition to be able to check the MSDM key against the OS installed to see if it for that Edition.

    How the other GUI PiD checkers can whizz through a check in less than a second i have no idea!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    #568 s1ave77, Feb 13, 2017
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    I was using AutoIT and using pidgenx.dll and the pkey.xrm-ms files, gez its slow decoding, works yes will grant it that, but upto 2 mins was a bit much to a double pass if key not match OS/kernel.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    #570 mxman2k, Feb 13, 2017
    Last edited: Feb 13, 2017
    (OP)
    Does the keyinfo program accept command line? as this is what i need for MRP , pass the MSDM key to it and it returns what edition, which then i can check if it is the one being installed.

    Edit it does nice! Will have a play about, i can parse the xml for the 4 digit code... When i can decode that lol.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Jachra

    Jachra MDL Member

    Apr 5, 2010
    184
    55
    10
    #572 Jachra, Feb 14, 2017
    Last edited by a moderator: Apr 20, 2017
    Remember that Edition ID is not just 4 digits. It may be longer. But you can parse the XML and use the Activation ID to get the Edition ID. Also the Extended PID has the Edition PID in the second block.

    Sample vbs.code you can parse through with cscript getactid.vbs //nologo

    Code:
    strComputer = "."
    
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colItems = objWMIService.ExecQuery("Select * from SoftwareLicensingProduct")
    
    For Each objItem in colItems
    If NOT objItem.ProductKeyID = "null" Then
    Wscript.Echo "Extend PID: " & objItem.ProductKeyID
    Wscript.Echo "Windows Family: " & objItem.LicenseFamily
    Wscript.Echo "Windows Type: " & objItem.ProductKeyChannel
    Wscript.Echo "Activation ID: " & objItem.ID
    Exit For
    End If
    Next
    
     
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    After much tweaking and finding what code does what, I have thrown together a simple MSDM checker for MRP.

    It does not use XML files, i use another simpler method, took a while to put it together and it may not be 100% perfect.

    I will create a special test QTool later today with the additional MSDM check so that it will help determine if the process is correct then if it works implement it into MRP itself.

    If this all goes to plan then MRP will be more intelligent with MSDM keys and not insert the incorrect Edition key for a different installed OS like it does at present.

    More details later...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    #574 mxman2k, Feb 14, 2017
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Ok Here is the first test of the QT with the MSDM Edition info.

    Code:
    Size (Compressed) 137.67 KB
    
    REMOVED FOR NOW
    
    
    For MSDM computers!!

    No other changes made. So running this on a non MSDM PC will give results as normal. For those with the table in the bios you *should* get another #11 line with the right info for the key. Fingers crossed!

    It may need tweaking as I have not had time to do a test on a MSDM PC yet. So your my 'beta' testers. :p

    Saving the results will NOT show the MSDM key as before, ONLY the Edition information.

    NOTE: You will need the vcredist_x64.exe or vcredist_x86.exe files installed, or you will get a MSVCD110.DLL error.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,556
    15,642
    270
    Pitty I don't have an oem one, arrrrgh!
     
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    I got a Lenovo Thinkthing on W10 home but the damn psu's packed up :( and as always it a non standard type of PSU so can't connect a normal ATX one as the cables all different.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,556
    15,642
    270
    :frustration: :tooth:
     
  18. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    Sure is, set the PC all up , switched on, a fizzle and a smoke filled room lol. Will see if i can 'bodge' a ATX 24pin to Lenovo 10pin connector.:eek: If im not back i blew it up and me with it lol
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,556
    15,642
    270
    WTH? hahahaha
    You're gonna blow up your place bro...
     
  20. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    Luckily it not gone bang! Back in business. Now to test QT15b2...

    Hmm needs MSVCP110.dll :weep:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...