I've written an application and I'd like to add a registration key/serial number to it (I'm big on minimum inconvinience - ala #4 at this Eric Sink article). My question is about where to store the "activation" once the application has been registered. As I understand it, I have a trade-off between storing the key in a public place, where all users can read it (but which requires admin rights to save there) and storing a per-user activation (but then each user on the computer will have to activate independantly). That gives me two choices:
Is this really the trade-off? If it is, what have others done? As a developer, I'm used to people being a local admin, but in the real-world, I don't expect many of my corporate users to be local admins, which makes me lean towards option 2. Are computers not shared often enough that I shouldn't be concerned?
Again, I'm not asking about how to physically register a computer - I'm not worried about it. I'm only going to checksum the key provided and give the go-ahead, as I want to be as non-invasive as possible.
You can try finding the license key location in the registry for a product using the following instruction: Open the RegEdit program. Please check this path in the registry: "HKEY_LOCAL_MACHINE\SOFTWARE\<Vendor_name >\<Product_name or Product_name_version>\"
The key isn't stored on software where it can be wiped, or on a sticker where it could be smudged off or removed. No one can glance at your computer's COA sticker to steal its product key. Instead, the key is stored in the computer's UEFI firmware or BIOS by the manufacturer.
Activate using a product key During installation, you'll be prompted to enter a product key. Or, after installation, to enter the product key, select the Start button, and then select Settings > Update & Security > Activation > Update product key > Change product key.
You can only use a Windows 10 key once on a PC or laptop. If you need to reinstall the operating system for any reason, you'll need to enter the key again.
I would recommend a solution that does not require admin rights. Lots of users, especially in shared environments, won't have those rights and won't be able to find anyone with them conveniently.
Also, going forward a few years, I think it will be getting increasingly unusual to have admin rights on the computer you are using, as the security situation improves.
Registry seems to be an okay solution for business software. At least at where I used to work, regular user will not be a local computer administrator, so each installation will require local administrator account. This is a good thing since it will lessen the headache of your support staff from people installing just about everything in your business computing environment. The trade off is of course, user will be pissed that they can't install stuff or have to contact support to do it, but hey... :)
Other stuffs:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With