Spotlight key is not saving permanently and gets removed.
The Diagnostic Server may be configured with a user that doesn't have Admin or Power user privileges. Note, the deployment guide state that the user requires power user privilege as a minimum.
The workaround for the user is to use a Power user or Admin User for the diagnostic server, update the license key through spotlight and make sure ProductLicenses.xml does exist in the following folder
"C:\Users\All Users\{08439167-4CA5-48E9-A810-A3A7C0B80B06}\ ProductLicenses.xml""
Once the license file is created you can change the login user back to what you had.
Changing the user for the diagnostic server is done through services as shown in screenshot below:
[cid:image001.png@01CCDA7E.3E207230]
Another workaround is to have an administrator create the folder
C:\ProgramData\{08439167-4CA5-48E9-A810-A3A7C0B80B06}
Then grant the Quest Diagnostic Server service user read/write permission to the folder.