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.
| 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 |
Only the computer that stores the file should host multi-user access. If the error appears on several PCs, check each workstation:
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.
This ends access for all users, so ask everyone to close QuickBooks first.
services.msc and press Enter..ND file beside your company file (for example, add .old) and run the Database Server Manager scan again. It recreates the file.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.
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.
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.
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.
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.
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
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.
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.
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.
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.
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.
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.
Yes. The free download scans the file and previews recoverable data. Saving all recovered data needs the full version.
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.
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.
Comments are closed.