# Restore backup/ cannot log on to the gateway

**URL:** <https://forum.inductiveautomation.com/t/restore-backup-cannot-log-on-to-the-gateway/9365>\
**Category:** Ignition\
**Created:** [November 21, 2014, 8:28am UTC](https://forum.inductiveautomation.com/t/restore-backup-cannot-log-on-to-the-gateway/9365 "2014-11-21T08:28:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hillbird](https://avatars.discourse-cdn.com/v4/letter/h/41988e/32.png) [@Hillbird](https://forum.inductiveautomation.com/u/Hillbird)\
**Post date:** [November 21, 2014, 8:28am UTC](https://forum.inductiveautomation.com/t/restore-backup-cannot-log-on-to-the-gateway/9365/1 "2014-11-21T08:28:42Z")

</div>

I changed the user source for authentication on the gateway page and the roles that are allowed for the homepage, gateway, status, designer and global resource in our testenvironment.  
New Authentication method is Active Directory/ Hybrid; old value was default.

After this change I wasnt able to logon anymore. I tried using my AD account but get the message  
Login failed. The username or password you entered is incorrect. Insufficient privileges to view this page.

Luckily there is a backup made each day.  
However it seems the only way to restore is by logging onto the gateway 😕

Anybody ideas to restore the backup or other way to resolve this issue?

Ignition version 7.7.rc1

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 21, 2014, 12:03pm UTC](https://forum.inductiveautomation.com/t/restore-backup-cannot-log-on-to-the-gateway/9365/2 "2014-11-21T12:03:37Z")

</div>

On the PC running the gateway, you can use the Gateway Utility to reset the username/password back to default. To avoid this in the future, I recommend using ‘default’ as the backup Authentication until you can get things sorted out. with AD/Hybrid 🙂  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/bd3c29660ed5ee37fd260eb252793ef4c171caae.png)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4705846bf6cc33c5488d7551960426ebce1035d5.png)

---

<div class="post-metadata">

**Author:** ![Hillbird](https://avatars.discourse-cdn.com/v4/letter/h/41988e/32.png) [@Hillbird](https://forum.inductiveautomation.com/u/Hillbird)\
**Post date:** [November 21, 2014, 12:04pm UTC](https://forum.inductiveautomation.com/t/restore-backup-cannot-log-on-to-the-gateway/9365/3 "2014-11-21T12:04:35Z")

</div>

thanks this worked ! 🙂

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 21, 2014, 12:07pm UTC](https://forum.inductiveautomation.com/t/restore-backup-cannot-log-on-to-the-gateway/9365/4 "2014-11-21T12:07:35Z")

</div>

I did a quick edit to my post for other recommendations 'til you get things sorted. 🙂

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 21, 2014, 12:10pm UTC](https://forum.inductiveautomation.com/t/restore-backup-cannot-log-on-to-the-gateway/9365/5 "2014-11-21T12:10:42Z")

</div>

> [@JordanCClark](#):
>
> I did a quick edit to my post for other recommendations 'til you get things sorted. 🙂

> [@JordanCClark](#):
>
> avoid this in the future, I recommend using 'default' as the backup Authentication until you can get things sorted out. with AD/Hybrid 🙂

This is what I did for my system. Also added an extra user with 'admin' rights in the default. This way, you can still have a way to get to Ignition, even if you AD server goes down. Been there! 😒

---

<div class="post-metadata">

**Author:** ![Hillbird](https://avatars.discourse-cdn.com/v4/letter/h/41988e/32.png) [@Hillbird](https://forum.inductiveautomation.com/u/Hillbird)\
**Post date:** [November 21, 2014, 1:57pm UTC](https://forum.inductiveautomation.com/t/restore-backup-cannot-log-on-to-the-gateway/9365/6 "2014-11-21T13:57:02Z")

</div>

Yes tnx for your input 🙂  
The issue that I am facing now is that I assigned roles to the gateway, designer, status, home en global resource, but the users we collect via AD/ Database Hybrid dont have any roles.  
This caused me not being able to logon.  
When creating a new authentication profile name hybrid we do see a new created table  
or at least a table where the user of that table are mentioned named scada\_users.  
In the Authentication profile of adhybrid you cannot edit the users and or roles.

Any ideas to make this work?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 21, 2014, 4:12pm UTC](https://forum.inductiveautomation.com/t/restore-backup-cannot-log-on-to-the-gateway/9365/7 "2014-11-21T16:12:51Z")

</div>

There is a “User Management” component for such things. You’ll also need to check that the “Allow User Admin” Checkbox is checked in the Gateway Config.
