Support Files: The Role of .ND and .TLG Files in QuickBooks Recovery

When managing a QuickBooks Desktop installation, you will notice two small files created directly alongside your main .QBW company file: a Network Descriptor (.ND) file and a Transaction Log (.TLG) file.

These auxiliary files are not disposable junk data. They are vital components of the Sybase database architecture. Understanding their function is critical for diagnosing multi-user connection failures, resolving 6000-series errors, and rescuing transactions after a database crash.

Fast-Fix: The Role of .ND and .TLG Files

The .ND file acts as a network signpost directing workstations to the database host, while the .TLG file records all transaction changes between backups. If QuickBooks fails to open or throws errors like 6190 or 6000, safely rename both files to .ND.OLD and .TLG.OLD. QuickBooks automatically recreates a fresh .ND and .TLG upon opening the file, immediately clearing connection locks and pointer corruption.


Quick Status & Triage Snapshot

  • Data Risk Tier: Low to Medium (Deleting .ND is zero-risk; deleting .TLG resets your transaction recovery safety net)
  • Multi-User Impact: High (A corrupted .ND file prevents every workstation from connecting to the server)
  • Common Trigger: System crashes, network disconnections, power outages, or moving files between folders
  • Estimated Resolution Time: 5 minutes to recreate support files

Technical Anatomy: How .ND and .TLG Files Function

QuickBooks Desktop uses an embedded Sybase SQL database engine. The application cannot interact with the raw .QBW file in multi-user mode without these two support files.

+-----------------------------------------------------------+
|                   QuickBooks Workstation                  |
+-----------------------------------------------------------+
                              |
                     Reads .ND Configuration
                              v
+-----------------------------------------------------------+
|                     Network Share                         |
|  [Company.qbw.nd]  --> Provides IP, Port, and Engine Name |
+-----------------------------------------------------------+
                              |
                    Connects to Server Port
                              v
+-----------------------------------------------------------+
|                 Server Database Manager                   |
|                   (QBCFMonitorService)                    |
+-----------------------------------------------------------+
         |                                         |
Writes Live Data                         Logs Changes First
         v                                         v
+------------------+                     +------------------+
|   Company.qbw    |                     |   Company.tlg    |
| (Primary Ledger) |                     | (Audit & Recovery|
+------------------+                     +------------------+

The Network Descriptor (.ND) File

The .ND file is a plain-text configuration file generated by the QuickBooks Database Server Manager. It tells client workstations how to communicate with the host computer. It contains:

  • The local IP address of the server hosting the file.
  • The specific port assigned to the QuickBooks Database Manager service.
  • The database engine name.
  • The path to the company file.
  • The multi-user hosting mode (0 = Single User, 1 = Multi-User Server).

If the server’s IP address changes, or if the file is moved to a new drive without updating the .ND file, client machines will ping the wrong address, triggering errors such as H202, H505, or Error 6000, -77.

The Transaction Log (.TLG) File

The .TLG file is an active, binary transaction log running alongside your database. Whenever you enter an invoice, edit a vendor, or record a payment, QuickBooks writes that operation to the .TLG file before it commits the change to the primary .QBW data file.

This write-ahead logging serves two critical purposes:

  1. Crash Protection: If power drops mid-entry, QuickBooks reads the .TLG upon restart to determine whether the transaction was fully written, rolling back incomplete entries to prevent table corruption.
  2. Disaster Recovery: If your main .QBW file is damaged, an intact .TLG file can be applied against an older backup to rebuild missing financial records up to the exact moment of failure.

Diagnostic Flowchart: Support File Decision Path

  • Is the problem a multi-user connection block (e.g., Error H202, 6000-series)?
    • Yes: The .ND file contains stale network pointers. Renaming the .ND file forces QuickBooks to re-scan the folder and generate accurate network settings.
    • No: Proceed to data integrity checks.
  • Does QuickBooks report an Error 6190, -816 (“Company file is already in use”)?
  • Is your .TLG file significantly larger than your .QBW file (several gigabytes)?
    • Yes: The transaction log has not been truncated. Running a standard manual backup with verification is required to reset it.

Step-by-Step Guide: Managing and Resetting Support Files

Step 1: Safely Rebuilding .ND and .TLG Files

When you encounter file opening blocks or multi-user setup failures, rebuilding these files is the standard first-line diagnostic fix.

  1. Close QuickBooks on all workstations and on the server.
  2. Open Windows File Explorer on the host computer and browse to the directory containing your company file.
  3. Locate the files sharing your company name with the extensions .ND and .TLG (for example, CompanyFile.qbw.nd and CompanyFile.qbw.tlg).
  4. Right-click CompanyFile.qbw.nd and select Rename. Change the name to CompanyFile.qbw.nd.old.
  5. Right-click CompanyFile.qbw.tlg and select Rename. Change the name to CompanyFile.qbw.tlg.old.
  6. Open QuickBooks Desktop and log into the company file normally. QuickBooks will automatically generate fresh .ND and .TLG files.

For a deeper dive into this procedure when addressing complex 6000-series codes, follow Manual Fix: Renaming .ND and .TLG Files to Resolve 6000-Series Errors.

Step 2: Shrinking a Bloated .TLG File

A .TLG file grows continuously with every transaction entered. If left unmanaged, it can expand to dozens of gigabytes, exhausting hard drive space and slowing down database operations.

The only supported method to shrink the .TLG file safely is creating a full verification backup:

  1. Open QuickBooks in single-user mode.
  2. Navigate to File > Back Up Company > Create Local Backup.
  3. Select Options and ensure that Complete verification (recommended) is checked.
  4. Complete the backup to a local or external drive.

During complete verification, QuickBooks validates all transactions, checks consistency between the .TLG and .QBW, clears committed transaction records, and resets the .TLG file to a baseline size (typically under 1 megabyte).

For step-by-step optimization strategies, read .TLG File Fix: How to Truncate Transaction Logs to Boost Performance.


Using the .TLG File for Data Recovery

In critical failure scenarios where a .QBW file suffers irreparable corruption or physical storage failure, the .TLG file is your ultimate safety net.

If you have:

  • A clean backup file (.QBB) created on Friday.
  • A surviving, uncorrupted .TLG file from Tuesday afternoon (when the drive failed).

A data recovery specialist can use specialized database utilities to replay the transactions logged between Friday and Tuesday directly into the restored Friday database. This restores four days of complex data entry that would otherwise require manual re-keying.

To understand the mechanics of transactional log reconstruction, review .TLG Recovery: How to Recover Data from a Damaged Transaction Log File.


Important Warnings Regarding .ND and .TLG Files

  • Never delete a .TLG file if your main database is damaged. If your .QBW file will not open due to data damage, deleting the .TLG file eliminates the transaction trail required for forensic recovery. Only rename or remove it after confirming that a valid, verified backup exists.
  • Do not place support files in separate directories. The .ND and .TLG files must reside in the exact same directory as the .QBW file. Moving the .QBW file alone will disconnect it from its transaction log and break multi-user network routing.
  • Watch for damage in support files after sudden reboots. Power outages frequently damage the open .ND and .TLG files. If workstations cannot reconnect after an unclean shutdown, see QuickBooks Error 6000, -305: How to Repair Damaged Support and Log Files.