Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Error code 0-2031 during Microsoft 365 install is commonly caused by something blocking the installer or by a previous Office install/update that did not finish cleanly.
Try these steps in order:
- Restart Windows, then try the install again A previous install, update, or uninstall may still be stuck in the background. After restart, run the Microsoft 365 installer again.
- Check whether another Office installation is already running Look for an Office icon in the Windows system tray. If an install is already in progress, wait for it to finish before starting setup again.
- Use the offline installer Since the setup runs for several minutes and then fails, use the offline installer first. This can bypass issues caused by proxy, firewall, antivirus, or unstable internet connection.
- Remove any existing or partial Office installation
Use the Microsoft uninstall troubleshooter to remove Microsoft 365, Office 2021, Office 2019, or Office 2016 from the same Windows PC.
- Open the uninstall troubleshooter.
- If prompted, select Open for Get Help.
- Follow the prompts.
- Restart the computer when prompted.
- Then reinstall Office.
- The uninstall troubleshooter cannot uninstall Office 2024.
- It must be run on Windows 10 or later.
- It must be run on the same PC where Office is installed.
- If the installer seems to hang or disappear, wait before retrying In some cases the Click-to-Run installer continues in the background. Re-running setup immediately can cause conflicts.
- If the problem is related to connection or download behavior If the installer is being blocked by network settings, proxy, firewall, or antivirus, the offline installer is the preferred workaround.
If the install still fails after restart, cleanup, and offline install, the most relevant next step is to fully remove any partial Office installation and reinstall again.
References:
- "...Another installation is in progress..." or error code 0-1018, 17003-2031, or 2035-0 when installing Office | Microsoft Support
- Error code 30125-4 or 30125-1011 when installing Office | Microsoft Support
- Office is taking a long time to install | Microsoft Support
- Microsoft 365 Installation stuck at white screen, then disappears - Microsoft Q&A