The Ultimate PID Checker

Discussion in 'MDL Projects and Applications' started by janek2012, Jul 18, 2010.

  1. Jachra

    Jachra MDL Member

    Apr 5, 2010
    184
    55
    10
    #101 Jachra, Oct 7, 2011
    Last edited by a moderator: Apr 20, 2017
    @janek2012 and CODYQX4,

    Long time ago I programmed my own 'PIDChecker'. Lately I have been messing around with my source. I have been looking into the source of VAMTRT.DLL. And something got my eye, namely

    Code:
    int errorCode = NativeMethods.PidGenX(productKey, productKeyConfigFileName, "12345", null, null, null, id);
    
    internal static class NativeMethods
            {
                [DllImport("PidGenX", CharSet=CharSet.Unicode)]
                public static extern int PidGenX(string productKey, string configFile, string mpc, string oemId, [Out] DigitalProductId2 productId2, [In, Out] DigitalProductId3 productId3, [In, Out] DigitalProductId4 productId4);
            }
    
    
    As my loading of the pidgenx.dll is more dynamic than this and different, apparently with this static loading only four parameters are actually required. I also noticed that the checking is a bit faster than with five parameters. Maybe you can use this to speed up your program.
     
  2. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,836
    19,080
    340
  3. Atys

    Atys MDL Novice

    Feb 1, 2012
    1
    0
    0
    Many people don't know that there is a problem with the COA stickers on the back of most Notebooks.
    Some of them are partially rubbed off or faded out during the time and if the HDD fails and you don't have the recovery
    partition or you want to use it on another pc/notebbok and the SLIC doesn't matches its a real pain to get it work
    with the SLP key. As i had 2 of those damaged COA's this year i've decided to search after a method to check the keys
    and let them recover, but fortunately i found this thread and this tool which works with both, w7 and xp.
    Big thanks for the author.

    I can confirm that a German DELL OEM XP32 key with 2 digits missing was found in half an hour.

    Thx again, and keep up the good work, we like it!
     
  4. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,836
    19,080
    340
  5. janek2012

    janek2012 MDL Member

    Dec 29, 2008
    214
    996
    10
    Sorry - my program does not contain x64 pidgen.dlls so it can't check x64 keys. If you need checking of these keys, go to %Temp%\2012-XXXX\xp and paste your x64 pidgen (it must be named like PIDGEN-XXX.DLL). Checker will show you the XXX part if the key is valid for this pidgen.

    I will probably add x64 pidgens in next release but I need some help finding them. If somebody could send me them, I would be grateful.
     
  6. racky29

    racky29 MDL Senior Member

    Aug 2, 2007
    285
    93
    10
    PIDGEN.DLL From a Windows XP pro x64 Volume licence edition and Retail

    if that's what your looking for
    ill see if i can find any more

    PIDGEN.DLL_WinXP-Pro-x64-Corp-SP0
    View attachment 13685

    PIDGEN.DLL_WinXP-Pro-x64-Corp-SP2
    View attachment 13686

    PIDGEN.DLL_WinXP-Pro-x64-Retail-SP0
    View attachment 13687


    that's all the x64 builds available from MSDN, apart from checked/debug build
    there dont seem to be a x64-sp1 or x64-sp3 on msdn

    hope these help you
     
  7. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,836
    19,080
    340
    Windows XP x64 comes with SP1 ;)

    & there is no sp3 released yet ;)
     
  8. OldMX

    OldMX MDL Addicted

    Jul 30, 2009
    540
    232
    30
    Is there a mirror for this file? multiupload is not loading right now

    thanks in advance
     
  9. janek2012

    janek2012 MDL Member

    Dec 29, 2008
    214
    996
    10
    Link fixed - check the first post.
    Also, I removed that Vista key from blacklist.
    XP x64 support will be added soon :)
     
  10. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,865
    2,143
    60
    #113 Muerto, Mar 7, 2012
    Last edited: Aug 22, 2021
    ...
     
  11. racky29

    racky29 MDL Senior Member

    Aug 2, 2007
    285
    93
    10
    #114 racky29, Mar 12, 2012
    Last edited by a moderator: Apr 20, 2017
  12. janek2012

    janek2012 MDL Member

    Dec 29, 2008
    214
    996
    10
    Thanks, racky29
    The white box is a known bug but I don't really know what causes it :p
    Also, could you please tell me where Vista's pidgen is stored?
    Thanks again. I appreciate your reports!
     
  13. racky29

    racky29 MDL Senior Member

    Aug 2, 2007
    285
    93
    10
    also a nasty error box on vista, when testing a XP corp volume key
    if i press ok it does cary on to test the key ok, several error boxes come up somtimes, but does go on to test the key
    View attachment 14387

    give me few mins, im having trouble finding the pidgen you want
    is it pidgenx.dll you want, thats in windows/system32
     
  14. janek2012

    janek2012 MDL Member

    Dec 29, 2008
    214
    996
    10
    I mean pkeyconfig.xrm-ms file.
     
  15. racky29

    racky29 MDL Senior Member

    Aug 2, 2007
    285
    93
    10
    theres one here

    C:\Windows\System32\licensing\pkeyconfig
    pkeyconfig.xrm-ms is in that folder on its own
     
  16. janek2012

    janek2012 MDL Member

    Dec 29, 2008
    214
    996
    10
    I think I'll fix these bugs in next release :)
    Thanks for testing :D