Multi-OEM/Retail Project {MRP} - Mk3

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

  1. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    @mxman2k may i ask what wmic get command is used to gather the '#14 License Status..' error code value?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    The status reason numbers?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Yep. Exactly those in the curly brackets.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    Code:
    set "slp=SoftwareLicensingProduct"
    for /f "tokens=2 delims== " %%A in ('"wmic path %slp% where (Name LIKE '%%Windows%%' and PartialProductKey is not null) get LicenseStatusReason /format:list" 2^>nul') do set "statusreason=%%A"
    The statusreason returned is a decimal value which you can convert to hex using the exitcode trick :)

    call cmd /c exit /b %statusreason%
    set "SR_Hex=%=exitcode%"

    The QT/MRP parses a ini file with the numbers to then obtain the text to display.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Yeah, was the missing link. Wasn't sure if that dec is converted to hex here, thanks for clarification :good3:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    The dec numbers can get quite large so converting to hex makes managing them a lot easier lol

    1074066433 -> 0x4004F401 => Digital/Store License.

    I have almost 500 reason codes in the database, granted not all are used but it covers majority of the 'reasons' from invalid keys, tampering, kms problems etc.

    If you wish i can pm you the list i have so far.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    rs5_release ooh they moved it from pre-release... :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,548
    450
    Yep, now they are splitting FAST SKIP and Current Development again.
     
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    QT 62.5 has been uploaded, 2nd post updated with new download link, password and hashes. :)

    There are now two versions within the QT archive/folder. You can use either they both give same saved results.

    + MRPQTGvxx.x.exe is the new GUI version, you are asked if you wish to use the new GUI or the old display. If the GUI reader is missing -- if an AV removes it then the QT will auto switch to the old display method. Also the GUI checks what OS is installed and adjusts the font. Experimental at moment.

    Consolas for Windows 10 kernels and all others will use Lucinda Console if neither can be used then it will try another font then give up and show a message box that it failed to find a suitable font to use. Your saved QT report should still be saved to your desktop.

    + MRPQTNPvxx.x.exe is the Notepad version.

    + The QT now will display the last 5 digits of the product key in the saved report, this is to help with KMS or other issues for other threads on MDL.

    + Updated Reason Codes database.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    MAK key detected. ??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    MAK keys cant be obtained from registry as it stores them as BBBBB 's hence why it says unsupported.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,548
    450
    Yes, that was it, i did read that before :)
     
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    i done the two types to see which works best, i prefer the GUI one (just got to make sure it works properly on all languages).

    At least people can have a choice :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    Using your MRPQTG or NP v62.5 with new GUI results in alot of errors

    ERROR
    Description = Not found

    or

    ERROR
    Description = Invalid message/description

    Also

    <null> message and an error code right after choosing display mode


    Laptop is a Packard Bell EasyNote TE69KB
     
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    strange code not changed much from 62.4 :g:

    AV interfering ?

    Defender being its usual self and removing files?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,548
    450