QuickBooks Error 1317: Resolving Directory Creation Errors During Install/Backup

QuickBooks Error 1317 is a Windows operating system security error that occurs when QuickBooks or the Windows Installer engine cannot create a required directory on your drive. It typically presents with the message: “An error occurred while creating the directory [Drive:\Path].”:contentReference[oaicite:0]{index=0} This conflict arises during program installations, version upgrades, or scheduled backup routines when target folders are restricted. The issue is caused by missing Windows NTFS permissions for the SYSTEM account, misconfigured registry permissions, or third-party security software blocking directory generation. Granting full administrative and system control to the parent folder immediately resolves it.

Fast-Fix: Resolving QuickBooks Error 1317 Directory Creation Failures

Grant Full Control to the SYSTEM and Administrator accounts on the parent folder. Open Windows File Explorer, browse to the directory path listed in the error message (such as C:\ProgramData or your target backup folder), right-click the parent folder, and select Properties. Under the Security tab, click Edit, select SYSTEM and Administrators, check Full Control, and click Apply. If the error happens during installation, restart your computer in Windows Safe Mode and re-run the installer as an Administrator.


Quick Status & Triage Snapshot

  • Data Risk Tier: Low. Accounting databases are not damaged; Windows is blocking file system directory creation.
  • Common Trigger: Installing QuickBooks Desktop, applying software updates, or backing up to protected Windows folders (e.g., C:\ProgramData or root C:\).
  • Service Impact: Halts the installation or patch process completely, or cancels backup operations before files can be written.
  • Estimated Fix Time: 10 to 15 minutes.

Technical Anatomy: Why Windows Rejects Directory Creation

When the Windows Installer engine (msiexec.exe) installs QuickBooks or updates system files, it does not run solely under your personal user profile. Instead, it hands off low-level file operations to the Windows SYSTEM account.

Installation/Backup File System Operation:
User executes Installer/Backup ──> Hands off process to Windows SYSTEM Account
                                                  │
                                                  ▼
                                Attempts to Create Target Directory:
                                C:\ProgramData\Common Files\Intuit\...
                                                  │
                                                  ▼
                          Does SYSTEM or Administrators have Write & Create rights?
                                 ├── YES ──> Directory created successfully.
                                 └── NO  ──> Error 1317: Access Denied. Process halts.

If the parent folder does not list SYSTEM with full permissions, Windows denies the file-creation handle. Similarly, during a backup routine, if a user directs QuickBooks to save a .qbb file into a directory protected by Windows User Account Control (UAC) or an antivirus shield, the embedded database engine fails to generate the required staging directory.

For related folder-level permission troubleshooting, see Access Fix: “The File You Want to Open is in a Restricted Folder”.


Diagnostic Flowchart: Error 1317 Decision Path

Start: Error 1317 Displays on Screen
  │
  ├── When did the error appear?
  │     ├── During Installation or Software Update:
  │     │     └── Target path is usually in C:\ProgramData or C:\Program Files.
  │     │           └── Check SYSTEM and Administrator permissions on parent folder.
  │     │
  │     └── During Company File Backup:
  │           └── Target path is the backup destination.
  │                 └── Change backup path to a dedicated local directory (e.g., C:\Backups).
  │
  └── Did modifying folder permissions fail to resolve it?
        ├── Check for registry key permission blocks in HKEY_LOCAL_MACHINE\Software.
        └── Run the install in Windows Safe Mode to bypass antivirus hooks.

Step-by-Step Repair Guide

Follow these sequential steps to resolve directory permission failures during installation or backup routines.

Step 1: Correct NTFS Permissions on the Target Parent Folder

The path mentioned in your Error 1317 message indicates where permissions are broken. Follow these steps to restore access:

  1. Press Windows Key + E to open File Explorer.
  2. Locate the parent folder of the directory path identified in the error message (for example, if the error cites C:\ProgramData\Common Files\Intuit, navigate to C:\ProgramData\Common Files).
  3. If ProgramData is hidden, click the View tab in File Explorer and check the box for Hidden items.
  4. Right-click the folder and select Properties.
  5. Select the Security tab, then click Advanced.
  6. At the bottom of the Advanced Security Settings window, check the box labeled “Replace all child object permission entries with inheritable permission entries from this object”.
  7. In the Permission entries box, verify that both SYSTEM and Administrators are listed with Full Control.
  8. If either is missing or set to Read-only, click Edit, select the account, check Full Control, and click Apply followed by OK.
