Solution 1: Run the QuickBooks Install Diagnostic tool from the QuickBooks Tool Hub
Step 1: Download and install the QuickBooks Tool Hub
The QuickBooks Tool Hub helps fix common errors. For the best experience, we recommend using Tool Hub on Windows 10, 64-bit.
We recommend you download the most recent version (18.104.22.168) of the QuickBooks Tool Hub. Save the file somewhere you can easily find it (like your Downloads folder or your Windows desktop). Note: If you've already installed Tool Hub before, you can find out which version you have. Select the Home tab. The version will be displayed on the bottom right or you can select About to view the version.
Open the file you downloaded (QuickBooksToolHub.exe).
Follow the on-screen steps to install and agree to the terms and conditions.
When the install finishes, double-click the icon on your Windows desktop to open the tool hub.
Step 2: From the Tool Hub, run the Quickbooks Install Diagnostic tool
The QuickBooks Install Diagnostic Tool automatically will diagnose and fix issues with Microsoft components the QuickBooks program uses.
Open the QuickBooks Desktop Enterprise Tool Hub.
In the tools hub, select Installation Issues.
Select QuickBooks Install Diagnostic Tool. Let the tool run. It can take up to 20 minutes.
When the tool finishes, restart your computer and open QuickBooks.
If you can open and work in QuickBooks, everything is fixed.
If you still see Error 1904, move on to Solution 2.
Solution 2: Manually fix Windows components
If QBInstall and the update didn’t fix the error, you can repair specific Windows components yourself.
However, you should only do these troubleshooting steps if you’re an IT professional, a confident Windows user, or working with the experts from Microsoft support.
Repair or reinstall Microsoft .NET Framework
Repair Microsoft MSXML