Automating License Replacement  SOLVED

Support for network administrators. for software deployment and management through Active Directory Group Policies.

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan

Post Reply
Posts: 3
Joined: Mon May 21, 2018 5:35 pm

Automating License Replacement

Post by Trogdor » Mon May 21, 2018 8:33 pm

Hi There I'm trying to update the license we currently have in place.

I've tried several methods to install the new license, and each one works when run locally. However, as soon as I attempt to test it through our management system, KACE, it fails.

Via powershell:

Code: Select all

& $XCVault /addkeys /s $scriptdir\Personal.xcvault
Start-process $XCVault -Argumentlist "/addkeys /s $scriptdir\Personal.xcvault"
& cmd /c $XCVault /addkeys /s $scriptdir\Personal.xcvault
Via CMD:

Code: Select all

"C:\Program Files\Tracker Software\Vault\xcvault.exe /addkeys /s %~dp0\Personal.xcvault"
One thing to add is that I've set KACE to run this as a Domain user with admin rights on the local system, a local user with admin rights, and the system user.

Anyone see any reason why this shouldn't be working? Is there a better method to update our license that I'm not seeing?


Paul - Tracker Supp
Site Admin
Posts: 4875
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada

Re: Automating License Replacement  SOLVED

Post by Paul - Tracker Supp » Mon May 21, 2018 9:23 pm

Hi Trogdor,

thanks for the post. I suspect the issue is related to where the key is being put. Since you are not running the script as the end user that will use the software it is likely not making it's way into that user's HKCU hive.

Have you tried using the \M switch? Since your KACE user has Admin rights \M should put it in HKLM and then be available to all your users on that machine.

Another option would be to run the command (the one that worked at the command prompt) as the user who will use the Edito, so a login or other script that runs as that end user.

If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America

Posts: 3
Joined: Mon May 21, 2018 5:35 pm

Re: Automating License Replacement

Post by Trogdor » Tue May 22, 2018 1:41 pm

I just tested using the /M switch, and it worked great. I guess I was thinking I had to provide a registry file to use that one, my mistake.

Thanks for your help Paul!

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13309
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Automating License Replacement

Post by Tracker Supp-Stefan » Tue May 22, 2018 3:39 pm


Post Reply