How to Completely Remove Previous Office Files Before Reinstalling Microsoft 365
Question details
The user is unable to proceed with reinstalling Microsoft 365 because the setup wizard detects leftover components from a previously uninstalled version of Office.

- Product
- Microsoft 365
- Device & OS
- Windows
- Scenario
- Attempting to install or reinstall Microsoft 365 on a computer that previously had another version of Microsoft Office installed.
- Observed behavior
- The setup.exe process is blocked, displaying an error message stating that files from another Office version must be removed, even though the programs were already uninstalled from the Control Panel.
Ensure you have saved all your ongoing work and closed any open background applications, as the complete removal process will require a system restart to finalize.
Use the Microsoft Support and Recovery Assistant (Uninstall Tool)
Using the official Microsoft Office uninstall tool is the most reliable method to safely clean up residual files, broken shortcuts, and hidden registry keys blocking your installation.
Standard uninstallation via the Windows Control Panel often leaves behind shared components and licensing files. The Microsoft Support and Recovery Assistant is designed to aggressively target and remove these lingering elements so you can perform a clean installation.
Visit the official Microsoft Support website and search for 'Uninstall Office from a PC'. Download the Microsoft Support and Recovery Assistant (SetupProd_OffScrub.exe) linked in the article.
Double-click the downloaded 'SetupProd_OffScrub.exe' file. Click 'Install' on the prompt, and then click 'I agree' to accept the Microsoft terms of service.
In the Uninstall Office products window, check the boxes next to any old versions of Office listed (e.g., Office 2016, Office 2019, or Microsoft 365), and click 'Next'.
Follow the on-screen prompts to confirm the removal. Once the tool finishes, restart your computer when prompted. After the reboot, run your Microsoft 365 'setup.exe' again.

Manually Remove Leftover Office Folders
If the automated tool fails to clear the installation block, you can manually delete the leftover installation folders from your system drives.
Tired of Installation Errors? Try WPS Office
If Microsoft 365 installation issues and leftover registry files continue to block your workflow, consider switching to WPS Office. It provides a frustration-free setup, runs flawlessly on any PC, and offers complete compatibility with your existing Office files.
- 1. Download the Installer: Visit the WPS Office website and download the free, lightweight installer package.
- 2. Quick Installation: Run the installer. Unlike heavy Office suites, WPS Office installs cleanly in just one click.
- 3. Open Your Files: Instantly open and continue editing your existing Microsoft Office documents without format changes.

Frequently Asked Questions
Why does Microsoft 365 setup say older versions are still installed after I uninstalled them?
When you uninstall Office via the Control Panel, certain shared registry keys, background services, or licensing tokens are often left behind. The Microsoft 365 installer detects these lingering registry entries and assumes the old software is still present.
Will using the Office uninstall tool delete my saved documents?
No. The official Microsoft Support and Recovery Assistant only targets program files, system shortcuts, and registry keys associated with the application software. Your personal files, such as .docx and .xlsx documents, are completely unaffected.
Do I need to deactivate my Office license before using the removal tool?
Generally, no. Microsoft 365 manages activations centrally through your online Microsoft account. Uninstalling the software removes the local license token, and your new installation will simply prompt you to sign in again to reactivate.
Can I have both an older version of Office and Microsoft 365 installed?
While it is technically possible in some scenarios, Microsoft heavily advises against it due to file association conflicts and shared component errors. It is best practice to remove all previous versions before installing Microsoft 365.




