How to Repair Corrupted QBW Company File QuickBooks — Error 6123,0 & Rebuild
Diagnose QuickBooks Error -6123, 0, -6000, -83, -6000, -77, Unrecoverable Errors, and .ND/.TLG locks. Paste your QBWin.log snippet to parse Sybase corruption signatures, generate server PowerShell fixes, and print an audit-ready recovery checklist.
.qbw company file and fix Error -6123, 0, copy the .qbw locally, rename its companion .nd and .tlg files to .old, restart QuickBooksDBXX, and run File → Utilities → Rebuild Data. If native Rebuild fails, use Stellar Repair for QuickBooks for Sybase table extraction.QBWin.log snippets, file sizes, and accounting metadata never leave your browser. Zero server uploads.QuickBooks QBW Error & Damage Diagnostic Tool
-6123, 0: Multi-User Network Connection & Backup Restore Handshake Failure
Root Cause: QuickBooks lost its TCP/IP handshake with QuickBooks Database Server Manager (ports 8019, 56728, 55378-55382), or a .QBB backup was restored across a mapped network drive instead of a local C:\ volume.
Native Repair Outlook: High (85% resolved by local restore + firewall/service reset)
- 1Copy the .QBW or .QBB file to a local folder on the host server (e.g., C:\QB_Recovery) — never restore directly over a UNC or mapped network drive.
- 2Rename the companion .ND and .TLG files to .ND.OLD and .TLG.OLD to clear stale IP/port bindings.
- 3Open services.msc on the host server and restart QuickBooksDBXX (where XX matches your QuickBooks year).
- 4Open Windows Defender Firewall and allow TCP ports 8019, 56728, and 55378-55382 inbound and outbound.
- 5Launch QuickBooks in Single-User Mode and run File -> Utilities -> Verify Data, then Rebuild Data.
# Run as Administrator on the QuickBooks Host Server
Stop-Service -Name "QuickBooksDB*" -Force -ErrorAction SilentlyContinue
New-NetFirewallRule -DisplayName "QuickBooks DB Server Ports" -Direction Inbound -LocalPort 8019,56728,55378-55382 -Protocol TCP -Action Allow -ErrorAction SilentlyContinue
$qbDir = "C:\Users\Public\Documents\Intuit\QuickBooks\Company Files"
if (Test-Path $qbDir) {
Get-ChildItem -Path $qbDir -Filter "*.nd" | Rename-Item -NewName { $_.Name + ".old" } -ErrorAction SilentlyContinue
Get-ChildItem -Path $qbDir -Filter "*.tlg" | Rename-Item -NewName { $_.Name + ".old" } -ErrorAction SilentlyContinue
}
Start-Service -Name "QuickBooksDB*"
Write-Host "Ports opened, .ND/.TLG rotated, and QuickBooksDB service restarted."Stellar Repair for QuickBooks (Deep .QBW Table Extraction)
Native File → Utilities → Rebuild Data cannot repair broken Sybase ASA headers, severe LVL_ERROR B-Tree corruption, or multi-gigabyte QuickBooks Enterprise files that crash mid-rebuild without a recent .QBB backup.
- ✓ Read-only recovery of Chart of Accounts, general ledger, payroll & invoices
- ✓ Repairs corrupted
.QBWand.QBBfiles across Pro, Premier & Enterprise - ✓ Resolves persistent Error -6123, 0, -6000 series & Unrecoverable crashes
- ✓ Preview recoverable company data before committing to a clean
.QBW
IT & Accounting QBW Disaster Recovery Checklist
Audit-ready incident runbook for QuickBooks Desktop & Enterprise recovery
| Done | Phase & Verification Step | Target Outcome / Pass Criteria |
|---|---|---|
| [ ] | 1. Cold Copy Isolation Copy .QBW, .TLG, and .ND to C:\QB_Recovery before any repair. | Original production file preserved bit-for-bit. |
| [ ] | 2. Hosting & Lock Audit Confirm only the central server has Host Multi-User Access ON; kill orphaned QBW32.exe. | Zero workstation hosting conflicts (H202 / -6189 cleared). |
| [ ] | 3. .ND & .TLG Rotation Rename .ND and .TLG to .OLD; restart QuickBooksDBXX service. | Clean network descriptor generated via Database Server Manager. |
| [ ] | 4. Firewall & Port Check Verify TCP ports 8019, 56728, 55378-55382 and NTFS Full Control for QBDataServiceUserXX. | Error -6123, 0 and -6000, -83 multi-user handshake restored. |
| [ ] | 5. Verify & Rebuild Data Run File → Utilities → Verify Data, then Rebuild Data (twice if needed) in Single-User Mode. | Zero LVL_ERROR entries in QBWin.log; Trial Balance matches. |
| [ ] | 6. Escalation Gate If Rebuild crashes or LVL_ERROR persists, scan copy with Stellar Repair for QuickBooks. | Intact Chart of Accounts, payroll & open AR/AP verified by CPA. |
QuickBooks QBW Company File Disaster Recovery & Script Suite
When QuickBooks File Doctor reports unfixable corruption or multi-user lockouts (Error -6000, -83, -6190, H202), this automated toolkit executes local Sybase table reconciliations, rebuilds damaged .ND/.TLG pointers, and extracts uncorrupted audit ledgers without exposing confidential financial records to third-party cloud servers.
Includes Forensic Data Loss Calculator (.xlsx), Rebuild ND/TLG Script & Direct Dodo Checkout
Diagnosing QuickBooks Error -6123, 0, -6000 Series & Enterprise Rebuild Failures
QuickBooks Desktop stores accounting ledgers inside a Sybase Adaptive Server Anywhere (ASA) database wrapped in a .QBW container, paired with a .TLG (Transaction Log) and .ND (Network Data) descriptor. In multi-user Windows Server environments, most startup failures stem from one of two layers:
- Network & Lock Layer (-6123, 0 / -6000, -83 / -6000, -77 / H202): Triggered when Windows Firewall blocks TCP ports
8019or55378-55382, when a workstation enables Host Multi-User Access, or when a.QBBbackup is restored across a mapped drive instead of local storage. - Database Page & Index Layer (Unrecoverable Error / LVL_ERROR): Triggered when power loss, SMB drops, or a bloated
.TLG(>25% of.QBWsize) fractures Sybase B-Tree pointers. If Verify Data and two consecutive Rebuild Data passes still logLVL_ERRORinQBWin.log, native utilities cannot reconstruct the damaged tables.
Frequently Asked Questions
How do I repair a corrupted QuickBooks .qbw company file?
Copy the .qbw file to a local C:\ recovery folder, rename the matching .nd and .tlg files to .old, restart QuickBooksDBXX, and run File → Utilities → Verify Data followed by Rebuild Data in Single-User Mode. If Rebuild fails or QBWin.log reports persistent LVL_ERROR lines, use Stellar Repair for QuickBooks.
How do I fix QuickBooks Error -6123, 0 on a multi-user network?
Error -6123, 0 occurs when QuickBooks loses connection to QuickBooks Database Server Manager or restores a .qbb backup over a network drive. Restore the backup locally first, allow TCP ports 8019, 56728, and 55378-55382 in Windows Firewall, and restart QuickBooksDBXX on the host server.
How do I fix QuickBooks Enterprise Unrecoverable Error during QBW rebuild?
Hold Ctrl while launching QuickBooks to bypass auto-opening the damaged file, test a sample company file to rule out program corruption, and inspect QBWin.log for LVL_ERROR or BTree page errors. If Rebuild Data crashes on a large Enterprise file, run a read-only scan with Stellar Repair for QuickBooks.
What is the difference between QuickBooks Error -6000, -83 and -6000, -77?
Error -6000, -83 indicates missing NTFS/Share permissions for QBDataServiceUserXX or multiple PCs hosting multi-user access. Error -6000, -77 indicates the company file is being opened via a mapped drive letter instead of a UNC path (\\Server\Share) or resides in a Read-Only folder.
Is it safe to delete QuickBooks .ND and .TLG files?
Never delete the .TLG file without first creating a verified .QBB backup, because .TLG holds uncommitted transactions since your last verification. Instead, rename .ND and .TLG to .ND.OLD and .TLG.OLD so QuickBooks Database Server Manager safely regenerates fresh index descriptors.