Quick answer
QuickBooks error 15240 appears when a payroll update downloads but cannot install, usually with the message "The payroll update did not complete successfully." Windows permissions, a stopped Windows Installer service, a pending restart, antivirus, or low disk space can block it. Confirm error 15215 is already resolved, then re-download the tax table and verify the version.
What QuickBooks error 15240 means
Error 15240 is an installation failure, not a download failure. QuickBooks pulled the payroll update from Intuit's servers, started to apply it, and Windows or QuickBooks stopped the install. The primary message is "Error 15240: The payroll update did not complete successfully."
Intuit documents two companion messages that point at the same failure:
- "File Exists: The file you specified cannot be opened. Make sure that it is not being used by another program." A leftover or locked update file is in the way.
- "Internet connection error: unknown error." The connection dropped while the update was being fetched or applied.
Because the install never completes, the tax table stays on the old version. QuickBooks may warn that payroll needs updating and limit e-file or payroll features until the table is current.
How error 15240 relates to error 15215
These two errors sit next to each other in one update pipeline. The order matters:
- Download and verify. QuickBooks fetches the payroll update and checks its digital signature. A failure here is error 15215.
- Install. The verified files are written to the QuickBooks and Windows folders. A failure here is error 15240.
If both codes appear in the same session, resolve 15215 first; there is no point repairing install permissions while the download still fails verification. If 15240 is the only error, start with step 1 below.
Common causes, ranked by how often they appear
- Windows permissions on the Intuit folders. If the folder owner is not the Users group or your account lacks Full control, the installer cannot replace files. This is the most common cause on PCs where QuickBooks was installed under a different administrator.
- A locked or leftover update file. The "File Exists" message usually means a stale package from the previous attempt is still held open, often by a background QuickBooks process.
- The Windows Installer service is stopped or unhealthy. Payroll and product updates depend on Windows Installer, and the service must be able to start on demand.
- A pending restart. Windows queued file replacements from an earlier update. Until the PC restarts, the installer cannot overwrite those files.
- Antivirus or firewall interference. Security software can quarantine the update executable or block ports 80 and 443, which Intuit names as a top 15240 cause.
- Low disk space. The installer needs room to unpack and stage files on the system drive. A nearly full drive fails with 15240 or an installer error such as error 1603.
- An incorrect system date or time. Time skew breaks the server-side check that precedes installation.
Before you begin
- Back up your company file. Use File → Back Up Company → Create Local Backup and keep it off the machine you are repairing. Every install failure deserves a fresh backup first.
- Confirm 15215 is not also present. Check the exact error text. If the download itself failed, fix that first.
- Sign in with a Windows administrator account and set aside 30 to 45 minutes; a permissions reset plus retry beats a repair install.
- Note your QuickBooks version. Press F2 to open Product Information and record the release, because the update cache path includes the version folder.
How to fix QuickBooks error 15240
Run QuickBooks as an administrator and fix the clock
Close all company files and exit QuickBooks. Right-click the QuickBooks icon, select Run as administrator, and confirm Yes. Open the company file and try Employees → Get Payroll Updates → Download Entire Update → Update.
Then open Settings → Time & language → Date & time and confirm the date, time, and time zone. Intuit lists admin rights and date/time as its first two 15240 fixes.
Free disk space and clear temporary files
Open Settings → System → Storage and check the free space on the drive that holds Windows. Leave at least a few gigabytes free; update staging, Windows Installer cache, and temp files all need room. Select Temporary files and remove what Windows suggests, then empty %TEMP% while QuickBooks is closed.
Clear any pending restart before retrying
Open Settings → Windows Update and install every pending update, then restart the computer even if Windows does not insist. A pending servicing operation leaves files marked for replacement at next boot, and Windows Installer will refuse to overwrite them until that reboot happens.
After the restart, open QuickBooks, run Help → Update QuickBooks Desktop, select Update Now, check Reset Update, and select Get Updates. Close and reopen QuickBooks when the download finishes.
Confirm the Windows Installer service can start
Press Windows + R, type services.msc, and press Enter. Find Windows Installer and confirm its Startup type is Manual (the Windows default) and that it starts without an error. If it is disabled, set it to Manual — do not disable it to work around the error.
If it refuses to start, run sfc /scannow from an elevated Command Prompt, restart, and retry. Microsoft documents msiexec and Windows Installer options for reference.
Permissions changes affect every file in the folder. The next step takes ownership of Intuit folders only, never a whole drive, and it assumes you are signed in as a Windows administrator with a current company-file backup. Do not apply Full control to C:\ or C:\Program Files as a shortcut.
Give the Users group full control of the Intuit folders
Close QuickBooks. Open C:\Program Files\Common Files\Intuit and right-click the Intuit folder, then select Properties → Security → Advanced. Make sure the owner is the Users group. If it is not, select Change next to the owner name, type Users, select Check Names, then OK. Check Replace owner on subcontainers and objects, select Apply, then OK. Back on the permissions window, select Users, grant Full control, and select Apply → OK.
Repeat for these folders, one at a time:
C:\Program Files\Common Files\IntuitC:\Program Files (x86)\Common Files\Intuit(on 64-bit Windows)C:\ProgramData\IntuitC:\Users\Your User Name\AppData\Local\Intuit
Then retry the payroll update. This is Intuit's third 15240 solution and fixes a large share of stubborn installs.
Allow QuickBooks through antivirus and firewall
Add exclusions for QBW32.exe (the QuickBooks program) and QBUpdate.exe (the updater) in your security software using the vendor's documented steps. Intuit's 15240 article also directs you to confirm ports 80 and 443 are not disabled for those executables.
In Windows Security, add folder exclusions for C:\Program Files\Intuit\QuickBooks and C:\ProgramData\Intuit under Virus & threat protection → Manage settings → Exclusions. Quarantine is the silent killer: an update file vanishes mid-install and you only see 15240 or "File Exists".
Legacy TLS note. Older versions of Intuit's 15240 article tell you to enable SSL 2.0 and SSL 3.0 in Internet Options. Those protocols are obsolete and disabled on current Windows builds. Leave them off and make sure Use TLS 1.2 is enabled instead.
Delete the cached update and re-download the tax table
Close QuickBooks Desktop. Open C:\ProgramData\Intuit\QuickBooks XX\Components, where XX is your version folder (for example DownloadQB21 for QuickBooks Desktop 2021). Right-click the Components folder and delete it, which removes the partially applied update that is causing the "File Exists" failure.
Reopen QuickBooks, go to Employees → Get Payroll Updates, select Download Entire Update, then Update. Let it finish, close and reopen QuickBooks, and allow the install to run before opening another window. If it still fails, repeat the permissions step; ownership problems often hide in a second Intuit folder.
Repair the QuickBooks installation
If the update still will not install, close QuickBooks and open QuickBooks Tool Hub. Select Program Problems and run Quick Fix my Program, then run the QuickBooks Install Diagnostic Tool under Installation Issues to repair Microsoft .NET and MSXML components. Restart the PC when it finishes.
For a deeper repair, press Windows + R, type appwiz.cpl, and press Enter. Select QuickBooks Desktop, choose Uninstall/Change, and pick Repair. It takes 10 to 20 minutes. If it fails, follow Intuit's clean install process; see the clean install tool guide first.
Verify the payroll update installed
- Open the company file and go to Employees → Get Payroll Updates.
- Read the number next to You are using tax table version: and compare it with what you saw before the repair.
- Select Payroll Update Info to see the release details for the installed tax table.
- Check the version against Intuit's latest payroll news and updates page.
- Open a paycheck preview and confirm QuickBooks no longer shows an update reminder before you run payroll.
If the number did not change, the install failed silently. Do not process payroll on the old table; repeat steps 5 and 7, then repair. The payroll tax table update guide covers the normal update cycle.
If error 15240 persists
Work through the causes in order rather than repeating the same retry. If permissions, the Installer service, disk space, and antivirus are all clean and a repair install still fails, test with a local administrator account. If the update succeeds there, move QuickBooks work to that profile. If it fails on every account, contact Intuit Payroll support and plan a clean install of the current release. The payroll update error overview maps other update codes to their fixes.
Prevention
- Keep the Intuit folders and both QuickBooks executables excluded in your antivirus before the next tax season, not after a failure.
- Leave at least 10 percent of the system drive free; update staging is unforgiving on a full disk.
- Restart Windows after Patch Tuesday instead of postponing it for weeks, so pending file replacements never stack up.
- Download the tax table at least a week before the first pay run of a new quarter.
- Verify the installed version after every update instead of trusting the success message.
Frequently asked questions
What is the difference between error 15215 and error 15240?
15215 fails while QuickBooks downloads or verifies the update file. 15240 fails while Windows installs files that already passed verification. If you see both, fix error 15215 first, because a failed download leaves nothing valid to install.
Does error 15240 corrupt the company file?
No. A failed install leaves the previous tax table and all company data intact. Open the file normally. If QuickBooks also reports Verify Data problems, treat that separately with the data damage workflow.
Why does the update only fail on one Windows user account?
That points at profile-level permissions or a damaged user profile. Test with a local administrator account. If the update installs there, the original profile's permission entries or temp folder are the problem, and moving QuickBooks work to the new profile is faster than repairing the old one.
Will repairing QuickBooks delete my company files or payroll data?
No. Repair and even a clean reinstall replace program files only. Company files, your payroll subscription, and your service key all live outside the program folder. Back up first anyway; it makes every repair decision safer.
Can I install the payroll update manually from the Intuit website?
No. Intuit delivers payroll tax table updates through QuickBooks itself under Employees → Get Payroll Updates. The manual equivalent is Download Entire Update with Reset Update in the updater, which is what step 7 walks through.