Error 0x80070020 is a file-locking conflict: the update installer tried to replace a file that another process had open. Windows will not let two programs write the same system file, so the installer fails rather than risk corruption. On Dell laptops — especially business models running endpoint protection, encryption agents, and Dell’s own utilities — there are plenty of candidates holding those locks.
The strategy is elimination: quiet the likely lock-holders, retry, and if needed strip the system down to a clean boot where nothing third-party can interfere. This error resolves quickly once you stop guessing and start isolating.
File locking is one of operating systems’ oldest problems: two programs, one file, and a referee (the OS) that refuses to let them collide. Windows’ answer is strict — the installer fails rather than risk corruption — which is the right call, even when it is inconvenient. The philosophical point matters because it tells you the fix is never to force the lock: it is to find the other program and ask it, politely via its own controls, to let go.
Why this happens
- Third-party antivirus real-time scanning holding locks on files the installer must replace.
- Dell utilities (SupportAssist, Dell Update, encryption agents) accessing system files during the update.
- Backup or sync software (OneDrive, corporate backup clients) locking files mid-update.
- Windows Search indexing holding file handles during the install phase.
- A previous update’s processes still running and locking files from an incomplete install.
- Third-party firewall or endpoint protection hooking file operations.
- Corrupted lock state — a crashed process left a stale lock the system still honors.
How to fix it
Work through these in order — diagnose first, then act.
Fix 1: Restart and retry — clear stale locks
- Do a full Restart (Start > Power > Restart).
- Immediately after booting, before opening any programs, go to Settings > Windows Update and retry.
- Many 0x80070020 cases are stale locks from crashed processes — a clean boot cycle releases them.
- If it fails again identically, the lock-holder is a persistent program, not a stale lock — continue.
Fix 2: Temporarily disable third-party antivirus
- Open your antivirus and disable real-time protection (and any tamper protection toggle).
- Retry the update immediately with protection off.
- Re-enable protection the moment the attempt finishes, pass or fail.
- Antivirus scanners are the number one lock-holder for this error. If the update succeeds, add the update working folders to the antivirus exclusions to prevent recurrence.
Fix 3: Pause Dell utilities and background agents
- Open Dell SupportAssist and make sure no scan or update is running — close it fully.
- In Task Manager (Ctrl + Shift + Esc), look for Dell, backup, or sync processes consuming resources and end the non-essential ones via their own quit options.
- Pause OneDrive syncing (click the OneDrive tray icon > Pause syncing) during the update.
- Retry. Dell’s own tools are frequent lock-holders on Dell hardware — keep their drivers current via Dell Support to reduce conflicts.
Fix 4: Clean boot to isolate the lock-holder
- Press Windows key + R, type
msconfig, press Enter. - On the Services tab, check Hide all Microsoft services, then Disable all.
- In Task Manager’s Startup tab, disable everything, then restart.
- Retry the update in this minimal state. If it succeeds, re-enable services in halves to identify the locking program — then decide whether to keep it disabled during updates or replace it. Microsoft documents the method on the Windows Update support page .
Fix 5: Stop the Windows Update services and clear their state
- Open an elevated Command Prompt:
net stop wuauserv,net stop bits - Delete the contents of
C:\Windows\SoftwareDistribution\Download. net start wuauserv,net start bits.- Sometimes the lock-holder is a stuck update process itself — stopping the services releases its locks, and the fresh state prevents it from re-locking. Related: resetting update components .
Fix 6: Run the update in Safe Mode with Networking
- Hold Shift while clicking Restart (or use recovery) to reach Troubleshoot > Advanced options > Startup Settings > Restart, then press 5 for Safe Mode with Networking.
- In Safe Mode, only essential drivers and services load — third-party lock-holders cannot start.
- Run Settings > Windows Update and install from Safe Mode.
- Restart normally afterward. If the update installs cleanly in Safe Mode, you have proven a third-party program was the lock-holder — the clean-boot bisection in Fix 4 will name it.
Fix 7: Manual install with minimal interference
- Note the KB from Update history and download it from the Microsoft Update Catalog .
- Clean-boot the laptop (Fix 4), then run the
.msuinstaller. - Restart when prompted, then undo the clean boot.
- The standalone installer holds its file operations in a tighter window than the full Windows Update pipeline, making it less vulnerable to lock contention. Confirm in Update history, and see monthly cumulative failure repairs for recurring patterns.
Fix 8: Identify the locking process with Microsoft’s Handle tool
When you must know exactly which process holds a file, Sysinternals’ Handle utility (from Microsoft) names it.
- Download Handle from Microsoft’s Sysinternals site and extract it to a folder.
- In an elevated Command Prompt in that folder, run
handle.exe <filename>for the file the installer chokes on (check the CBS log for the name). - Handle lists the process and its PID — exit that program normally through its own interface.
- Retry the update. Knowing the exact culprit beats disabling half your startup items blindly, and you only need this tool when the clean-boot bisection is inconclusive.
Closing
0x80070020 on a Dell is a traffic jam, not a breakdown: something else is holding files the installer needs. Restart to clear stale locks, quiet the antivirus and Dell agents, and use clean boot or Safe Mode to prove which program is the culprit. Once the lock-holder is identified, every future update can be scheduled around it. Lock conflicts are a coordination problem, and coordination has a boring, effective solution: update when the other programs are not running. A monthly habit — close everything, disable the antivirus for the duration, install, re-enable — prevents this entire error class without any detective work.
