# 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.besmart.software/t4i/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://4060565498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL8qMZuBhZUXGRVospdct%2Fuploads%2FiUp65qiSMTUcqqgMCfrh%2Fimage.png?alt=media&#x26;token=49565e7a-829c-42fc-add1-8ab15bcb0578" alt=""><figcaption><p>Registry configuration type</p></figcaption></figure>

<figure><img src="https://4060565498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL8qMZuBhZUXGRVospdct%2Fuploads%2FOWEmi0MpgdP8OQo6wLdm%2Fimage.png?alt=media&#x26;token=20afb413-8bd9-4ceb-94b1-f10b466f4762" 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://4060565498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL8qMZuBhZUXGRVospdct%2Fuploads%2FoWeq3OJNjmboujt4ZueD%2Fimage.png?alt=media&#x26;token=c702f999-d806-4bd0-acc2-ea5b82026311" 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.besmart.software/t4i/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 %}
