QuickBooks Error 1904: Causes, Symptoms & Solutions

QuickBooks Error 1904

When you install QuickBooks Desktop (QBDT) on a Windows system, the process should run smoothly without errors. But improper system permissions or damaged Microsoft components may interfere with the installation process. QuickBooks Error 1904 is a desktop installation error that occurs when Windows cannot register one or more files correctly, which are required for QuickBooks to function properly. Users see this message during installation or update:

  • Error 1904: Module [filename] failed to register.
  • Error 1904: Failed to register file.
  • QuickBooks installation error 1904.
  • Error writing to file. Verify that you have access to that directory.

It can occur on any supported version of Windows, including Windows 11, where more aggressive security can increase the likelihood that the file will not register.

In this guide, we’ll discuss the causes of QuickBooks Desktop Error Code 1904, the common signs and symptoms, the prerequisites to complete before troubleshooting, step-by-step methods to fix QuickBooks error 1904, preventive tips, and answers to frequently asked questions.

Why Does QuickBooks Error 1904 Occur?

QuickBooks Desktop Error Code 1904 may appear when Windows is unable to register a file needed by QuickBooks during the installation process. Here are some of the causes of QuickBooks installation error 1904.

  • Insufficient User Permissions.
  • Damaged Microsoft Components.
  • Antivirus or Firewall Interference.
  • Pending System Updates.
  • Corrupted QuickBooks Installer.
  • Incomplete Previous Installation.
  • Corrupted Windows System Files.
  • Restricted Folder Permissions.
  • Third-Party Software Conflicts.
  • Windows 11 Security Restrictions.

Common Symptoms of Error 1904

When QuickBooks Error Code 1904 occurs, the installation process can stop unexpectedly, and the software will not function properly even if the setup appears to finish. The following are signs of QBDT Error Code 1904.

  • Windows displays the message: Error 1904: [file name or path] failed to register.
  • The QuickBooks installation freezes, crashes, or stops before completion.
  • The setup rolls back automatically after the error appears.
  • QuickBooks Desktop does not open after installation.
  • QuickBooks fails to update or install required program components.
  • Some application files appear to be missing or corrupted.
  • Your system becomes slow or unresponsive during installation.
  • You experience delays when using the keyboard or mouse.
  • QuickBooks cannot open existing company files after installation.
  • The same installation error appears each time you rerun the setup.

What are the Prerequisites to Fix Error Message 1904 in QuickBooks Desktop?

Before troubleshooting QuickBooks Error 1904, complete the following steps to avoid interruptions and protect your company data. Here are the prerequisites to fix QuickBooks error 1904 in Windows 11.

  • Log on to Windows as an administrator.
  • Perform a right-click on the QuickBooks installer and select Run as Administrator.
  • Confirm that your user account has full control permissions to the C:\Program Files\Common Files folder.
  • Back up your QuickBooks company file and store the backup in a safe place.
  • Restart your computer to complete any Windows or QuickBooks updates.
  • Install the latest Windows updates and Windows 11 updates as well.
  • Download a new copy of the QuickBooks Desktop installer.
  • Either temporarily disable your antivirus and firewall or add QuickBooks to the exclusion list.
  • Shut down any unnecessary programs running in the background.
  • Verify that Microsoft .NET Framework is activated and updated.
  • Fix or reinstall Microsoft Visual C++ Redistributable.
  • Reinstall or update Adobe Flash Player components if they are damaged.
  • Download and install QuickBooks Tool Hub.
  • Check that your system has adequate available disk space and is connected to the internet.

How to Fix QuickBooks Error 1904

In case you encounter QuickBooks Desktop Error Code 1904 during installation, you can try the methods below to fix or replace damaged Windows components, reset Windows permissions, and reinstall QuickBooks. Here are the proven methods to fix QuickBooks Error 1904.

Method 1: Run the QuickBooks Install Diagnostic Tool

Download and run the QuickBooks Install Diagnostic Tool to automatically detect and repair issues with your Microsoft components. Follow these steps to run the QuickBooks Install Diagnostic Tool:

  • Click Ignore on the Error 1904 message and allow the QuickBooks installation to finish.
  • Do not open QuickBooks after the installation completes.
  • Restart your computer.
  • Open the QuickBooks Tool Hub and run the QuickBooks Install Diagnostic Tool.
  • Restart your system after the tool finishes.
  • In case the error continues, enable the built-in Administrator account and reinstall QuickBooks.

Method 2: Activate the Built-in or Hidden Administrator

Enable the built-in Administrator account to install QuickBooks with full Windows permissions. Here are the steps to activate the built-in Administrator account:

