How to Fix Microsoft 365 Installation Error 0-2031 (17000) on Windows
Question details
The user needs to resolve an installation failure where the Microsoft 365 installer returns error code 0-2031 (17000).

- Product
- Microsoft 365
- Device & OS
- Windows
- Scenario
- Attempting to install Microsoft 365 applications using the standard executable (OfficeSetup.exe) or the offline installer.
- Observed behavior
- The installer executable does nothing when opened, or the offline installer reports that the installation could not start, displaying error 0-2031 (17000).
Ensure you are logged into Windows with an administrator account and temporarily pause any third-party antivirus software, as it may block the installer from downloading or executing required files.
Completely Uninstall Existing Office Versions and Use the Offline Installer
Residual or corrupted files from a previous Office installation often block new setups. Using Microsoft's dedicated cleanup tool and switching to an offline installer usually bypasses network and file conflicts.
The standard Office uninstallation via the Windows Control Panel might leave behind registry keys and temporary files. Using the Microsoft Support and Recovery Assistant ensures a clean state.
Download and run the Microsoft Support and Recovery Assistant (SaRA) or the Office uninstall tool (SetupProd_OffScrub.exe) to completely remove any existing Office installations from your system.
Once the uninstallation process is complete, restart your Windows computer to ensure all system changes are applied and locked files are released.
Log into your account at Office.com. Select 'Install Office', choose 'Other options', and check the box that says 'Download an offline installer'.
Select your desired language, download the offline installer package, and run the downloaded file to install Microsoft 365 locally without requiring an active internet connection during setup.

Install Microsoft 365 Using the Office Deployment Tool (ODT)
If standard consumer installation methods fail, the Office Deployment Tool provides an advanced command-line alternative used by IT administrators.
Try WPS Office: A Lightweight and Free Alternative to Microsoft 365
Struggling with persistent Microsoft 365 installation errors like 0-2031 (17000)? Consider switching to WPS Office. It provides a robust, free, and lightweight office suite that installs in seconds and is fully compatible with Microsoft Word, Excel, and PowerPoint formats.
- 1. Download the Installer: Visit the official WPS Office website and click the 'Free Download' button to get the lightweight installation file.
- 2. Run the Setup: Double-click the downloaded executable. The installer is optimized to bypass complex system configurations and network dependencies.
- 3. Start Creating: Once the rapid installation finishes, launch WPS Office to instantly open and edit your existing Microsoft Office documents.

Frequently Asked Questions
Why does Microsoft 365 installation error 0-2031 (17000) occur?
This error typically indicates that the installation process was blocked by corrupted residual files from a previous Office installation, an unstable internet connection during download, or interference from third-party security software.
Where can I find the installation logs for Microsoft Office?
You can find installation logs by pressing Windows Key + R, typing '%temp%', and pressing Enter. Look for text files starting with 'SetupExe' or 'OfficeSetup' to see the exact technical failure details.
Can I install Microsoft 365 without an internet connection?
Yes. You can log into your Microsoft account at Office.com, navigate to the install options, and select 'Download an offline installer'. This downloads a complete package that allows you to install the software without an active internet connection.
What if the Office uninstall tool also fails to run?
If SetupProd_OffScrub.exe fails, ensure you are running it as an administrator. Alternatively, you can use the broader Microsoft Support and Recovery Assistant (SaRA) which can handle deeper system checks and force-remove conflicting registry entries.




