Fixing QuickBooks Error -6150, -1006 and Recovering the Company File
QuickBooks error -6150, -1006 blocks company file creation and opening in QuickBooks Desktop. Learn the usual causes, safe fixes, and recovery options.

QuickBooks error -6150, -1006 stops QuickBooks Desktop from creating or opening a company file. The dialog usually blames file damage, a network problem, or a possible security threat, and leaves it there. Here is what the code normally means, and the order we work through it when a file refuses to open.
What does QuickBooks error -6150, -1006 mean?
This is a company file error, not a problem with your books, license, or subscription. It appears when QuickBooks Desktop cannot create a new company file or cannot open an existing one. The .QBW file, the one holding your actual records, sits at the center of it.
The code tells you the file failed, but not why. The cause could be the file itself, its storage location, the network, or the QuickBooks installation. Testing in a sensible order narrows that down quickly.
The usual causes
In our repair work, a handful of causes cover almost every case of this error.
- A damaged company file. Damage can follow a crash, a power cut, or an interrupted save, and it can build quietly over months.
- The file lives in a synced folder. Sync tools can lock or partially upload a company file while QuickBooks still has it open.
- Network trouble in multi-user mode. A dropped connection or a badly configured host machine can block the file from opening.
- A damaged installation. If QuickBooks Desktop itself is broken, it may fail on every company file, not just one.
- Malware. Some infections encrypt files on the machine, and this error has long been linked to that scenario. A file that suddenly will not open is worth a full antivirus scan.
Where to start
Work through these in order, and stop as soon as the file opens.
- Open a sample company file. QuickBooks Desktop ships with sample files. If one opens normally, the program is healthy and the fault lies with your file or its location.
- Update QuickBooks Desktop. Run the update check under the Help menu first. It is free, quick, and it rules the installation in or out early.
- Open the file locally. Copy the .QBW out of any network share or synced folder, put it in a plain local folder, and open it from there.
- Restore, do not double-click. Backup (.QBB) and portable (.QBM) files must be restored through the File menu. Opening them directly will fail.
- Run Intuit’s QuickBooks Tool Hub. The Tool Hub is a free utility set from Intuit. Its File Doctor option checks the company file and the network path, then attempts a fix.
Does the file itself need repair?
If a sample file opens, the update is current, and a local copy still fails, the .QBW itself is probably damaged. Try the built-in Verify and Rebuild Data utilities first; you will find both under the File menu. Rebuild clears a good share of minor damage on its own.
Rebuild has limits, though. When damage sits deep inside the file’s tables, it may finish without fixing anything, or report errors it cannot correct. That leaves two paths: restore your most recent backup, or have the file repaired so the transactions can be recovered.
Repairs of this kind are our daily work, and a file that will not open is usually still recoverable. You can read about our QuickBooks error code repair service to see what the process involves.
Keeping the company file safe afterwards
A few habits prevent most repeat visits of this error.
- Back up on a schedule. A recent .QBB backup turns a file crisis into an hour of inconvenience.
- Keep live files out of synced folders. Sync is fine for closed backup copies, risky for a file QuickBooks is writing to.
- Verify your data regularly. The Verify utility flags damage while it is still small enough to rebuild.
- Keep antivirus protection current. It matters more than people assume with this particular error.
If the file still refuses to open, stop retrying. Repeated attempts can deepen the damage. Make a copy of the .QBW, note the exact error text and when it started, and work from the copy. The transactions in a damaged file are usually recoverable even when the file itself will not open.