# How to recover from a corrupted xml configuration file

Under certain circumstances, the QLM xml configuration files might get corrupted. For example, this can occur if the system crashes or reboots while the xml file is being saved.

The QLM xml configuration files are stored in *%appdata%\Soraco\Quick License Manager*.

Example of configurations files are:

* profiles.xml
* scheduledTasks.xml
* products.\*.xml
* \*.queries.xml

Whenever a new configuration file is created, QLM creates a backup of the previous xml file in the *%appdata%\Soraco\Quick License Manager\bak* folder.&#x20;

If an xml file gets corrupted, you have 2 options:

* Recover the backed up xml file.
* Recover the factory xml file.

#### How to recover the backed up xml file

* Go to the **bak** folder referenced above.
* Locate the most recent valid backup. The backup files have the original filename suffixed with the date of the backup.
* Copy the most recent backup identied above to *%appdata%\Soraco\Quick License Manager*.
* Renamed the copied file to the original filename (remove the date suffix).

#### How to recover the factory xml file

* Go to the QLM Installation folder.
* Locate the original file.
* Copy the file identied above to *%appdata%\Soraco\Quick License Manager*.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.soraco.co/docs/faq/how-to-recover-from-a-corrupted-xml-configuration-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
