/build/static/layout/Breadcrumb_cap_w.png

Use RecoverKeys utility to obtain license keys on K1000 v6.3

Credit - Whitz for his original post... 

> This is an update to his article using latest RecoverKeys version 8.03.113 .


**RecoverKeys is a paid product and can be purchased here: http://recover-keys.com/en/order.html** 

There are two versions available, 64 bit Enterprise or 32 bit Enterprise version that come with a command line utility.

You can use the paid enterprise version of recover keys to retrieve any supported license keys.  The vb script available will upload an HTML file listing all of the keys retrieved from a system as well as write them to the registry so they can be retrieved with a custom inventory rule. 

You will first need to install the program on your local system to obtain the file dependencies needed for the script to run successfully.  

  -  Make note of default install location 

 - Accept administrative changes being made to your system

qJgIgk.png

Ø  -  Local computer scan will show what we can access from your machine…

KCtPmn.png


Ø  When you buy your Enterprise license, open “Order Me” icon… and enter your license key.

Ø   -  Local scan reports all keys except for some KMS/MAK “hidden” keys. (See recoverkeys.com web site for support issues.)

Ø   - Most of the files needed will be found in the installation directory (default is c:\program files (x86)\recover keys).  

The files needed are: 

  1. English.xml (found in the Lang directory)

  2. RecoverKeysCmd.exe  

  3. Licensekeys_rk23.vbs

Download .vbs here: (https://docs.google.com/open?id=0BxH6X8H1Q3CRYUZRSTZveUZDTlk

Ø  We will configure an offline k-script as shown below to run the program and gather our keys.

7aw6io.png

 

Ø  Configure your script as an Offline Kscript.  Configure the tasks as shown above.  The parameters section for steps 1, 3, and 4 are below so you can copy and paste. 

1  -scanlocal -HTML -hideheader -key:YOURKEYHERE -FILE:"$(KACE_DEPENDENCY_DIR)\rk.html"

3  -scanlocal -TSF  -hideheader  -key:YOURKEYHERE -FILE:"$(KACE_DEPENDENCY_DIR)\rktab.txt"

4  "$(KACE_DEPENDENCY_DIR)\licensekeys_rk23.vbs" "/path:$(KACE_DEPENDENCY_DIR)\rktab.txt"

Ø  Once this is configured save all the changes then save the script itself.  You can now choose machines to run the script on whatever schedule you wish. 

The VBS file in the script will write the keys to the registry so they can be added to the inventory with a custom inventory rule.  Once they are part of the inventory you can report against those fields.

Ø  To create a record with a custom inventory rule, go to Inventory > Software.  Click the Choose Action drop down and choose add new item.

 Name the record and then fill in the custom inventory rule section.  We will be  using "RegistryValueReturn" for this instance.  The keys will be stored in one of two places. 

On 64-bit systems it will be "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\kace\Software Licenses All". 

On 32-bit sytems it will be "HKEY_LOCAL_MACHINE\SOFTWARE\kace\Software Licenses All"

 Here is an example custom inventory rule:

"RegistryValueReturn(HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\kace\Software Licenses All, Windows 7 Enterprise  License Key, REG_SZ)"

I06LM1.png

 This will return the “Windows 7 Enterprise key” under the custom inventory rules section of the systems inventory.  

*** You can create multiple inventory rules to pull in the software key items of your choice.  

 RESOURCES:

Command line syntax: http://recover-keys.com/kb/command-line-version.html

Comments

  • Thank you for this updated article. I am running into a bit of a challenge. It appears that the files you mentioned in the "c:\program files (x86)\recover keys)" folder do not contain the RecoveryKeysCMD.exe file.... Also, My license is an Enterprise License. - brad.buckles 9 years ago
    • That file is from the manufacturer... if it is not in your download, reach out to the publisher, if you own enterprise version; then they will get you a download of the CMD line version... - carl_keller@dell.com 9 years ago
      • Thank you for the prompt response. I've reached out to them and hope to hear soon. - brad.buckles 9 years ago
  • In the text where you are defining the "On Success" steps, Step 4 is written to Launch the licensekeys_rk23.vbs from the ""$(KACE_DEPENDENCY_DIR)\" but in your screenshot it shows it to execute from $(KBOX_SYS_DIR)... Which is correct? None of my machines are writing the license keys to the Registery therefore, I am unable to get the Custom Fields to display.

    Thanks in advance for the help! - brad.buckles 9 years ago
  • "$(KACE_DEPENDENCY_DIR)\licensekeys_rk23.vbs" "/path:$(KACE_DEPENDENCY_DIR)\rktab.txt" This .txt file will also appear under inventory under "uploaded files" and will give you an entire view of your license inventory. - Ozhunna 8 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