# Force gateway back into trial expired state

**URL:** <https://forum.inductiveautomation.com/t/force-gateway-back-into-trial-expired-state/109682>\
**Category:** Module Development\
**Tags:** ignition81, perspective\
**Created:** [August 13, 2025, 9:18am UTC](https://forum.inductiveautomation.com/t/force-gateway-back-into-trial-expired-state/109682 "2025-08-13T09:18:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![liam1](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@liam1](https://forum.inductiveautomation.com/u/liam1)\
**Post date:** [August 13, 2025, 9:18am UTC](https://forum.inductiveautomation.com/t/force-gateway-back-into-trial-expired-state/109682/1 "2025-08-13T09:18:00Z")

</div>

Hi all,

I am testing the licensing system in my module and don’t want to wait 2 hours for the gateway trial to expire , is there a way to force a trial expired state? The gateway is in a docker container , would I need to use a gwcmd command or change the container timestamp?

---

<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:** [August 13, 2025, 12:05pm UTC](https://forum.inductiveautomation.com/t/force-gateway-back-into-trial-expired-state/109682/2 "2025-08-13T12:05:57Z")

</div>

No, quite deliberately not. That would facility abuse of trial mode. If you rebuild the docker container, you should get a new trial condition.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 13, 2025, 2:52pm UTC](https://forum.inductiveautomation.com/t/force-gateway-back-into-trial-expired-state/109682/3 "2025-08-13T14:52:20Z")

</div>

Rebuilding the container is definitely the easiest option, but for posterity in 8.1 you _could_:

1. Stop the gateway service
2. Edit the `config.idb` to set the `DEMOTIMEREMAINING` column in `SYSPROPS` to 0/a low value
3. Restart the gateway

And no, you can't get cute and set the trial to _longer_ than two hours remaining - all this lets you do is reset it more often.
