Automating the Process of Updating the PCC on Multiple Installations
How to automate PCC updates across multiple SEL installations using the registry batch updater.
How can we automate the process of updating the PCC in multiple SEL installations when the PCC is stored in the Windows Registry?
Under normal conditions where our applications can contact our activation (license management) server, the applications will detect when a renewal has occurred and will automatically keep the PCC up to date. As such, there is typically no need to manually update the PCC after a renewal. If you’re using manual activation or our applications are unable to contact our activation server (including “air-gapped” networks), then it is best to update the PCC via automation.
Where the PCC is stored
Both methods below write the same registry string value, named PCC, at:
HKCU\Software\Enercalc\V20\ECLIC\
When run via automated systems management tools, the PCC update expects to be run under the user's Windows profile, as it updates values in HKCU.
Option 1 — ENERCALC's batch PCC updater
Download our PCC batch installer/updater from: https://install.enercalc.com/UpdateENERCALCPCCinRegistry.exe
The file UpdateEnercalcPCCinRegistry.exe is signed.
The batch PCC updater can be run two different ways:
.\UpdateEnercalcPCCinRegistry.exe PCC="NewPCC"
or
.\UpdateEnercalcPCCinRegistry.exe PCCFILE="TextFileContainingTheNewPCC"
The PCCFILE= file spec can be any valid file spec, IE: C:\somefolder\mypccfile.txt or \\myserver\myshareddrive\ThisIsMyPCCFile.txt etc. If spaces are in the file name, the file name must be surrounded with double quotes as in the example above.
Ensure the PCC text file contains only your PCC, with no additional text. Also, make sure any line breaks are removed from the text string.

Option 2 — Any bulk registry update tool
Alternatively, ANY bulk registry update tool can be used to populate the PCC at the HKCU\Software\Enercalc\V20\ECLIC\ key described above. The value to store the PCC text string in should be named PCC (it's a string value).
Last updated
Was this helpful?

