This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

How to Fix or Reset the NI Measurement and Automation Explorer Database File

Updated May 27, 2021

Reported In


  • Measurement & Automation Explorer (MAX)


  • NI-DAQmx
  • NI-488.2

Issue Details

  • I want to Reset my NI Measurement & Automation Explorer (MAX), how do I do this?
  • When I open NI Measurement & Automation Explorer (MAX), I get the following error message: The database file is corrupt. Refer to KnowledgeBase article 4GA9TOQA for information about how to fix or restore the database file


MAX Database corruptions are rare but may be caused when a system reboots without being properly shut down due to a power loss or a system crash. If this problem occurs after installing a newer version of MAX, verify that you have already performed a reboot of your PC before attempting to reset the database.
Note: Use caution, as this procedure will delete all configuration data stored in MAX including DAQmx Tasks, DAQmx Global Virtual Channels, custom scales, and device configuration. However, it will not impact the hardware in any way. 

For NI-MAX version 5.0 and newer

Starting in version 5.0, there is a Reset Configuration Data utility available from within MAX. You can check your version of NI MAX by going to Help » About. This utility allows you to automatically restore the MAX database back to default. 

Steps to use the reset configuration data utility in MAX:
  1. From within MAX, select Tools»Reset Configuration Data.

  1. Make sure to save any unsaved progress from any open programs. When prompted with the following dialog box, select Yes to restart your computer.

  1. After your system restarts, the MAX database will be set to default. 

For earlier versions of MAX

For versions previous to MAX 5.0, you can run the MAX Database Corruption Removal Tool, which is designed to automate the process of removing database corruption.  You can check your version of NI MAX by going to Help » About. To use this tool, log into an account with Administrator privileges and run the downloaded executable. 
Note: If any errors occur while running the tool, go through the steps on Manually Resetting the MAX Database to make sure the process was completed. If you are unable to complete the following steps using normal system settings, please reboot your computer in Windows Safe Mode and attempt to complete the steps once again.

Additional Information

MAX maintains a backup copy of the database file, which can be used to restore the database to a known state. Resetting MAX configuration data will remove the database file and replace it with the default. This tool can be helpful in rare cases of database corruption, and in cases where the database is not corrupted but has entered a strange state. In those cases, resetting the database may be beneficial to return the system to normal operation.