Step 1: Activate the Administrator Account

  • Press the Windows key and type cmd.
  • Right-click Command Prompt and select Run as Administrator.
  • Type net user administrator /active: yes and press Enter.
  • In case the command does not work, type net user administrator /active.

Step 2: Switch to the Administrator Account

  • Press Ctrl + Alt + Delete and select Switch User.
  • Choose the Administrator account from the login screen.

Step 3: Hide the Administrator Account Again

Open Command Prompt as administrator.
Type net user administrator /active:no and press Enter.

Step 4: Change Installation Directory Security Settings

  • Open C:\Program Files\Common Files.
  • Right-click the Common Files folder and select Properties.
  • Go to the Security tab and click Edit.
  • Select Users under Group or User Names.
  • Allow the following permissions:
    • Modify
    • Read & Execute
    • List Folder Contents
    • Read
    • Write
  • Click Apply, then OK.

Step 5: Reinstall QuickBooks

  • Install QuickBooks Desktop again.
  • Sign back in to your original Windows account after the installation completes.

Method 3: Manually Configure Damaged Windows Components

Repair the Microsoft .NET Framework and re-register the MSXML DLL file to restore required Windows components. Here are the steps to configure damaged Windows components:

Step 1: Repair the .NET Framework

  • Open Control Panel.
  • Go to Programs and Features.
  • Select Microsoft .NET Framework from the list of installed programs.
  • Choose the repair option if it is available.

Step 2: Register the MSXML6.dll File

For 64-bit Windows:

  • Click Start and type cmd.
  • Right-click Command Prompt and select Run as Administrator.
  • Type cd \windows\syswow64 and press Enter.
  • Type regsvr32 MSXML6.dll and press Enter.
  • Try installing QuickBooks again.

For 32-bit Windows:

  • Press Windows + R to open the Run window.
  • Type cmd and press Enter.
  • Type regsvr32 MSXML6.dll.
  • Press Enter.

Method 4: Update the Operating System

Install the latest Windows updates to replace outdated or missing system files. Here are the steps to update your operating system:

For Windows 10 and later:

  • Click Start and open Settings.
  • Select Update & Security.
  • Click Windows Update.
  • Select Check for Updates.
  • Download and install all available updates.
  • Restart your computer.
  • Open QuickBooks and check whether the error is resolved.

For Windows 8.1:

  • Open Settings and select Change PC Settings.
  • Click Update and Recovery.
  • Select Windows Update.
  • Click Check Now.
  • Review the available updates and install the required ones.
  • Restart your system.
  • Open QuickBooks again.

Method 5: Fix the Error Message Directly

Test the AvaTax connection if the installation completes, but the error message still appears. Here are the steps to troubleshoot the error message:

  • Click OK on the Error 1904 message box.
  • Wait until QuickBooks confirms that the installation completed successfully.
  • Open QuickBooks as an administrator.
  • Go to File > AvaTax > Configuration.
  • Click Test Connection.

Method 6: Perform Basic Troubleshooting

Try a few preliminary fixes before moving to advanced methods. Here are the steps to perform basic troubleshooting:

  • Restart QuickBooks and your computer.
  • Update Windows to the latest release.
  • Repair QuickBooks Desktop.
  • Download a fresh QuickBooks installation file.

Method 7: Update QuickBooks Desktop

Install the latest QuickBooks updates to fix bugs and compatibility issues. Here are the steps to update QuickBooks Desktop:

  • Open QuickBooks Desktop.
  • Go to Help.
  • Select Update QuickBooks Desktop.
  • Click Update Now.
  • Select Get Updates.
  • Restart QuickBooks after the update completes.

Method 8: Use the System File Checker Tool

Scan and repair corrupted Windows system files that can interrupt QuickBooks installation. Here are the steps to run the System File Checker:

  • Open Command Prompt as administrator.
  • Type sfc /scannow.
  • Press Enter.
  • Wait for the scan to complete.
  • Restart your computer.

Method 9: Turn Off Windows Firewall and Antivirus

Temporarily disable security software that can block QuickBooks installation files. Here are the steps to disable firewall and antivirus protection:

  • Right-click your antivirus icon in the system tray.
  • Select Disable or Turn Off Protection.
  • Choose how long you want to disable the antivirus.
  • Open Start > Settings > Update & Security > Windows Security.
  • Select Firewall & Network Protection.
  • Open your active network profile.
  • Turn off Microsoft Defender Firewall.

Method 10: Clean Up Temporary Files

Delete temporary files to remove corrupted data that can interfere with installation. Here are the steps to clean temporary files:

  • Press Windows + R to open the Run dialog box.
  • Type %temp% and press Enter.
  • Press Ctrl + A to select all files.
  • Press Delete.

