I would like to know what change occurs on a computer after AVG license has been successfully activated (i.e, is there a new folder, new file or new Reg key created somewhere?). I am asking this because I am trying to automate licenses activation on more that 40 new computers every day. I would like my script to attempt activation until successful, and for that I need something to compare against (it would look like: run activation code until folder/file/Reg_key xyz is found).
Thanks for any input.
PS: product is AVG Internet Security, computers run on Windows 10 and Server 2016
RF, our senior technical team informed that you can refer to file:///C:/ProgramData/Avg/Subscriptions/license.avglic
R, General topic info… "Business products" support… For assistance have a look @ this AVG webpage (https://support.avg.com/business_contact_form?l=en_US). Please be informed that this Community forum basically deals with 'home' version of AVG products. Furthermore the "Business products" area has now been removed from the 'Community topics' list @ the top LHS of this page. Finally please be informed that the support for "Business products" is not now available within this Community.
AVG Guru
Hi, we will check this with our senior team and get back to you.
Your patience is much appreciated.
Thank you Balasubramanian!
I did modify my script with the approach I mentioned earlier and it works wonderfully.
There is just a very small probability of failure: AVG is constantly running some updates (those updates change the Date Modified of the licence.avglic and if the last update is within 10 seconds of my script checking the licience.avglic, it will read it as a successful activation, even if license activation fails.
The odds of that happening are low though.
Karthikeyan,
We are using activating AVG Business Edition license keys.
Alan,
Thank you for that piece of information.
Avinash,
Thanks for that information. You can relay this information to the developers:
I am trying to automate because I have to activate license almost 50 computers every day. Doing it manually is tedious (Finds the correct customer's license textfile, copy the license key from the text file, open AVGUI, go to Memu, Settings, Subscription, paste the key, click Activate, wait 10 seconds, click OK). The program I wrote finds the textfile, extracts the license key, opens AVGUI, then goes to the Subscription tab and applies the key using keystrokes. Nothing illegit or risky.
Because keystrokes are not reliable (if focus is lost), i needed a way to make sure that the key had been activated without going to the Subscription tab again, and if it had failed, have the program re-do the process until activation proves successful.
Thanks againto all for your cooperation.
RF
Vishnu,
No, I won't activate with the wrong edition. All I want to know is: what changes once you AVG License is activated.
If I had to similar computers, same model, same OS with AVG trial version om both of them, then we can assume that the Reg Keys, the number of files etc. is identical. Then, if AVG license gets activated on one of the computers, how could you tell which one it is, without looking at the AVGUI?
I thought about building a powershell script to dig thru the entire system but that would take to much processing time and ressource.
You are most welcome and thank you for understanding.
If you would like to provide a feedback for product features, open AVG Internet Security interface, click on "Menu–>About–>Submit Feedback".
Thanks.
Avinash,
Thanks for that information. You can relay this information to the developers:
I am trying to automate because I have to activate license almost 50 computers every day. Doing it manually is tedious (Finds the correct customer's license textfile, copy the license key from the text file, open AVGUI, go to Memu, Settings, Subscription, paste the key, click Activate, wait 10 seconds, click OK). The program I wrote finds the textfile, extracts the license key, opens AVGUI, then goes to the Subscription tab and applies the key using keystrokes. Nothing illegit or risky.
Because keystrokes are not reliable (if focus is lost), i needed a way to make sure that the key had been activated without going to the Subscription tab again, and if it had failed, have the program re-do the process until activation proves successful.
Thanks againto all for your cooperation.
RF
R F, our developers have confirmed that automation of activation process which you are trying is not regular activation process what should be done and what we prefer for our customers. So we'd like to inform that you can try this at your own risk.
Avinash,
Thank you so much for that information. I took a look at the file and noticed this:
- This file existe when AVG is installed even when license has not been activated
- I can't open and read that file
- The file can gets modified by something else than the license activation (for example, AVG was installed on one PC on 09/08, with the trial key. The PC was left on and untouched for days. When I looked at the license.avglic file, it showed a Date Modified of 09/12, with no license activation)
I think I will use the Date Modified as a parameter though. My code will do something like:
If DateModified is within 10 seconds of current time, then
activation has been successful
else
attempt activation again
end if
Unless you can suggest a better approach.
Thanks again!
RF, our senior technical team informed that you can refer to file:///C:/ProgramData/Avg/Subscriptions/license.avglic
RF, if you activate the business license with the consumer version the whole log files, registry key, folders etc will change.
Hence we don't recommend this process to customers who use the business version.
Karthikeyan,
We are using activating AVG Business Edition license keys.
Alan,
Thank you for that piece of information.
Hello R,
I will help you with the necessary information.
Are you using AVG home product or AVG business product?
Hello R,
I will help you with the necessary information.
Are you using AVG home product or AVG business product?
Alright, we need to get some technical information from our senior team regarding your query.
You patience is much appreciated until we get the response from our senior team. We will keep you posted about it once we get the response from our senior team.