# Using the Gateway Command-line Utility to transfer license between environments

**URL:** <https://forum.inductiveautomation.com/t/using-the-gateway-command-line-utility-to-transfer-license-between-environments/52223>\
**Category:** Ignition\
**Created:** [October 21, 2021, 5:46pm UTC](https://forum.inductiveautomation.com/t/using-the-gateway-command-line-utility-to-transfer-license-between-environments/52223 "2021-10-21T17:46:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![WildBill](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@WildBill](https://forum.inductiveautomation.com/u/WildBill)\
**Post date:** [October 21, 2021, 5:46pm UTC](https://forum.inductiveautomation.com/t/using-the-gateway-command-line-utility-to-transfer-license-between-environments/52223/1 "2021-10-21T17:46:09Z")

</div>

We want to develop some .bat script to help us transfer a licence from one machine to another and back and forth in an automated way. For continuous deployment and Q/A.

How feasible is this? Are there any others that have a similar set-up? Thoughts?

Thanks!

[https://docs.inductiveautomation.com/display/DOC80/Gateway+Command-line+Utility](https://docs.inductiveautomation.com/display/DOC80/Gateway+Command-line+Utility)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 21, 2021, 6:11pm UTC](https://forum.inductiveautomation.com/t/using-the-gateway-command-line-utility-to-transfer-license-between-environments/52223/2 "2021-10-21T18:11:40Z")

</div>

It seems to support only offline activation/unactivation, so I’m skeptical.

---

<div class="post-metadata">

**Author:** ![WildBill](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@WildBill](https://forum.inductiveautomation.com/u/WildBill)\
**Post date:** [October 21, 2021, 6:25pm UTC](https://forum.inductiveautomation.com/t/using-the-gateway-command-line-utility-to-transfer-license-between-environments/52223/3 "2021-10-21T18:25:55Z")

</div>

So at the end of the day, a user would have to submit a text file to inductive right? and wait for a response? I am much more in favor of switching from “dev” to “prod” back and forth. With logic to switch from simulator setup to actual device

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 21, 2021, 6:29pm UTC](https://forum.inductiveautomation.com/t/using-the-gateway-command-line-utility-to-transfer-license-between-environments/52223/4 "2021-10-21T18:29:32Z")

</div>

Why would you ever unactivate your production setup? If you need more than two hours (at a time) on your dev setup, why wouldn’t you get a time-limited (1 week, 30 days, whatever) license?

---

<div class="post-metadata">

**Author:** ![WildBill](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@WildBill](https://forum.inductiveautomation.com/u/WildBill)\
**Post date:** [October 21, 2021, 6:32pm UTC](https://forum.inductiveautomation.com/t/using-the-gateway-command-line-utility-to-transfer-license-between-environments/52223/5 "2021-10-21T18:32:50Z")

</div>

Oh, I wasn’t aware of that option. Thank you!

There is talk about licensing the dev server. But, this is for a Q/A & Stakeholder stagging environment. My reaction was similar to yours. For major releases of our product.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 21, 2021, 6:37pm UTC](https://forum.inductiveautomation.com/t/using-the-gateway-command-line-utility-to-transfer-license-between-environments/52223/6 "2021-10-21T18:37:33Z")

</div>

IA’s pretty good about helping specific deployments with temporary help. I imagine there would be a cutoff if the privilege was abused.

For a CI system, two hours on a freshly spun-up docker instance _ **ought to** _ be enough.

---

<div class="post-metadata">

**Author:** ![WildBill](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@WildBill](https://forum.inductiveautomation.com/u/WildBill)\
**Post date:** [October 21, 2021, 6:45pm UTC](https://forum.inductiveautomation.com/t/using-the-gateway-command-line-utility-to-transfer-license-between-environments/52223/7 "2021-10-21T18:45:33Z")

</div>

I agree. Thanks!