Required NTFS Permissions for QuickBooks Directories:
• SYSTEM: Full Control (Allow)
• Administrators: Full Control (Allow)
• Users: Read & Execute, List Folder Contents, Read, Write

For network-shared installations, verify standard network security settings using Multi-User Access: Verifying Folder Sharing & Network Permissions.

Step 2: Use the QuickBooks Install Diagnostic Tool

If Error 1317 occurs during an installation or patch update, system component registrations may be corrupted:

  1. Close all open applications, including any pending QuickBooks installation screens.
  2. Download and install the latest version of the QuickBooks Tool Hub.
  3. Launch the Tool Hub from your desktop shortcut.
  4. Select the Installation Issues tab from the left-hand navigation menu.
  5. Click QuickBooks Install Diagnostic Tool.
  6. Allow the tool to run. It can take up to 20 minutes to scan and repair Windows operating system components, including the Microsoft .NET Framework, C++ libraries, and MSXML dependencies.
  7. Restart your computer once the repair completes, then retry the QuickBooks installation.

If you are dealing with persistent installation package corruption, follow the steps in Clean Install Tool: Using the QuickBooks Tool Hub to Fix Corrupt Installs.

Step 3: Run the Installer in Windows Safe Mode

Third-party antivirus utilities and system-protection tools often place active locks on system directories, blocking installers from creating new folders:

  1. Press Windows Key + R, type msconfig, and press Enter.
  2. Go to the Boot tab.
  3. Under “Boot options,” check the box for Safe boot and select Network.
  4. Click Apply, then OK, and restart your computer.
  5. Once Windows boots into Safe Mode, log in using an Administrator account.
  6. Run the QuickBooks setup file (Setup.exe) directly.
  7. After the installation completes, reopen msconfig, uncheck Safe boot, click Apply, and restart back into normal Windows mode.

Diagnostic Branching: Resolving Error 1317 During Backups

If Error 1317 appears while creating a company file backup rather than during software installation, the problem is not your Windows Installer service. Instead, QuickBooks is trying to write to a restricted or invalid backup path:

  1. Open QuickBooks Desktop.
  2. Go to File > Back Up Company > Create Local Backup.
  3. Select Local Backup, then click Options.
  4. Review the field labeled “Tell us where to save your backup copies”.
  5. If this field points to the root of your hard drive (C:\), an external drive that has changed drive letters, or a protected system directory, click Browse.
  6. Select or create an accessible, dedicated local path such as C:\QuickBooks Backups.
  7. Click OK and run the backup again.

If changing the directory still results in backup aborts, consult Internal Error: Fixing QuickBooks Backup Failures During the Save Process and review Backup Error Fix: “QuickBooks was unable to back up your company file”.


Hard Stop: When to Escalate to IT or Windows Specialists

Stop manual troubleshooting and consult an IT administrator if:

  • Registry Keys Deny Administrator Access: Modifying registry permissions under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer returns an explicit “Access Denied” error, indicating corrupted Windows Security Identifiers (SIDs).
  • Hard Drive File System Corruption: Running the Windows check-disk utility (chkdsk C: /f) reveals bad sectors or damaged Master File Table (MFT) records on the installation partition.
  • Domain Group Policy Overwrites: Group Policy Objects (GPOs) enforced by a domain controller continually strip local administrative rights from C:\ProgramData.

Closing the Books

QuickBooks Error 1317 is a standard Windows file-system access dispute, not a sign of damaged accounting records. Once you grant the SYSTEM account proper permissions on the parent directory, or move your backup destination to an un-synced, non-system folder, QuickBooks will be able to create its required directories and complete its tasks normally.