Quick answer

The QuickBooks Install Diagnostic Tool checks and repairs the Windows components QuickBooks Desktop depends on: the .NET Framework, MSXML (Microsoft XML Core Services), and the Microsoft Visual C++ redistributables. Run it from the Tool Hub's Installation Issues tab when an install, update, or launch fails with errors such as 1722 or 3371. Intuit says the tool can take up to 20 minutes, and Windows must be restarted afterward.

What the Install Diagnostic Tool actually repairs

The Install Diagnostic Tool is not a company-file tool. It repairs the Windows plumbing that the QuickBooks Desktop installer and program rely on. When a component is damaged, missing, or registered incorrectly, setup stalls, updates roll back, or QuickBooks opens and closes before you can work.

Intuit groups the supported repairs into three component families. Here is what each one does and how damage typically looks on screen.

ComponentTypical error or symptomWhat the tool does
Microsoft .NET Framework 4.8Setup or update reports a problem installing the .NET Framework and stops partwayRepairs or reinstalls the runtime QuickBooks requires
MSXML (Microsoft XML Core Services)Setup stays on Installing MSXML 4.0; error C=343 "Filename.dll is not an executable file"; "Exception msxml could not cocreate instance"Re-registers and reinstalls the XML services QuickBooks uses
Microsoft Visual C++ redistributablesSetup or launch fails with C++ runtime errors, often alongside other component errorsRepairs the Visual C++ runtime libraries

During installation, QuickBooks reads its registration file, QBRegistration.dat, through MSXML 4. If that Windows component is missing or unregistered, the installer cannot read the file and stops. That is why a damaged MSXML can block a QuickBooks install completely while everything else on the PC works fine.

Symptoms that point to a component problem

  • QuickBooks Desktop installation freezes at Installing MSXML 4.0 and never continues.
  • An install or update ends with error 1722, error 3371, or a .NET Framework installation message.
  • Error C=343 appears with the wording "Filename.dll is not an executable file".
  • QuickBooks starts, then closes with "An unrecoverable error has occurred. Exception msxml could not cocreate instance."
  • The same failure follows every Windows account on the machine, and reinstalling QuickBooks by itself changes nothing.

If your only symptom is a company-file error, this is the wrong tool. Use the QuickBooks Tool Hub guide to pick the right tab, or work the matching error guide first, such as error 1722 or error 3371.

Before you run the tool

  • Time: plan for 15 to 30 minutes. Intuit says the scan and repair can run up to 20 minutes, and the required restart plus the QuickBooks update add more.
  • Access: a Windows account with administrator rights, and the ability to approve a UAC prompt.
  • Tool version: the current QuickBooks Tool Hub, version 1.6.0.8. Older builds can fail to launch the diagnostic tool.
  • Environment: close QuickBooks and its background processes, and keep the computer awake and plugged in.
  • Software: an internet connection and free space on the system drive for component installers.

Back up before any repair session. Copy the entire company-file folder — the .QBW plus its .TLG, .ND, and .DSN companions — to an external drive. The Install Diagnostic Tool touches Windows components, not your data, but when a repair fails the next step is often an uninstall and reinstall, so you want an untouched copy on hand.

How to run the Install Diagnostic Tool from Tool Hub

1

Close QuickBooks and end its background processes

Close QuickBooks, then open Task Manager with Ctrl + Shift + Esc and check the Details tab for QBW32.exe, QBDBMgr.exe, QBDBMgrN.exe, QBCFMonitorService.exe, and QBUpdate.exe. End any process you find. Tool Hub is designed to run with QuickBooks closed, and a leftover process can block the component installers.

2

Install or update the QuickBooks Tool Hub

Download the current Tool Hub from Intuit and run QuickBooksToolHub.exe. If Tool Hub is already installed, open it and check the version on the Home tab. Version 1.6.0.8 is the current build; if yours is older, install the new one over it. If Microsoft Defender blocks the installer, choose More info, then Run anyway.

3

Open the Installation Issues tab

In Tool Hub, select Installation Issues. This tab collects the tools that fix problems when installing or uninstalling QuickBooks Desktop, including error 3371. Do not open QuickBooks while you work in Tool Hub.

4

Start the QuickBooks Install Diagnostic Tool and let it run

Select QuickBooks Install Diagnostic Tool and approve the Windows permission prompt. The tool downloads and installs the component packages it needs, and the first download can take a few minutes. Keep the window open and leave the computer alone. A progress indicator may sit still while a component installs; that is normal. Intuit says the full run can take up to 20 minutes.

5

Restart Windows

When the tool reports that it has finished, restart the computer. Do not open QuickBooks first. The restart lets Windows finalize the .NET, MSXML, and Visual C++ registrations, and skipping it is the most common reason the same error reappears after a repair.

6

Open QuickBooks and update to the latest release

Start QuickBooks Desktop and open your company file. Then go to Help → Update QuickBooks Desktop, open the Update Now tab, and select Get Updates. Updating restores the most recent fixes and security patches for the platform. If your original problem was an installation error, retry that install or update only after the restart is complete.

When the tool fails, loops, or never finishes

