# Factory Reset Gateway

**URL:** <https://forum.inductiveautomation.com/t/factory-reset-gateway/15240>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [September 4, 2017, 12:09pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240 "2017-09-04T12:09:43Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [September 4, 2017, 12:09pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/1 "2017-09-04T12:09:43Z")

</div>

This may be a silly question, but, is there a quick way to do a full reset of a gateway to installation defaults, without having to uninstall/reinstall ignition?

We use a machine for our dev work and it can be a little laborious when switching over to a new project.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 4, 2017, 2:44pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/2 "2017-09-04T14:44:38Z")

</div>

Stopping the gateway, deleting the contents of the DB folder, and starting it again gets you 99% of the way there.

---

<div class="post-metadata">

**Author:** ![iamthebull](https://avatars.discourse-cdn.com/v4/letter/i/58f4c7/32.png) [@iamthebull](https://forum.inductiveautomation.com/u/iamthebull)\
**Post date:** [May 9, 2019, 10:40pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/3 "2019-05-09T22:40:05Z")

</div>

I gave this a try and now the image browser is empty. How can I restore the images?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 17, 2020, 1:15am UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/4 "2020-02-17T01:15:41Z")

</div>

What about the other 1%? Is there a documented way that details exactly how to do this?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 17, 2020, 1:52am UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/5 "2020-02-17T01:52:46Z")

</div>

No, but the rest of it is probably just the contents of the data dir, especially on 8.0 as it now contains the project resources.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [February 17, 2020, 2:29am UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/6 "2020-02-17T02:29:50Z")

</div>

Even scan classes?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 17, 2020, 1:16pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/7 "2020-02-17T13:16:50Z")

</div>

Scan class configurations (or tag groups in 8.0) are stored in the internal DB.

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [March 8, 2021, 2:01pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/8 "2021-03-08T14:01:27Z")

</div>

Hi Kevin i wanted to do gateway factory reset but instead of DB folder i have deleted data folder. I am not able to run unistaller and wonder how to uninstall ignition in clean way before i install it again?  
Regards

---

<div class="post-metadata">

**Author:** ![frank.carney](https://avatars.discourse-cdn.com/v4/letter/f/d6d6ee/32.png) [@frank.carney](https://forum.inductiveautomation.com/u/frank.carney)\
**Post date:** [June 25, 2021, 7:36pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/9 "2021-06-25T19:36:09Z")

</div>

Deleting the db folder contents gets rid of all the builtin images that are in the db. When creating a new project in the gateway all those builtin images were gone. I looked in the new db file and the Images table was empty. I ended up uinstalling and reinstalling instead.

---

<div class="post-metadata">

**Author:** ![MicroVAX\_II](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/microvax_ii/32/7319_2.png) [@MicroVAX\_II](https://forum.inductiveautomation.com/u/MicroVAX_II)\
**Post date:** [July 9, 2021, 9:39pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/10 "2021-07-09T21:39:56Z")

</div>

I spin up a virtual machine and install the same version of ignition, I download a gateway backup without making any changes and rename the backup to BlankGateway\<version\>\_\<date\>.gwbk. I have one for every major version number.

---

<div class="post-metadata">

**Author:** ![YF129701](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yf129701/32/60498_2.png) [@YF129701](https://forum.inductiveautomation.com/u/YF129701)\
**Post date:** [August 2, 2022, 10:32pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/11 "2022-08-02T22:32:37Z")

</div>

I wish these clean gateway backups were available to us from somewhere online, or if there was a button in the gateway to restore to factory default or something like that…

---

<div class="post-metadata">

**Author:** ![Gustavo\_Prado](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@Gustavo\_Prado](https://forum.inductiveautomation.com/u/Gustavo_Prado)\
**Post date:** [January 22, 2023, 4:42pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/12 "2023-01-22T16:42:42Z")

</div>

I agree! It would be nice to have a complete reset.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [January 22, 2023, 5:54pm UTC](https://forum.inductiveautomation.com/t/factory-reset-gateway/15240/13 "2023-01-22T17:54:11Z")

</div>

Perhaps post here, [https://ideas.inductiveautomation.com/](https://ideas.inductiveautomation.com/)  
I did a brief search and didn't see that the idea has been created.
