pkeyconfig Info Reader +Plus+ [v17.0]

Discussion in 'MDL Projects and Applications' started by Dark Vador, Apr 22, 2024.

  1. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    Interesting
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #122 Dark Vador, Jun 16, 2025
    Last edited: Jun 16, 2025
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #123 Dark Vador, Jun 17, 2025
    Last edited: Jun 17, 2025
    (OP)
    Test version with new about option --> All using SLC api.
    only for Products with PKEY --> Activated or not. not matter,
    for normal human, only for Version who have install key
    beta version uploaded, more error decode.
    there is still some problem, wmi say 180 days
    api say, not licensed ? wtf ? need few tests

    upload_2025-6-17_19-45-50.png

    upload_2025-6-17_19-46-1.png
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #124 Dark Vador, Jun 18, 2025
    Last edited: Jun 18, 2025
    (OP)
    v16.0.0 [compiled at 18-06-25]
    Code:
    * Add Status info for Active license's only,
      With lot of extra extra license status information
    * Use MRP SL ERROR file RCodes.ini,
      to expend error list database
    * Add wmi window, details for every SKU in system
    * Add alternative Get-OA3xOriginalProductKey method 
    * Update fetch method, now show ESU & Other products well,
      Also use short `name` from PKEYCONFIG file
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Look better --> Test version, attached.
    also, show SHort 180 day, 38, 4K, or other type of license
    using api, no wmi attached. origional name from WMI class.
    also, it show enum text value of license, not 0,2,3,5
    Also, i use MRP SL error file, to get more SL error messege info

    next step, i want make another form,
    list of wmi, and information per WMI.

    upload_2025-6-18_10-5-18.png

    upload_2025-6-18_10-4-53.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mephistooo2

    mephistooo2 MDL Junior Member

    Feb 5, 2008
    90
    148
    0
    #125 mephistooo2, Jun 18, 2025
    Last edited: Jun 18, 2025
    While the Office product is selected, the 'License Info' tab gives the message "Valid key for product's licensing channel was used for activation", the 'Genuine Info' tab gives the message 'The Software Licensing Service reported that the product key is invalid for this Windows edition.'

    isn't this a contradiction?

    Office and Windows products are activated with the TSF method.

    License Info.jpg

    Genuine Info.jpg
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #126 Dark Vador, Jun 18, 2025
    Last edited: Jun 18, 2025
    (OP)
    this is 2 diffrent api, intersting
    My thoughts, TSForge, so technically it can't be activated
    So you get an error, but it activated in store file
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    v16.0.3 [compiled at 20-06-25]
    Code:
    * Add Status info for Active license's only,
      With lot of extra extra license status information
    * Use MRP SL ERROR file RCodes.ini,
      to expend error list database
    * Add wmi window, details for every SKU in system
    * Add alternative Get-OA3xOriginalProductKey method 
    * Update fetch method, now show ESU & Other products well,
      Also use short `name` from PKEYCONFIG file
    * Bug fix in KMS38/HWID, cau`se the script to hang out
    * Update Parameters XOR logic of For All Function, 
      Who, Include 2 Or more Option
    * Get-SLIDList, Major update,
      User firendly parameter error info, Also,
      Now can use [eQueryIdType]::SL_ID_APPLICATION -> Without `-pQueryId`
      Will ENUM data using Hardcoded know'e'n App GUID instead
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. haber123

    haber123 MDL Member

    Nov 5, 2009
    108
    44
    10
    Where can I find what the different fields are and the constrains to them? Like GUID, everything I try is invalid. Or secret. Most numbers work, leave it blank and then decode sn and secrets are like this "8541687472598409", but what is the range, accepted values? What governs an upgrade key? Just curious trying to understand this.
     
  9. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #129 Dark Vador, Jun 20, 2025
    Last edited: Jun 20, 2025
    (OP)
    Only Ms know it, But specific-
    there is range option For each sku,
    find it in the config file

    upload_2025-6-20_20-6-36.png

    and if you type this ->
    Code:
    # Line 9713 - remove part of >> `| select -First 1`
    GenerateConfigList -pkeyconfig "$env:windir\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms" -SkipKey $true | % {
        Write-Host;
        Write-Host SKU ($_).ActConfigId;
        Write-Host "Range $(($_).KeyRanges.Ranges.Count)";
        ($_).KeyRanges.ToString()
    }
    }
    upload_2025-6-20_20-21-58.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. haber123

    haber123 MDL Member

    Nov 5, 2009
    108
    44
    10
    Interesting. I saw somewhere that ID was a vender code, like dell or hp. Is there a way to generate license key from ePID, like 06401-04919-026-664503-02-1033-26100.0000-2912024 (generated from CZ-ePID gen 2.1.5)?
     
  11. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #131 Dark Vador, Jun 21, 2025
    Last edited: Jun 21, 2025
    (OP)
    upload improved version,
    that start look like origional WMI search
    All properties show work, like wmi, just with SL-API
    thank aboody for help with some hard to find properties
    its not like MS give lot of info.

    Code:
    # ***************************** #
    #  v16.0.5 compiled at 21-06-25 #
    # ***************************** #
    
    <#
    * Add Status info for Active license's only,
      With lot of extra extra license status information
    * Use MRP SL ERROR file RCodes.ini,
      to expend error list database
    * Add wmi window, details for every SKU in system
    * Add alternative Get-OA3xOriginalProductKey method 
    * Update fetch method, now show ESU & Other products well,
      Also use short `name` from PKEYCONFIG file
    * Bug fix in KMS38/HWID, cau`se the script to hang out
    * Update Parameters XOR logic of For All Function, 
      Who, Include 2 Or more Option
    * Get-SLIDList, Major update,
      User firendly parameter error info, Also,
      Now can use [eQueryIdType]::SL_ID_APPLICATION -> Without `-pQueryId`
      Will ENUM data using Hardcoded know'e'n App GUID instead
    * Add extra Item's in WMI info windows, like,
      DiscoveredKeyManagement*, KeyManagementService*,
      OfflineInstallationId, ExtendedGrace
      (thanks abbody1406 for some missing key's)
    * Encode Window, Encode by -> Product Name,
      Filter out match key's, so result's better now
    * Add extra WMI info, 
      using extract data from SPP* Files
    #>
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #132 Dark Vador, Jun 22, 2025
    Last edited: Jun 22, 2025
    (OP)
    that nice :D
    attached file for testing purposes
    offset its must, otherwise, it will continue forever
    20,000 to 50,000, its fair number
    Anyway, selected number will copied to clipboard

    upload_2025-6-22_9-28-19.png

    upload_2025-6-22_9-49-48.png
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Low Level Perform

    Low Level Perform MDL Member

    Jul 21, 2024
    100
    95
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #134 Dark Vador, Jun 22, 2025
    Last edited: Jun 22, 2025
    (OP)
    when it happen, before you press, or after,

    Edit. try this fix.
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Low Level Perform

    Low Level Perform MDL Member

    Jul 21, 2024
    100
    95
    10
    after press
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    did you check the fix file, should fix it
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Low Level Perform

    Low Level Perform MDL Member

    Jul 21, 2024
    100
    95
    10
    I'm still getting an error when I click "Value."
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #138 Dark Vador, Jun 22, 2025
    Last edited: Jun 22, 2025
    (OP)
    Code:
    # ***************************** #
    #  v16.0.6 compiled at 22-06-25 #
    # ***************************** #
    
    <#
    * Add extra Item's in WMI info windows, like,
      DiscoveredKeyManagement*, KeyManagementService*,
      OfflineInstallationId, ExtendedGrace
      (thanks abbody1406 for some missing key's)
    * Encode Window, Encode by -> Product Name,
      Filter out match key's, so result's better now
    * Add extra WMI info,
      using extract data from SPP* Files
    * Add new System info Pkeyconfig Data Tab
    * Add new option to encode by Pattern,
      of User choice
    * Add extra extra extra Try-Catch,
      on wmi selection change's
    #>
    
    -------------------------

    Problem solved, remove ' ' entiries, Plus, .ToString for ALL !
    this version, include config Tab, to check,
    and encode with pattern, you welcome to check
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #139 Dark Vador, Jun 22, 2025
    Last edited: Jun 22, 2025
    (OP)
    another nice thing ->
    it also support not current edition
    because its parse XML Data
    some edition that not include in xml file,
    will not give any result's

    upload_2025-6-22_15-16-40.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. avatar2006

    avatar2006 MDL Novice

    Aug 8, 2009
    4
    2
    0
    something is wrong in the last version/versions, if i try to encode the default win 10 pro key (3V66T) with group 3308, secret 5594737606063274 and ID 0 i receive the error "Validate your Secret input"