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

    Joined:
    Aug 15, 2012
    Messages:
    16,130
    Likes Received:
    24,279
    Trophy Points:
    340
    @mxman2k may i ask what wmic get command is used to gather the '#14 License Status..' error code value?
     
  2. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    The status reason numbers?
     
  3. s1ave77

    s1ave77 Has left at his own request

    Joined:
    Aug 15, 2012
    Messages:
    16,130
    Likes Received:
    24,279
    Trophy Points:
    340
    Yep. Exactly those in the curly brackets.
     
  4. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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.
     
  5. s1ave77

    s1ave77 Has left at his own request

    Joined:
    Aug 15, 2012
    Messages:
    16,130
    Likes Received:
    24,279
    Trophy Points:
    340
    Yeah, was the missing link. Wasn't sure if that dec is converted to hex here, thanks for clarification :good3:.
     
  6. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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.
     
  7. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,566
    Likes Received:
    59,628
    Trophy Points:
    450
  8. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    rs5_release ooh they moved it from pre-release... :)
     
  9. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,566
    Likes Received:
    59,628
    Trophy Points:
    450
    Yep, now they are splitting FAST SKIP and Current Development again.
     
  10. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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.
     
  11. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,566
    Likes Received:
    59,628
    Trophy Points:
    450
  12. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    MAK key detected. ??
     
  13. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,566
    Likes Received:
    59,628
    Trophy Points:
    450
  14. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    MAK keys cant be obtained from registry as it stores them as BBBBB 's hence why it says unsupported.
     
  15. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,566
    Likes Received:
    59,628
    Trophy Points:
    450
    Yes, that was it, i did read that before :)
     
  16. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,566
    Likes Received:
    59,628
    Trophy Points:
    450
  17. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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
     
  18. tcntad

    tcntad MDL Guru

    Joined:
    Oct 26, 2009
    Messages:
    4,227
    Likes Received:
    1,367
    Trophy Points:
    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
     
  19. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    strange code not changed much from 62.4 :g:

    AV interfering ?

    Defender being its usual self and removing files?
     
  20. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,566
    Likes Received:
    59,628
    Trophy Points:
    450