A single failed pass is not a dead end. Work through these in order and stop as soon as the tool completes and QuickBooks opens.

  1. Give it the full 20 minutes. The tool can appear idle while it downloads or installs a component in the background. Keep the installer window open — Intuit notes a downloaded tool can take two to three minutes before it runs.
  2. Reboot and run it once more. If the same pass restarts from the beginning, a pending Windows or .NET update may be holding a file lock. Finish Windows Update, restart, then retry.
  3. Confirm the Tool Hub build. Reinstall version 1.6.0.8 and launch Tool Hub by right-clicking it and choosing Run as administrator.
  4. Check your security software. Look in your antivirus quarantine or protection log for a blocked Tool Hub or component installer. Allow the file using the vendor's documented method, then retry. Do not leave antivirus disabled afterward.
  5. Run Quick Fix my Program first. In Tool Hub, open Program Problems, run Quick Fix my Program, restart, and then rerun the Install Diagnostic Tool.
  6. Repair the components manually. For MSXML on a 64-bit PC, open Command Prompt as administrator, run cd\windows\syswow64, then regsvr32 MSXML6.dll. For .NET, run Microsoft's .NET Framework repair or installer package; for Visual C++, reinstall the current Microsoft Visual C++ Redistributable. Download both from Microsoft, never from a mirror site.
  7. Do a clean reinstall. Uninstall QuickBooks Desktop from Programs and Features, restart, and install it again with your license number. This recreates the folders QuickBooks uses and resolves leftover-install problems that component repair cannot reach. Follow the clean install walkthrough so you do not delete company files.
  8. Install in Selective startup. If the installer still fails, use Intuit's Selective startup procedure to disable startup programs and non-Microsoft services for the install, then re-enable them afterward.

How to verify the repairs worked

  1. Open QuickBooks Desktop and your company file as a normal user, not as administrator. It should reach the company file without a component error.
  2. Press F2 and confirm the Product Information window shows the expected product, version year, and release.
  3. Run Help → Update QuickBooks Desktop and confirm updates download and install without a .NET or MSXML message.
  4. Run a functional check: open an invoice or report, print preview it, and save it as a PDF. Those features exercise the XML and printing paths QuickBooks depends on, so they are a quick smoke test after a repair.
  5. If the original failure happened during setup, run that same installer or update again. A clean pass confirms the component registration held.
  6. As a component-level check, open Settings → Apps → Installed apps and confirm you can see Microsoft .NET Framework 4.8 or later, MSXML, and a Microsoft Visual C++ 2015–2022 Redistributable entry.

If the problem persists

If the Install Diagnostic Tool completes and the error still returns, the cause is probably not component damage. A broken Windows Installer service is the classic example: error 1628 ("Failed to complete script based install") comes from Windows Installer itself, and Intuit recommends an IT professional or Microsoft support for it. The same applies to errors that follow a specific Windows account, which usually means a permissions problem rather than a corrupted runtime.

Other remaining causes include an unsupported operating system or an ARM-based PC, endpoint security that blocks installer writes, and leftover files from an interrupted uninstall. Work through the error 1603 troubleshooting order for the broader installer-failure path, and keep the exact error text and code in front of you when you escalate to Intuit or your IT provider.

Prevention

  • Keep Windows Update turned on so .NET, MSXML, and Visual C++ security fixes install on schedule.
  • Install QuickBooks Desktop updates with Help → Update QuickBooks Desktop instead of skipping releases for months.
  • Keep Tool Hub current; old builds fail on newer Windows releases.
  • Avoid registry cleaners and driver-updater utilities. They can unregister the exact components this tool exists to repair.
  • Pause third-party antivirus during a QuickBooks installation using the vendor's documented method, then turn protection back on.
  • If you must uninstall QuickBooks, let the uninstaller finish and restart before reinstalling; interrupted uninstalls leave the component registrations in a partial state.

Frequently asked questions

Will the Install Diagnostic Tool delete my company file or transactions?

No. The tool repairs Windows components — the .NET Framework, MSXML, and Visual C++ runtimes — and never opens your company file. Your data is not touched. Back up anyway, because a failed repair can lead to an uninstall and reinstall, and the backup is your protection against a mistake during that process.

How many times can I run the tool?

As many times as needed. It is a repair utility, not a limited-use product. Running it twice is normal: once to repair, then again after a Windows update or a failed install attempt. If it fails at the same point three times in a row, stop repeating it and move to the manual component repairs or a clean reinstall.

Why does it always stop at "Installing MSXML 4.0"?

That message means the MSXML component is damaged or another process is locking its files. Restart the PC and run the tool again. If it sticks at the same point, register MSXML manually from an elevated Command Prompt with regsvr32 MSXML6.dll, then retry the tool. A security product blocking the MSXML installer can also cause this loop; check its logs.

Does this tool work for QuickBooks Online?

No. QuickBooks Online runs in a browser and has no installer, so there are no Windows components to repair. The Install Diagnostic Tool is only for QuickBooks Desktop for Windows. If your issue is an install or update error, see the installation guide after the repair succeeds.

Should I run it before installing QuickBooks for the first time?

No. Run it only when an installation, update, or launch actually fails with a component-related error. A healthy Windows 11 machine does not need the tool first, and the QuickBooks installer already includes the .NET 4.8 runtime it needs.