QuickBooks Error 6168, -6

Let’s Dive in to see…

How to Fix QuickBooks Error=6168, -6

QuickBooks Payroll Error PS060

QuickBooks Company File Error · Version Mismatch

How to Fix QuickBooks Error 6168, -6

QuickBooks displays: "QuickBooks is unable to open this company file. It may have been opened by another version of QuickBooks. Please close the other version of QuickBooks and try again. Error Code: (-6168, -6)"

Error 6168, -6 is a company file version lock — the company file was last used with a different QB version than what's currently trying to open it, and the version lock hasn't been released. At QuickFix Bookkeeping, 6168 is distinct from the 6189/6190 series (multi-user hosting errors): 6168 appears in single-user mode when QB detects a version mismatch or a stale version lock in the company file. The fix is always to clear the version lock — not to repair the file.

The QuickFix Bookkeeping Distinction — 6168 vs 6189 vs 6190

6168 — this page

Version lock — file was last opened in a different QB version, or version lock wasn't properly released. Single-user issue. Fix: clear version lock, rename .ND.

6189, 816

Multi-user transaction log mismatch — .TLG doesn't match .QBW. Fix: rename .TLG + QBDSM rescan. Multi-user environment issue.

6190, 816

Multi-user hosting mismatch — multiple users see conflicting file states. Fix: restart QB on server, rename .TLG. Multi-user hosting issue.

What Causes QuickBooks Error 6168, -6?

Stale Version Lock in Company File

Primary cause — QB writes a version identifier into the company file when it opens it. If QB crashed or was forcibly closed without properly unlocking the file, the version lock remains. When a different QB version (or even the same version on a different installation) tries to open it, 6168 appears. Renaming the .ND file clears the lock.

Multiple QB Versions Installed

Two QB versions are installed (e.g., QB 2022 and QB 2024). The file was last opened in QB 2022. QB 2024 tries to open it and sees the 2022 version lock — reports 6168. Open the file in QB 2022 first → close it properly → then open in QB 2024 which will convert it.

File Was Opened on Another Computer

The company file was opened on Machine A (QB 2023) and then copied to Machine B (QB 2024). The version lock from Machine A's QB 2023 session is still embedded. Machine B's QB 2024 sees the wrong version lock and reports 6168.

Corrupted .ND File

The .ND (Network Data) file contains version and hosting information. A corrupted .ND can contain incorrect version data that triggers 6168 even when only one QB version is installed. Renaming the .ND forces QBDSM to rebuild it with the correct current version information.

QB Not Fully Closed Before File Moved

The company file was moved or copied while QB was still open (even minimised to taskbar) — QB had the file open with its version lock applied. When QB is reopened and tries to access the moved file, the lock path mismatch causes 6168.

Restored Backup from Different QB Version

Restoring a .QBB backup created in a newer QB version into an older QB version triggers 6168 because the restored file contains a newer version identifier. The solution is to install the QB version that matches or exceeds the backup's version.

How to Fix QuickBooks Error 6168, -6

METHOD 1Close All QB Sessions + Rename .ND + QBDSM RescanResolves most Error 6168 cases
1

Close all QB: close every QB window on every machine. Task Manager → confirm no QBW32.exe processes running. This ensures no other QB instance holds the version lock.

2

Rename .ND + QBDSM rescan: navigate to company file folder → rename YourFile.QBW.ND to YourFile.QBW.ND.OLD → open QBDSM on the server → Scan Folders → Start Scan. QBDSM rebuilds the .ND with the current version information. Try opening the company file → 6168 should be gone.

METHOD 2Open in Older QB Version First + Update QBMultiple QB versions installed — version mismatch
1

If two QB versions are installed: press F2 in QB to check the QB version → compare to the version that last opened the file. Open the file in the matching older version → File → Close Company → exit QB → open the newer QB version → open the same file → QB prompts to update the file format → confirm. The file is now on the newer version.

METHOD 3Run File Doctor + Restore from Backup6168 persists after .ND rename
1

Tool Hub → Company File Issues → Run QuickBooks File Doctor → Check your file and network → run. If 6168 persists: check the QB version on every computer that has ever opened this file — ensure the machine currently opening it has a QB version equal to or newer than the last machine to open it. If a newer machine opened it: install the matching QB version or restore from a backup created in an older version.

Related QuickBooks Errors

Error 6168 Persisting After .ND Rename and QBDSM Rescan?

Let QuickFix Bookkeeping Identify the Version Conflict.

Persistent 6168 after .ND rebuild means the version lock is embedded deeper in the file header — we identify the QB version that last wrote to the file and match the opening environment to it.

Book a Free 30-Minute Consultation

No obligation. Same-day response.