QuickBooks Error 6150, -1006 occurs when QuickBooks Desktop fails to generate a new company file, save a newly created file, or open an existing database. The error dialog typically states: “An error occurred when QuickBooks tried to create the company file.” This failure is caused by restricted folder write permissions, active interference from antivirus software, saving to an unmapped or network path, or corrupted installation templates. You can fix Error 6150, -1006 by saving the file to a local drive, creating the file from a clean template, or using the QuickBooks Tool Hub to repair program components.
Fast-Fix: The 45-Second Solution
To fix QuickBooks Error 6150, -1006, create the company file on your local C: drive instead of a network folder or external drive. In the EasyStep Interview, change the save location to
C:\Users\Public\Documents\. If the error persists, temporarily disable real-time antivirus protection during setup, or open QuickBooks without a company file, select “Open a sample file,” and save a copy of the sample file under your desired company name.
Quick Status & Triage Snapshot
- Data Risk Tier: Low to Medium. When occurring during file creation, no financial data exists yet. If it occurs while opening an existing file, it indicates that the file header or extension has become unreadable.
- Multi-User Impact: Localized. Typically blocks the user currently attempting to create or open the file on that specific workstation.
- Common Triggers: Creating a company file directly inside a shared network directory, real-time antivirus software intercepting the creation of temporary database files, or corrupted template files in the QuickBooks program directory.
- Estimated Fix Time: 10 to 15 minutes.
Technical Anatomy: Why the File Creation Engine Aborts
When you complete the setup interview to build a new company file, QuickBooks Desktop executes a complex initialization sequence:
- Template Extraction: QuickBooks reads a baseline database template file (such as
newfile.qbw) stored in its program directory. - Schema Instantiation: The software generates local database tables, sets up cryptographic provider tokens for sensitive data, and creates initial Chart of Accounts structures.
- Database Attachment: The newly initialized database is attached to the local Sybase engine, which writes temporary
.DSN,.ND, and transaction log files.
Error 6150, -1006 occurs when this process is blocked. If your operating system denies write privileges to the target folder, if an antivirus scanner locks the newly generated file while QuickBooks is still assembling its tables, or if the base template itself has missing or corrupted binaries, the setup process aborts immediately.
Diagnostic Flowchart: Error 6150, -1006 Decision Path
Start: Error 6150, -1006 appears during file creation or launch
│
├──> Were you attempting to save the new file to a network share or external drive?
│ ├── YES ──> Change the save directory to a local drive (e.g., C:\Users\Public\Documents\).
│ └── NO ──> Does the error appear when opening an existing file?
│
├──> Opening an existing file?
│ ├── Check file extension: Is it .QBM or .QBB renamed to .QBW?
│ │ └── YES ──> Restore the file properly via File > Open or Restore Company.
│ └── Extension is correct (.QBW)? ──> Run QuickBooks File Doctor.
│
├──> Creating a new file locally still fails?
│ ├── Test: Can you open a built-in Sample Company file?
│ │ ├── YES ──> Use "Save As" on the sample file to bypass the broken wizard.
│ │ └── NO ──> Core program components or templates are damaged.
│
└──> Run Quick Fix my Program or perform a Clean Install via QuickBooks Tool Hub.
Step-by-Step Repair Guide
Work through these steps in order to bypass the file creation failure.
Step 1: Isolate the Save Location to a Local Directory
Attempting to create a company file directly over a network path, VPN connection, or mapped drive frequently triggers Error 6150, -1006 due to latency in table construction.
- Open QuickBooks Desktop.
- In the setup wizard or EasyStep Interview, proceed until prompted to choose a file name and save location.
- Click the Browse or Save in drop-down menu.
- Point the destination directly to your local primary drive:
C:\Users\Public\Documents\ - Enter a basic file name without special characters (
&,%,#,@). - Complete the wizard.
- Once the file is created successfully and opens on your desktop, you can close QuickBooks and copy the resulting
.QBWfile over to your shared network server folder.
Step 2: Test File Creation with a Built-In Sample Company File
Testing a sample file isolates whether the problem lies with your input data or with the core QuickBooks program templates.
- Launch QuickBooks Desktop to the No Company Open window.
- Click the Open a sample file drop-down menu and select any sample business (e.g., Sample service-based business).
- If the sample file opens without errors:
- Go to File > Save As…
- Save the file to your local
C:\Users\Public\Documents\directory under your real company name. - Go to Lists > Chart of Accounts, delete the sample transactions and accounts, and proceed with your fresh company file.
- If the sample file fails to open or produces Error 6150, the QuickBooks installation files themselves are damaged.
Step 3: Run Quick Fix my Program from the QuickBooks Tool Hub
When background components or crypto-provider registrations are damaged, QuickBooks cannot write encrypted security tokens during file setup.
- Close QuickBooks Desktop.
- Open the QuickBooks Tool Hub.
- Select the Program Problems tab from the left sidebar.
- Click Quick Fix my Program.
- The tool will shut down lingering QuickBooks background tasks, reset registry associations, and clear temporary operational caches.
- Once the process completes, relaunch QuickBooks and attempt to create your company file.
If QuickBooks closes unexpectedly without an error dialog while performing these steps, see QuickFix: Resolving Sudden QuickBooks Closure Without Error Codes.
Step 4: Temporarily Adjust Antivirus and Security Software
Overly aggressive endpoint protection can flag new .QBW database files as unknown binaries and lock them before the EasyStep wizard finishes writing data tables.
- Temporarily pause the real-time scanning module of your antivirus software (e.g., Windows Defender, Norton, Bitdefender).
- Attempt to create the new company file again.
- If the file is created successfully, add an exclusion rule for QuickBooks processes (
qbw32.exe) and the.QBWfile extension. - Re-enable your antivirus software immediately.
To learn more about preventing antivirus interference without compromising system security, consult Antivirus Settings: Is Real-Time Scanning Slowing Down Your Company File?.
Step 5: Verify File Extensions on Existing Files
If Error 6150, -1006 occurs when trying to open an existing file, check whether a backup or portable file was renamed incorrectly.
- Open Windows File Explorer and navigate to your company file folder.
- In the top menu, ensure that File name extensions are set to visible.
- Check the ending of your file:
- A standard company file must end in
.QBW. - If the file was manually renamed from
Company.qbborCompany.qbmtoCompany.qbw, the file header will be unreadable and throw Error 6150.
- A standard company file must end in
- If you have a backup file, restore it properly via File > Open or Restore Company > Restore a backup copy, rather than manually changing the file extension.
If restoring a portable company file fails, follow Portable Files: How to Fix .QBM Restore Failures in QuickBooks Desktop.
Differential Diagnosis: Error 6150 vs. Other File Opening Errors
- Error 6150, -1006 vs. Error 6000, -80: Error 6000, -80 occurs when an existing, functional company file suffers internal structural data corruption. Error 6150, -1006 occurs at the moment of file creation or when opening a file with an invalid or damaged file header.
- Error 6150, -1006 vs. General Network Errors: If the error only appears when saving across a network but never when saving locally, the issue is not data damage. It is a timeout caused by network latency or folder security policies. Run The 6000 Series Master Fix: Troubleshooting with QuickBooks File Doctor to repair network permissions.
Hard Stop: Database Template Corruption and Clean Install
If you cannot create a new file, cannot open sample files, and the error persists across multiple local directories, the default template database files inside C:\Program Files\Intuit\QuickBooks [Year] are corrupted.
Download the Tool Hub and perform a full clean reinstallation using the Clean Install Tool: Using the QuickBooks Tool Hub to Fix Corrupt Installs. This removes all broken template files, replaces damaged components, and ensures a clean installation.