in reply to Re: Get windows cd key
in thread Get windows cd key

The output is BBBB-..... I expect to get the key from the registry

Replies are listed 'Best First'.
Re^3: Get windows cd key
by huck (Prior) on Mar 14, 2017 at 18:24 UTC

    Getting the key from the registry and decodeing it are two wholy differnt things

    See the links thanos1983 posted for where/how to get the key from the registry (for XP)

Re^3: Get windows cd key
by stevieb (Canon) on Mar 14, 2017 at 18:12 UTC

    I'm pretty sure that's because the original code may have been written against a 32-bit version of windows, but you are on a 64-bit version. Can you confirm this?

      Hello stevieb,

      I think the code is compatible with WindowsOS 64 and he is running 32 bit. So maybe the XP code would work.

      Seeking for Perl wisdom...on the process of learning...not there...yet!
      The system is 32 bit