Skip to main content
InSource Solutions

TN - 1307 How to Reset Security System in an Intouch Machine Edition or Edge application

Description

  • Author: Mario Meza
  • Published: 12/15/2022
  • Applies to: InTouch Machine Edition 7.1, 2017 and Edge 2020 and Above 

 

Details

If an application is implementing Security System you may find yourself in a scenario where you have lost access to an administrator account (passwords may have been changed, forgotten or are simply unknown). This article provides an unofficial workaround to reset an application with Security System enabled. 

BE AWARE: The process RESETS project security to the factory default (i.e., no security). As a result, users and groups will need to be recreated.

This example in this article uses ITME 7.1 but has also been validated on Machine Edition  2017 and AVEVA Edge 2020.

If your application is Indusoft Web Studio 6.1 or older additional steps must be taken for this procedure to work. These are outlined at the bottom of this article

 

 

When you try to access project resources (screens symbols scripts etc) in a secured application you will be met with the pop up below.

 clipboard_edbebc38184bc863a763fbe26e15cd847.png

You can try to simply disable Security System but sometimes that isn’t enough.

To reset Security System:

1. Stop your project and close the IDE / Development Studio if running.

clipboard_e58587031e0bfa6c95f1afdbd43b0259a.png

 

2. Open the project .APP file (located in the project folder) in Notepad or text editor.

 

clipboard_e8205ed499f29d7d0c438a15fc03ca4c7.png

 

3. Look for a line beginning with ConfigurationFlags and remove the entire line.

 

clipboard_ec73b232250cbcd2f3711cb41941aa12d.png

 

4. Save the file and close Notepad.

 

clipboard_effc799733d19d31c9643e3fc5d4c4dd2.png

 

5. Open Windows File Explorer and navigate to the Database subfolder in your project folder.

 

clipboard_eaa4a9e193ed7be62ca4a646acb2074e7.png

 

6. From the project Database folder delete the files called

tagl.bin,

tagl.bin_autobck

taglex.bin

taglex.bin_autobck 

***** Do not accidently delete the file called tagl.txt*****

 Delete any file that ends in .61 (e.g., tagl.bin.61)

clipboard_e23bdf74b986ab7a9b800be126e0829c9.png

 

7. Now open the project in the IDE / Development Studio. A development license is not required, you just need to open the project in the development tool. It will see that the project security has been removed and set it to the factory default (i.e., no security).

clipboard_e2897251871bf4ffb4e60697dbd5c98c2.png

 

You should now be able to access Scripts, Screens, Buttons, and object properties etc.

 

clipboard_ebbdc54ac58a3ad0e3df7e31a870e65eb.png

 

NOTE: If the application was developed in Indusoft Web Studio version 6.1 or older (example below is IWS 6.1 SP6) ...

clipboard_e6170cb16a392a8d7fc9a8348dcca0e9b.png

An additional line must be removed from the .APP file

 

ReservedCHK123=

 

clipboard_e7868da15643a5e72eb191d32f5cbd4e9.png

 

The first time the application it is run after the procedure a pop up with the following message will be observed, after which the message will no longer be seen.

 

clipboard_e2aab4dcdfe9267fa53a4fec602d38347.png

 

 

  • Was this article helpful?