Repair QuickBooks Company Files: Causes, Symptoms, and Solutions

Last updated on: October 31st, 2026 8 Min Read

Quick Answer

The QuickBooks “Company File In Use” error usually means another user, a wrong hosting setting or the Database Server Manager is locking the file. Close QuickBooks for the user named in the error, choose File > Utilities > Stop Hosting Multi-User Access on workstations, and scan your folder with QuickBooks Database Server Manager. If the error continues, the file itself may be corrupt. Back it up and scan it with SoftMagnat QuickBooks Data Recovery, which previews recoverable data before you save.

When QuickBooks refuses to open a company file, there are two very different problems: the file is locked by a user or network setting, or it is damaged. Example: a bookkeeping office has three PCs sharing one file. On Monday, every PC shows “Company File In Use,” although nobody is working. The file is fine, but one workstation has started hosting it by mistake. This guide covers both cases for QuickBooks Desktop on Windows, so you can repair QuickBooks company files only when repair is really needed.

Which Problem Do You Have?

What you see Likely cause Go to
Error names a user who is not working Stuck user session Fix 1
Error appears on several PCs Wrong hosting settings Fix 2
Works on the server but not on workstations, or H202 / H505 errors Database Server Manager or network Fixes 3 and 4
QuickBooks itself behaves oddly Program problem Fixes 5 and 6
Fails on every PC, errors such as -6000, -80 or -6150, or Verify Data fails Corrupt company file Repair section

Causes of the “Company File In Use” Error

  • Another user, or a stuck session, still has the file open
  • Another program is using the company file in the background
  • Hosting is turned on for the wrong computer
  • QuickBooks Database Server Manager is not running or has not scanned the folder
  • Company file damage

Before You Start

  1. Back up the company file (File > Back Up Company > Create Local Backup) before making changes.
  2. Update QuickBooks to the latest release.
  3. Tell users to save their work before you restart services.

Fix 1: Close the Session of the User Named in the Error

  1. Ask the user named in the error to close and reopen QuickBooks on their PC.
  2. On another computer, open QuickBooks and go to Company > Users > View Users.
  3. Check whether that user is still listed as logged in, and have them sign out.

Fix 2: Check Hosting on Every Workstation

Only the computer that stores the file should host multi-user access. If the error appears on several PCs, check each workstation:

  1. Open QuickBooks and go to File > Utilities.
  2. If you see Stop Hosting Multi-User Access, click it and select Yes.
  3. If you see Host Multi-User Access, leave it as it is.
  4. Repeat on every workstation that does not store the file.

Fix 3: Scan Your Folder with QuickBooks Database Server Manager

  1. Close QuickBooks, then install the free QuickBooks Tool Hub on the server.
  2. Open it, select Network Issues, and click QuickBooks Database Server Manager.
  3. Click Browse to select the folder that holds your company files, then click Start Scan.
  4. When the scan finishes, click Close and try opening the file in multi-user mode.

The scan can repair firewall permissions and reset hosting on workstations, so re-check Fix 2 afterwards. See our guide to resolving common problems with the QuickBooks Tool Hub.

Fix 4: Restart the QuickBooks Database Services

This ends access for all users, so ask everyone to close QuickBooks first.

  1. On the server, press Windows + R, type services.msc and press Enter.
  2. Find QuickBooksDBxx (the number matches your QuickBooks version) and QBCFMonitorService.
  3. Right-click each and choose Restart.
  4. If the problem remains, rename the .ND file beside your company file (for example, add .old) and run the Database Server Manager scan again. It recreates the file.

Fix 5: Run the Tool Hub Repair Tools

In the Tool Hub, open Program Problems and run Quick Fix my Program. Then open Company File Issues and run Quick Fix my File. Run one tool at a time and test QuickBooks after each. If File Doctor stops working, see what to do when QuickBooks File Doctor stops working.

Fix 6: Clean Install QuickBooks

If nothing else works, use the Tool Hub’s Installation Issues > Clean Install Tool, then reinstall QuickBooks on the server. Keep your installation file and license number ready, and back up your company file first.

