# Agent for Windows

# Configuration Management

#### Exporting the configuration

Run the following in an elevated command line :

```powershell
'C:\Program Files\Veeam\Endpoint Backup\Veeam.Agent.Configurator.exe' -export /f:<path to folder>\CONFIG.xml
```

Replace "&lt;path&gt;" with the complete path to the destination folder where you want to store the configuration file.

You can ommit this settings to store the config file in it's default location : C:\\ProgramData\\Veeam\\Endpoint\\!Configuration\\Config.xml

#### Importing a configuration from backup

First, you must modify your config file to specify the different passwords required by your job(s) and SMTP settings.

Open the file with your preferred editor and look for this parameters :

- *CredentialsInfo* for a job with a local target
- *ServerCredentials* for a job with a Cloud Connect target
- *Credentials* for SMTP settings

The password MUST be encoded in Base64. Use an online encoder to do so then send the modified file to your computer/server.

Run the following command in an elevated command prompt to import the configuration :

```powershell
'C:\Program Files\Veeam\Endpoint Backup\Veeam.Agent.Configurator.exe' -import /f:<path to folder>\CONFIG.xml
```