Error 1310
Cannot write to file during installation
High Severity
Fix Time: 15-25 minutes

Problem Overview

This error occurs during QuickBooks installation when the installer cannot write files to the installation directory or temporary folders. This is typically caused by permission issues, antivirus interference, or corrupted installation files.

Common Symptoms

  • Installation fails mid-process
  • Error message mentioning specific files
  • Installation rollback occurs
  • Setup cannot create folders
  • Access denied messages

Affected Locations

  • Program Files folder
  • Windows Temp directory
  • User AppData folders
  • Installation cache
  • Registry entries

Quick Resolution

  • Run installer as Administrator
  • Disable antivirus temporarily
  • Clear temporary files
  • Check disk space
  • Use Clean Install method

Step-by-Step Solution

1
Run Installer as Administrator
Run the QuickBooks installer with full administrative privileges to ensure it has necessary permissions.
  1. Locate the QuickBooks installer file (.exe)
  2. Right-click the installer
  3. Select Run as administrator
  4. Click Yes to User Account Control prompt
  5. Proceed with installation
Note: Even if you're logged in as administrator, some system folders still require explicit "Run as administrator" permission.
2
Temporarily Disable Antivirus
Security software can interfere with installation by blocking file operations.
  1. Open your antivirus/security software
  2. Find the option to temporarily disable protection
  3. Disable real-time protection
  4. Run QuickBooks installer
  5. Re-enable antivirus after installation completes
Security Warning: Only disable antivirus temporarily and ensure you're installing from a trusted source. Re-enable immediately after installation.
3
Clear Temporary Files and Folders
Clear temporary files that might be causing conflicts during installation.
  1. Press Windows Key + R
  2. Type %temp% and press Enter
  3. Delete all files in the Temp folder (Ctrl+A, Delete)
  4. Empty Recycle Bin
  5. Restart computer and try installation again
// Additional temp folders to clear:
C:\Windows\Temp
C:\Users\[Username]\AppData\Local\Temp
4
Check Disk Space and Permissions
Verify adequate disk space and proper folder permissions.
  1. Check available space on C: drive (need at least 5GB free)
  2. Verify permissions on Program Files folder
  3. Check permissions on Windows Installer folder
  4. Ensure user has write permissions to installation directories
Success Tip: QuickBooks requires approximately 2.5GB of space, but extra space is needed for temporary files during installation.
5
Use QuickBooks Clean Install Tool
Use the official QuickBooks Clean Install tool to completely remove previous installations and perform a clean install.
  1. Download QuickBooks Clean Install Tool from Intuit
  2. Run the tool as Administrator
  3. Follow the prompts to remove existing QuickBooks
  4. Restart your computer when prompted
  5. Install QuickBooks from fresh download

Installation Preparation Guide

Pre-Installation Checklist

Permission Solutions

Take ownership of Program Files folders, grant full control to your user account, and ensure Windows Installer service has proper permissions.

Cleanup Methods

Use Disk Cleanup tool, clear browser cache, remove temporary installation files, and clean registry entries from previous installations.

Download Verification

Verify installer file integrity, check digital signatures, redownload if corrupted, and ensure complete download before installation.

System Preparation

Update Windows, install latest .NET Framework, update graphics drivers, and ensure all Windows updates are installed.

Frequently Asked Questions

Why does the installer need to write to specific system folders?

The QuickBooks installer needs to write to Program Files for application files, Windows system folders for shared components, registry for configuration, and user folders for personal settings. Modern Windows security restricts write access to these protected areas, requiring administrative privileges.

Can I install QuickBooks on a different drive to avoid permission issues?

Yes, during installation you can choose a custom location on a different drive. However, some components will still install to system directories on the C: drive. Installing to a non-system drive can help avoid some permission issues but won't eliminate them completely.

What if the error mentions a specific file that cannot be written?

If the error specifies a particular file, note the file name and location. This can help identify the specific component causing issues. Common problematic files include .DLL files, .EXE files, or registry entries. You may need to manually take ownership of that specific file's folder.

How do I completely remove QuickBooks before reinstalling?

Use the QuickBooks Clean Install Tool for complete removal. It removes program files, registry entries, user data, and temporary files. Manual uninstallation through Control Panel may leave behind components that can cause installation conflicts.