QuickBooks Error 1304
Let’s Dive in to see…
How to Fix QuickBooks Error=1304
QuickBooks Installation Error · File Write Failure
How to Fix QuickBooks Error 1304
QuickBooks displays: "Error 1304: Error writing to file [filename]. Verify that you have access to that directory."
Error 1304 is a file write failure during installation. At QuickFix Bookkeeping, Error 1304 is the write-side counterpart to Error 1311 (read failure): 1311 = QB cannot find or read a source file; 1304 = QB found the source file but cannot write it to the destination. The specific filename in the error message (e.g., THBImg45.dll) tells you exactly which file failed to write — useful for diagnosing whether it's a DLL, a .NET component, or a QB program file.
The QuickFix Bookkeeping Distinction — Error 1304 vs Error 1311
Error 1304 — this page (write failure)
Installation found the source file but couldn't write it to the destination. Message: "Error writing to file." Cause: permissions, locked destination folder, damaged .NET. Fix targets destination permissions and write environment.
Error 1311 — read failure
Installation couldn't find or read the source file. Message: "Source file not found." Cause: damaged CD/installer, incomplete download. Fix targets the installation source.
The filename in Error 1304 is your diagnostic clue: if the error names a .dll file in QB's installation folder → permissions on the Program Files directory are the issue. If it names a .NET or MSXML file → those components need repair before QB can install. If it names a temp directory file → the Windows TEMP folder has permission issues. Each scenario has a targeted fix.
What Causes QuickBooks Error 1304?
Insufficient Write Permissions
Primary cause — the installer doesn't have write permission to the destination folder (typically C:\Program Files\Intuit\ or C:\Windows\). Running the installer as Administrator provides the elevated write permissions needed. Windows UAC blocking background write operations causes the same issue without an obvious permission error message.
Antivirus Blocking the Write
Real-time AV intercepts the installer writing an executable or DLL file and blocks or quarantines it. The installer can't complete the write and reports Error 1304 for that file. Temporarily disabling AV during installation, then adding QB's folder to AV exclusions resolves this.
Corrupted or Missing .NET Framework
When the named file in Error 1304 is a .NET component, the .NET Framework installation itself is damaged. The installer tries to write a .NET file but the framework's own write mechanism fails. Repairing .NET Framework or running the QB Install Diagnostic Tool (which repairs .NET) resolves this.
Damaged Installation CD or Source
Though Error 1304 is a write error, a damaged installation source can cause corrupted data to be partially read — and then the write of that corrupted data fails because Windows detects the file is invalid. Copying the installer to the local hard drive (from CD) or re-downloading the installer resolves this.
File Locked by Running QB Process
QB (or its services) is still running when the installer tries to overwrite a file in use. The locked file can't be written and Error 1304 appears for that file. Close all QB windows, stop QB's Windows services (Services.msc → QuickBooksDB and QBCFMonitorService → Stop), then retry installation.
Disk Full — No Space to Write
If the destination drive is nearly full, writes fail with Error 1304 because there's no space. QB requires 2.5GB+ free on the installation drive. Check free space: right-click C: → Properties → Free Space. QB installation requires at minimum 2.5GB free on the drive.
How to Fix QuickBooks Error 1304
Related QuickBooks Errors
Error 1304 Persisting After Running as Admin and Disabling AV?
Let QuickFix Bookkeeping Complete Your QB Installation.
Persistent Error 1304 naming a specific .dll file usually means that file is locked by a system process or has a Windows permission issue beyond standard UAC — we identify and release the lock.
Book a Free 30-Minute ConsultationNo obligation. Same-day response.