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
    #141 Dark Vador, Jun 22, 2025
    Last edited: Jun 22, 2025
    (OP)
    i think i start use IntParse --> its bigger than int value
    let's me try biginteger, or unit instead

    Edit. solved it. [bigInt] is my solution
     
    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
    #142 Dark Vador, Jun 23, 2025
    Last edited: Jun 23, 2025
    (OP)
    extract data from Kernel - polices registry

    Edit.
    Improve results, and upload a better version

    upload_2025-6-23_19-42-12.png
     
    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
    #143 Dark Vador, Jun 24, 2025
    Last edited: Jun 24, 2025
    (OP)

    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
    #144 Dark Vador, Jun 24, 2025
    Last edited: Jun 24, 2025
    (OP)

    Attached Files:

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

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    #145 Dark Vador, Jun 28, 2025 at 11:05
    Last edited: Jun 29, 2025 at 10:26
    (OP)
    v16.4 [compiled at 28-06-25]
    Code:
    * Remove Local error resources
      And use Api instead.
    * Extract, Error info messege option, Using APi
      For WU, CBS, used harcoded table.
    * Add "SPPC.dll", to Activation dll Errols API
      in addition to "SLC.dll"
    * Some error ware return hresults & Activation error, 
      ware fixed with -bor option
      -Flags ([ErrorMessageType]::ACTIVATION -bor [ErrorMessageType]::HRESULT)
    * Also remove any Tail for 0x / decimal number's end,
      not belong to 0x / decimal format
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    v16.3 [compiled at 28-06-25]

    Code:
    * Remove Local error resources
      And use Api instead.
    * Extract, Error info messege option, Using APi
      For WU, CBS, used harcoded table.
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    my new extract screen option ->

    upload_2025-6-28_17-57-13.png

    upload_2025-6-28_17-57-37.png

    upload_2025-6-28_18-14-15.png

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Code:
    # ***************************** #
    #  v16.2 compiled at 28-06-25 #
    # ***************************** #
    <#
    * Remove Local error resources
      And use Api instead.
    #>
    
    I ALso think to add error decoder,
    with type-s ->
    will be next time
    this signature is allready ready

    Code:
    enum ErrorMessegeType {
        ALL        = 0
        WIN32      = 1
        NTSTATUS   = 2
        ACTIVATION = 3
        NETWORK    = 4
        CBS        = 5
        BITS       = 6
        HTTP       = 7
        UPDATE     = 8
        HRESULT    = 99
    }
    function Parse-ErrorMessage {
        param (
            [Parameter(Mandatory=$true)]
            [ValidateNotNullOrEmpty()]
            [string] $MessageId,
    
            [Parameter(Mandatory = $false)]
            [ValidateSet("ALL", "WIN32", "NTSTATUS", "ACTIVATION", "NETWORK", "CBS", "BITS", "HTTP", "UPDATE", "HRESULT")]
            [ErrorMessegeType]$Type = "ALL",
    
            [Parameter(Mandatory=$false)]
            [bool]$Log = $false
        )
    
     
    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
    #146 Dark Vador, Jun 29, 2025 at 23:23
    Last edited: Jun 30, 2025 at 10:09
    (OP)
    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
    OK, interesting case,
    WARNING: win32ERR = 752, MessageId = 277
    SO, 0x000000115 is also NTSTAUS, and ALSO win32 ERROR
    And also, is 752 win32 error {from NTSTAUS}

    upload_2025-6-30_12-37-46.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,632
    2,867
    120
    Why you include this features?
    Better keep script lite and have others script for advanced licensing no. ? :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,605
    6,798
    150
    this is nice features that no one explore,
    first tool that also parse error by catogerie
    nice option, but i agree with you.

    * i did it because i don't want to save libary of error's in my script
    like every one else do
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...