In case the issue persists, perform a System Restore:

  • Search for System Restore in the Windows search bar.
  • Select a restore point from a date when QuickBooks worked correctly.
  • Follow the on-screen instructions to restore your system.

What are the Alternative Methods to Fix QuickBooks Error 1904?

In case the standard troubleshooting methods do not resolve QuickBooks Error 1904, use the following alternative methods for specific scenarios, such as conflicts with Bitdefender, Adobe Flash Player installation issues, or errors related to the QBversionTool.dll file.

Condition 1: In case You Use Bitdefender Antivirus

Bitdefender can block QuickBooks installation files even when you temporarily disable the antivirus. Here are the steps to add QuickBooks folders to the Bitdefender exclusion list:

  • Add C:\Program Files\Common Files to the exclusion list on 32-bit systems.
  • Add C:\Program Files\Intuit or C:\Program Files (x86)\Intuit to the exclusion list on 64-bit systems.
  • Save the changes and run the QuickBooks installer again.

Note: Simply turning off Bitdefender does not resolve this issue. You must add the QuickBooks folders to the exclusion list.

Condition 2: In Case the Error Occurs During Adobe Flash Player Installation

A damaged Adobe Flash Player ActiveX component can trigger Error 1904 during QuickBooks installation. Here are the steps to reinstall Adobe Flash Player:

  • Download and install the QuickBooks Tool Hub.
  • Run the QuickBooks Install Diagnostic Tool.
  • Uninstall Adobe Flash Player ActiveX from Control Panel > Programs and Features.
  • Press Windows + R, type Control Panel, and click OK.
  • Select Uninstall a Program.
  • Choose Adobe Flash Player ActiveX and click Uninstall.
  • Follow the on-screen instructions to complete the removal.
  • Download and reinstall Adobe Flash Player from Adobe’s official website.

Condition 3: In case the Error Mentions QBversionTool.dll

The QBversionTool.dll error usually indicates damaged installation files or insufficient folder permissions.

Method 1: Run the QuickBooks Install Diagnostic Tool

Use the Install Diagnostic Tool to repair QuickBooks installation components automatically. Here are the steps to run the tool:

  • Open the QuickBooks Tool Hub.
  • Run the QuickBooks Install Diagnostic Tool.
  • Restart your computer.
  • Reinstall QuickBooks Desktop.

Method 2: Check Folder Permissions and Use the Built-in Administrator Account

Verify that Windows allows you to create files in the QuickBooks installation directory. Here are the steps to test folder permissions:

  • Press Windows + R to open the Run dialog box.
  • Type notepad and click OK.
  • Type QBTEST in the blank file.
  • Click File > Save As.
  • Save the file to one of the following folders:
  • C:\Program Files\Common Files on 32-bit systems.
  • C:\Program Files (x86)\Common Files on 64-bit systems.
  • In case Windows does not let you save the file, update the folder permissions and reinstall QuickBooks using the built-in Administrator account.

You may read this: Resolve Error 1603 in QuickBooks Desktop

How to Prevent QuickBooks Error 1904

To avoid running into QuickBooks Error 1904 while installing or updating QuickBooks, make sure you follow these preventative steps.

  • Run the QuickBooks installer with administrative rights so that it has the ability to properly register files.
  • Log on to the computer using a local Windows Administrator account.
  • You may temporarily disable your antivirus or firewall. If you want, you may exclude QuickBooks setup files from your security software.
  • Download and apply all current Windows updates so that Windows components will be compatible with QuickBooks.
  • Enable and update Microsoft .NET Framework, MSXML, and Visual C++ Redistributables.
  • If your QuickBooks version continues to use Adobe Flash Player ActiveX, update or reinstall the player.
  • Confirm that your user account has full control over the QuickBooks installation folders.
  • Use the Clean Install Tool to remove leftover files from a previous installation attempt.
  • To automatically fix installation errors, download and run the QuickBooks Tool Hub and then run the QuickBooks Install Diagnostic Tool.
  • Attempt to repair corrupted Windows files by running System File Checker (SFC) and DISM.
  • Restart your computer prior to installation in order to shut down unneeded background applications and processes, and to free up locked files on your system.
  • Download a new copy of the QuickBooks installer from Intuit’s website.

Conclusion

QuickBooks Error 1904 occurs when Windows blocks QuickBooks from registering essential files during installation. Apply the methods outlined above to repair system components, adjust permissions, and remove software conflicts. In case the QuickBooks installation error 1904 continues, run the QuickBooks Tool Hub or contact Intuit support to complete the installation successfully.

Call Now+1-800-961-4963