Jump to content

(Solved, via BrewManNH, D4RKON3) windows 7 productid registry


Xandy
 Share

Recommended Posts

Does any one know where I can find the productid in the windows7 registry?

In windows XP, I read the productid from this path from the reg: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion.

I would like to use this number as part of my license key system for software I am trying to release by the end of this year.

It will be a powerful general purpose software tool, I will be giving out (upon request) free keys to members of this forum who were here before the release date. My reasoning is, if this forum and it's members weren't available then I would not have had the resources I was able to rely on. I also plan to give back to the forum, but I can only give what I have.

Anyway I have the key system working in XP, when my software is paid for information is pinged to my website, encrypted and returned. It needs a little ironing, but is almost solid. But at this point I don't have it working with windows7 and I do not have a copy myself to test with. Some of my friends have it, I can't really develop that way.

What I am requesting.

$z= regread("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "productid");aquire windows productid

The equivalent of the above string on windows7.

Thank you, for your support.

edit: currently I am awaiting a email from a windows_7 user to confirm that he has a productid in his registry at location: HKLM\Software\Microsoft\WindowsNT\CurrentVersion. Thank you BrewManNH for the tip, I will be happy to hear if any windows_7 user can validate a productid at the location.

Edited by songersoft
Link to comment
Share on other sites

It looks to me like you check the information on your site to validate the user. I do not wish to do this, my tool will need the internet to generate a license code, but only once. After the unique code is returned from my site you will not need the internet to use my software.

I was striving to make my users as happy with their purchase as possible. Let me know if I am wrong, I am tired and sore at the moment. I am having trouble with focusing. Thank you for your reply however.

Link to comment
Share on other sites

Take a look at "HKLMSoftwareMicrosoftInternetExplorerRegistration" "ProductID", that location holds the ProductID as shown in the My Computer Properties screen. It also has the digital productID settings, but I don't know what they are. You can also look in HKLMSoftwareMicrosoftWindowsNTCurrentVersion for the product ID as it's stored there as well.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

It looks to me like you check the information on your site to validate the user. I do not wish to do this, my tool will need the internet to generate a license code, but only once. After the unique code is returned from my site you will not need the internet to use my software.

I was striving to make my users as happy with their purchase as possible. Let me know if I am wrong, I am tired and sore at the moment. I am having trouble with focusing. Thank you for your reply however.

OK. i understand.

BTW use Obfuscator for more security ( Maybe you already know this, just want to help ).

Edit:

You can be sure about the registry address that BrewManNH gave you:

Edited by D4RKON3
Link to comment
Share on other sites

Just one thing to be carefull of with Windows Key.

Brand names (Dell, HP, etc) use a generic key so if you are using it as a unique ID you may run into 2 computers with the same ID.

Good Luck!

Link to comment
Share on other sites

Hi Songersoft

if you work out a solution let me know...........PM if you want to keep it quiet.

I was going to use the Windows Key as "Unique ID" in a database of each computer I work on.

So if you find a solution it may work for me as well. :D

Have a great day!

John Morrison

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...