logo
search
Microsoft 365 Installation Problems

How to Fix Microsoft 365 Installation Error 0-2031 (17000) on Windows

Olivia MillerOlivia Miller Oct 10, 2026 869 views

Question details

The user needs to resolve an installation failure where the Microsoft 365 installer returns error code 0-2031 (17000).

Fix Microsoft 365 Installation Error 0-2031 (17000) on Windows
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).
Before you start

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.

Solution 1Recommended

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.

1
Run the Office Uninstall Tool

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.

2
Restart Your Computer

Once the uninstallation process is complete, restart your Windows computer to ensure all system changes are applied and locked files are released.

3
Access the Offline Installer

Log into your account at Office.com. Select 'Install Office', choose 'Other options', and check the box that says 'Download an offline installer'.

4
Download and Install

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.

Completely Uninstall Existing Office Versions and Use the Offline Installer
Installation Success: Using the offline installer bypasses server connection timeouts that frequently trigger error 0-2031 (17000) during standard web installations.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS Office website and click the 'Free Download' button to get the lightweight installation file.
  2. 2. Run the Setup: Double-click the downloaded executable. The installer is optimized to bypass complex system configurations and network dependencies.
  3. 3. Start Creating: Once the rapid installation finishes, launch WPS Office to instantly open and edit your existing Microsoft Office documents.
Installs in seconds without complex error codes or heavy system resource usage.Fully compatible with all Microsoft Office file formats including .docx, .xlsx, and .pptx.Includes Writer, Spreadsheet, Presentation, and a comprehensive PDF editor in one single application.Features a familiar tabbed interface so you can transition immediately with zero learning curve.
microsoft office alternative - wps office

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.