# Configuration settings🌟

T4I configuration can be stored using two methods: in *registry* or *XML* file.

## Registry configuration

Configuration is stored in the key `HKEY_CURRENT_USER\Software\Holixa\T4I`.

If needed, this branch can be [exported](https://help.holixa.com/holixa-tools4inventor/commands-overview/be.smart-t4i/export-settings) from the registry and provided to other users to import the T4I settings.

T4I settings can be imported to the registry by double-clicking on the exported file.

<figure><img src="https://content.gitbook.com/content/ZSEaukXZvekl0qIsJpTb/blobs/Q62Ki6wVO98KDgBU7OBI/image.png" alt=""><figcaption><p>Registry configuration type</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/ZSEaukXZvekl0qIsJpTb/blobs/MR68lVSq9E3a536mUyOg/image.png" alt=""><figcaption><p>T4I key in Registry</p></figcaption></figure>

{% hint style="danger" %}
When editing the Registry, always proceed with extreme caution.
{% endhint %}

{% hint style="info" %}
Be.Smart T4I add-on restart is needed for the changes to take effect.
{% endhint %}

## XML file configuration

If an XML file should be used for the configuration of T4I, it is necessary to provide a path to the XML file containing the T4I configuration settings.

<figure><img src="https://content.gitbook.com/content/ZSEaukXZvekl0qIsJpTb/blobs/1Vr99nRxICfRGcLXJdgB/image.png" alt=""><figcaption><p>XML file configuration</p></figcaption></figure>

### Workflow overview for the XML configuration file

1. (Export settings to the XML file using the [export-settings](https://help.holixa.com/holixa-tools4inventor/commands-overview/be.smart-t4i/export-settings "mention") command.)
2. In the *Configuration file name* section, click the three-dots button.
3. Select the XML file.

{% hint style="info" %}
Be.Smart T4I add-on restart is needed for the changes to take effect.
{% endhint %}

## Removing the configuration

The complete configuration of Be.Smart T4I can be removed by using the `CleanupT4I.bat` script. Copy the below code, create a new text file, paste the copied code, and save the file as a  CleanupT4I.bat.

```batch
@ECHO off

ECHO Deleting registry keys
REG delete HKEY_CURRENT_USER\SOFTWARE\Holixa\T4I /f

ECHO Deleting AppData files
RMDIR /S /Q "%AppData%\Holixa\T4I"

ECHO Deleting Temp files
RMDIR /S /Q "%Temp%\Holixa\T4I"


TIMEOUT 5
```

{% hint style="danger" %}
By using the `CleanupT4I.bat` script, you acknowledge that the complete configuration of Be.Smart T4I will be erased.
{% endhint %}
