Error 28 during a Microsoft Office update on Windows 11 usually means Windows couldn’t write to a temporary folder or a file is locked by another process. This guide walks you through the most reliable fixes, from clearing the update cache to repairing Office, so you can get back to work without reinstalling everything.
What You’ll Need
- Administrator access to your Windows 11 PC (you’ll need to approve User Account Control prompts).
- Your Microsoft account credentials (if you need to sign back into Office after a repair).
- About 15–30 minutes, depending on which fix you need.
Step-by-Step
- Close all Office apps and background processes. Press Ctrl+Shift+Esc to open Task Manager. Under Processes, look for any Word, Excel, PowerPoint, Outlook, or Teams processes that are still running. Right-click each one and select End task. This releases file locks that often cause error 28.
- Run Windows Update troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters. Click Run next to Windows Update. Follow the prompts. This can fix underlying Windows Update issues that block Office updates.
- Clear the Office update cache. Press Win+R, type
%temp%, and press Enter. Delete everything inside the Temp folder (skip any files that are in use). Also openC:\Program Files\Common Files\Microsoft Shared\ClickToRunand delete theUpdatesfolder if it exists. Then restart your PC. - Repair Office via Settings. Go to Settings > Apps > Installed apps. Scroll to Microsoft 365 or Microsoft Office, click the three dots next to it, and select Modify (or Advanced options). Choose Quick Repair first. If that doesn’t work, repeat the process and choose Online Repair (this requires an internet connection and may take a while).
- Run the Office Deployment Tool (ODT) to force an update. If the repair didn’t help, download the Office Deployment Tool from Microsoft’s official site. Extract it to a folder, then create a file named
configuration.xmlwith the following content (adjust the channel if you use a different update channel):<Configuration> <Updates Enabled="TRUE" UpdatePath="" /> </Configuration>
Open Command Prompt as administrator, navigate to the folder where you extracted the tool, and run:
setup.exe /configure configuration.xml
This forces Office to check for updates again. - Check disk errors and free space. Open File Explorer and look at the drive where Windows is installed (usually C:). If you have less than 5 GB free, free up space. Then open Command Prompt as administrator and run
chkdsk C: /f(you may need to restart). This repairs file system issues that can cause error 28. - Reinstall Office as a last resort. If nothing else works, uninstall Office completely via Settings > Apps > Installed apps, then reinstall from your Microsoft account. This is time-consuming but often fixes persistent update errors.
Common Mistakes
- Skipping the restart after clearing temp files. Windows needs a fresh start to release all locks on Office files.
- Not closing background Office processes. Even if you close Word, background processes like OneDrive or Outlook can still lock files.
- Using a third-party “cleaner” that deletes the wrong registry keys. Stick to the steps above; registry edits are rarely needed and can make things worse.
- Forgetting to run Command Prompt as administrator. The ODT and chkdsk commands will fail without admin rights.
Tips
- Keep Windows 11 updated. Many Office update issues are fixed by cumulative Windows updates. Check Settings > Windows Update regularly.
- Use the “Online Repair” option first if you have a stable internet connection. It’s more thorough than Quick Repair and often fixes the root cause.
- Disable any VPN or proxy temporarily. Some corporate or personal VPNs can interfere with the update download.
- Set Office to update automatically. In any Office app, go to File > Account > Update Options > Enable Updates to avoid future errors.
Troubleshooting
If the steps above don’t resolve error 28, try the following:
- Check if the problem is specific to one app. Try updating only Word or Excel by opening it, going to File > Account &strong; Update Options > Update Now. If only one app fails, the issue might be a corrupted file in that app.
- Look at the Windows Event Viewer. Press Win+R, type
eventvwr, and press Enter. Under Windows Logs > Application, look for errors with source “Office 16” or “ClickToRun” around the time of the failed update. The details may point to a specific DLL or path that’s causing the issue. - Try a different user account. Create a new local admin account and try updating Office from there. If it works, your original profile may be corrupted.
- Use the Microsoft Support and Recovery Assistant (SaRA). Download it from Microsoft’s official site, run it, and select “Office” then “I’m having problems installing Office.” This tool automates many of the steps above.
- If you’re on a corporate network, check with your IT department. Group policies or firewall rules can block Office updates, and you may need a specific update path configured.
Frequently Asked Questions
What exactly causes error 28 in Office updates?
Error 28 typically appears when Windows cannot write to the temporary folder used by the Office update process, or when a file is locked by another program. It can also be triggered by insufficient disk space or corrupted update cache.
Will I lose my documents if I repair Office?
No. Quick Repair and Online Repair only replace Office program files; they do not touch your documents, settings, or add-ins. However, it’s always wise to back up important files before any repair.
How long does an Online Repair take?
It can take anywhere from 15 minutes to over an hour, depending on your internet speed and the size of your Office installation. Your PC may restart during the process.
Can I fix error 28 without admin rights?
No. All the fixes require administrator privileges because they modify system files, run repair tools, or change Windows settings. If you don’t have admin rights, contact your IT administrator.
Why does error 28 keep coming back after I fix it?
If the error recurs, there may be a deeper issue like a corrupted Windows profile, failing hard drive, or a conflicting third-party security program. Try the troubleshooting steps above, and if it persists, consider a full Office reinstall or contacting Microsoft support.
Is error 28 the same as error 30088-27?
No. Error 30088-27 is a different Office update error, often related to a corrupted installation. However, the fixes are similar: clear the update cache, repair Office, and check disk space.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Unfortunately App Has Stopped: Step-by-Step
- Restart a Frozen Samsung Galaxy A12
- HomePod Stereo Pair with AirPlay 2 from iPhone
- Fix 0x8e5e0247 Error on Windows
- Pixel & Pixel XL No Sound: Solved?
- How to Edit Playlists on iPhone