How to Fix Microsoft 365 Installation Errors 30175-45 and 0-2031
Question details
The user is trying to resolve persistent Microsoft 365 installation failures that generate specific error codes.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Attempting to install Microsoft 365 on a device that has sufficient disk space and network access.
- Observed behavior
- The installation process stalls between 60% and 80%, eventually failing and displaying error code 30175-45 or 0-2031.
Ensure your computer has a stable internet connection and temporarily disable any third-party antivirus software or firewalls that might be actively blocking the installer from downloading background files.
Perform a Clean Installation using the Office Deployment Tool
This method completely removes corrupted installation caches and uses the Office Deployment Tool (ODT) to bypass standard setup blockers.
Errors 30175-45 and 0-2031 typically occur when the standard web installer encounters conflicting files from previous Office versions or drops its connection to Microsoft's servers. Using the command-line Office Deployment Tool allows for a more stable, customizable installation.
Download and run the official Office uninstall and cleanup tool from Microsoft to completely remove any partial or failed Office installations, caches, and leftover registry keys.
Navigate to the official Microsoft Download Center, download the Office Deployment Tool, and extract its contents to a dedicated local folder on your C: drive.
Use the web-based Office Customization Tool to generate a 'configuration.xml' file tailored to your Microsoft 365 subscription, and place this file into the same folder where you extracted the Deployment Tool.
Search for 'cmd' in the Start menu, right-click 'Command Prompt', and select 'Run as administrator'. Navigate to your extracted folder using the 'cd' command, then execute 'setup.exe /download configuration.xml'.
Once the command prompt returns to a blank input line (indicating the download is complete), run the command 'setup.exe /configure configuration.xml' to finalize the installation.

Switch to a Different Network Connection
Network restrictions or unstable packet routing can trigger errors 30175-45 and 0-2031 midway through the download phase.
Skip the Installation Errors with WPS Office
Struggling with persistent Microsoft 365 installation errors and deployment tools? Switch to WPS Office. It is a lightweight, free alternative that installs in seconds and offers full compatibility with all your Word, Excel, and PowerPoint files without the heavy system requirements.
- 1. Download the installer: Visit the official WPS Office website and click the free download button.
- 2. Run the quick installation: Launch the lightweight installer file, agree to the terms, and click 'Install'. The process completes in a fraction of the time.
- 3. Open your files: Launch WPS Office to instantly open, edit, and save your existing Microsoft Office documents.

Frequently Asked Questions
Why does the Microsoft 365 installation get stuck at 80%?
Installations usually stall between 60% and 80% if the installer encounters corrupted cache files from a previous attempt, restricted network proxies blocking Microsoft servers, or conflicts with pre-existing Office components on your hard drive.
What does error 0-2031 mean during Office installation?
Error 0-2031 typically indicates that the Microsoft 365 setup executable cannot access the necessary background files from Microsoft's Content Delivery Network. This is often caused by restrictive network firewalls, VPN interference, or lingering corrupted installation files.
Can I install Microsoft 365 without an active internet connection?
The standard 'Click-to-Run' installer requires an active internet connection throughout the entire process. However, you can use the Office Deployment Tool (ODT) on a connected PC to download the raw installation files first, transfer them to a USB drive, and perform an offline installation on another device.




