Automating License Replacement
Posted: 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:
Via CMD:
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?
Thanks,
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
Code: Select all
"C:\Program Files\Tracker Software\Vault\xcvault.exe /addkeys /s %~dp0\Personal.xcvault"
Anyone see any reason why this shouldn't be working? Is there a better method to update our license that I'm not seeing?
Thanks,