I’ve been trying to automate the update of Bigfix License via Task Scheduler using the command below but it times out and fails. Has anyone been able to successfully execute the below command in a Task scheduler? When I run it manually in CMD, it works but when used in Task Scheduler, it eventually times out. Does anyone know if the /hideUI switch actually works? With or without the switch, the behavior is same when I run it manually.
Can you share the arguments you have? I still can’t get it to work. I tried it with my account, the system account which both have permissions to the database. I see the below in the log but eventually times out:
Never mind. Looks like it did work but because the pop up that appears at the end after the license is updated doesn’t close until a user clicks “OK”, the task doesn’t close until it times out. So looks like the /hideUI doesn’t work.
Yeah I’m not sure how the quoting rules in PowerShell apply there, given the -ArgumentList especially with the $PVK path containing spaces…I’d try it out without any variables, just literal strings, and it might be easier to just run this in CMD outside of PowerShell. The command line I gave above was for running it in CMD.
I see the same behaviour on 10.0.12. This also used to occur with the ServerkeyTool in ealiers version and the way I worked around it (I was running a backup script that decrypted the signing keys before backing them up) was to insert a delay for 5 or 10 seconds then kill the process. So from a single CMD line you could use something like