When the Company File Itself Is Corrupt

If the file fails on every computer, Verify Data reports damage, or you see errors such as -6000, -80 or -6150, the lock is not the problem. Run File > Utilities > Rebuild Data and then Verify Data. For all the manual options, read our QuickBooks company file repair guide. For wrong balances or broken records, see how to fix damaged transactions in QuickBooks.

Use SoftMagnat QuickBooks Data Recovery

If built-in tools fail or you have no usable backup, SoftMagnat QuickBooks Data Recovery can scan the damaged file.

Example: after a server crash, a company’s QBW file shows error -6000 on every PC, and Rebuild Data does not fix it. Scanning the file lets the accountant preview recoverable company, customer, vendor, employee and transaction data, and then save it into a new QuickBooks file.

  • Repairs corrupt QBW company files and recovers data from QBB backups
  • Previews recoverable data before saving
  • Saves into a new file, so the damaged original stays untouched
  • Finds QBW and QBB files when you don’t know where they are
  • Works with Pro, Premier and Enterprise, in several country editions, including the US, UK, Canada and Germany

How to use it: install the tool, select the damaged QBW or QBB file, scan it, preview the data, and save it to a new file.

SoftMagnat QuickBooks Data Recovery home screen

Scanning a damaged QuickBooks company file with SoftMagnat QuickBooks Data Recovery

The free download scans and previews recoverable data, and saving everything needs the full version. Results depend on how badly the file is damaged. Keep the source file on a local drive, not a network share.

Download the free trial | Buy the full version

How to Prevent QuickBooks File Access Problems

  • Host the file from one server only, and run Database Server Manager there.
  • Ask users to close QuickBooks properly, not by switching off the PC.
  • Back up daily and test a restore every month.
  • Use a stable wired network, and a UPS on the server.
  • Run Verify Data regularly and keep QuickBooks updated.

Related Reading

Frequently Asked Questions

What does the QuickBooks “Company File In Use” error mean?

It means QuickBooks thinks another user, program or hosting setting is already using the file. It is usually a locking or network problem, not corruption, so fix hosting and Database Server Manager first.

How do I fix “Company File In Use” in QuickBooks?

Have the user named in the error close QuickBooks, stop hosting multi-user access on workstations, scan the folder with QuickBooks Database Server Manager, and restart the QuickBooks database services. If the file still fails everywhere, check for corruption.

How do I know whether the file is locked or corrupt?

A locked file usually opens on the server or after a restart, and the error names a user or hosting problem. A corrupt file fails on every computer, fails Verify Data, or shows errors such as -6000, -80 or -6150.

Is it safe to rename the .ND file?

Yes. The .ND file only stores network connection details, and QuickBooks Database Server Manager recreates it when you scan the folder again. Your company data is not stored in it.

What should I do if the company file is corrupt?

Back it up, then run Rebuild Data and Verify Data, the Tool Hub’s Quick Fix my File and File Doctor, or restore a backup. If these fail, SoftMagnat QuickBooks Data Recovery can scan the damaged QBW or QBB file.

Can SoftMagnat QuickBooks Data Recovery repair a company file that will not open?

It scans damaged QBW company files and QBB backups and recovers accessible company, customer, vendor, employee and transaction data into a new QuickBooks file. Results depend on the condition of the source file.

Can I preview data before buying SoftMagnat QuickBooks Data Recovery?

Yes. The free download scans the file and previews recoverable data. Saving all recovered data needs the full version.

Does the tool work with QuickBooks US, UK and Canadian editions?

Yes. It works with QuickBooks Pro, Premier and Enterprise in several country editions, including the United States, United Kingdom, Canada, Australia, New Zealand, Germany and South Africa. It is a Windows tool for QuickBooks Desktop.

5/5 - (1 vote)

As a Technical Writer at SoftMagnat Software, I craft precise and straightforward documentation for software users. My goal is to break down technical information into clear, simple content, ensuring users can easily understand and use the products. I focus on creating effective manuals, guides, and tutorials that enhance the overall user experience.