How to Fix Office File in Use Error When Installing Office 2019
Question details
The user is encountering a file lock error during the installation of Microsoft Office 2019.

- Product
- Microsoft Office 2019
- Device & OS
- Windows 11
- Scenario
- Attempting to install Office 2019 after upgrading the operating system to Windows 11 and uninstalling the previous Office 2013 version.
- Observed behavior
- The installation halts and displays a message stating that an Office file is currently in use.
Ensure you have saved all ongoing work and closed any open applications to prepare for a system restart, which is often necessary to clear file locks.
Restart Windows and Close Background Office Processes
Restarting your PC and manually closing lingering background tasks is the quickest way to release locked files preventing the installation.
When an older version like Office 2013 is uninstalled, certain background services or registry keys may still hold onto core files. Restarting your computer clears temporary file locks, and using the Task Manager ensures no hidden Office processes are running.
Reboot your Windows 11 PC to automatically release any basic file locks held by the operating system.
Press the Ctrl + Shift + Esc keys simultaneously to open the Windows Task Manager.
Navigate to the 'Processes' tab and look for any services related to Microsoft Office (such as Office Click-to-Run, Microsoft Word, or Microsoft Excel). Right-click on each and select 'End task'.
Locate your Office 2019 setup file, right-click it, and select 'Run as administrator' to begin the installation again.

Use the Support and Recovery Assistant
Use Microsoft's official cleanup tool to completely remove stubborn files from the previous Office 2013 installation.
Skip the Installation Errors with WPS Office
If you are tired of dealing with persistent installation errors and locked files, consider switching to WPS Office. It is a highly compatible, lightweight, and free alternative to Microsoft Office that installs seamlessly on Windows 11.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for Windows 11.
- 2. Run the Setup: Double-click the downloaded executable file to begin the setup. The installation is streamlined and finishes in under a minute.
- 3. Start Creating: Launch WPS Office and immediately start opening, editing, or creating your documents without any licensing or file lock interruptions.

Frequently Asked Questions
Why does the installer say an Office file is in use?
This usually occurs because a background process from a previously installed version (like Office 2013) is still running, or Windows has not fully released the files after an uninstallation.
Is Office 2019 compatible with Windows 11?
Yes, Microsoft Office 2019 is completely compatible with Windows 11. The error you are experiencing is due to file management conflicts, not an operating system incompatibility.
How can I find out exactly which file is locked?
If the installer provides an error code, searching that specific code can give you details. You can also use the Windows Resource Monitor (search for 'resmon' in the Start menu) and check the CPU tab to search for handles associated with 'Office'.




