In APM, the Bentley Activation Key resides in 2 areas:
On startup, APM Server code will verify that the registry and database keys match, if not, it will provide the union of access available according to the keys that are found. If there is no key in the database, the startup will write in the one from the registry.
If you need to change the Activation Key you are operating under, both the registry and the database will need to be updated.
SQL Serverupdate oq.CUSTOMERINFORMATIO set ACTIVATNKEY=null, vers=vers+1;