logo
search
Office Installation Errors

How to Fix the Command Not Supported Error in Microsoft 365 Setup

Adam DavisAdam Davis Oct 20, 2026 868 views

Question details

Users encounter a 'Command Not Supported' error message when attempting to install Microsoft 365, which stops the setup process from completing.

How to Fix the Command Not Supported Error in Microsoft 365 Setup
Product
Microsoft 365
Device & OS
Windows
Scenario
Installing or reinstalling Microsoft 365 on a computer.
Observed behavior
The Microsoft 365 setup folder displays a 'Command Not Supported' error, preventing the new installation due to conflicts with existing or incomplete Office files.
Before you start

Ensure you have your Microsoft account login credentials available and verify that your computer is connected to a stable internet network before starting the uninstallation process.

Solution 1Recommended

Perform a Clean Uninstallation and Reinstall Microsoft 365

Use the official Microsoft Support and Recovery Assistant (SaRA) to remove conflicting residual files, then perform a fresh installation.

The 'Command Not Supported' error is typically caused by leftover files from previous Office installations or an interrupted setup process. Removing these files completely using Microsoft's dedicated uninstall tool ensures a clean environment for your new installation.

1
Download the Uninstall Tool

Navigate to https://aka.ms/SaRA-officeUninstallFromPC in your web browser to download the Microsoft Office uninstall tool.

2
Remove Previous Installations

Run the downloaded tool and follow the on-screen prompts to completely remove any existing or incomplete Office installations from your PC.

3
Restart and Update Windows

Once the uninstallation is complete, restart your computer. Go to Settings > Update & Security > Windows Update and install any pending system updates.

4
Reinstall Microsoft 365

Sign in to your Microsoft account at https://account.microsoft.com/services/. Locate your Microsoft 365 subscription, click 'Install', and run the setup file to complete the fresh installation.

Perform a Clean Uninstallation and Reinstall Microsoft 365
Internet Connection: Maintain a continuous, stable internet connection during the entire setup process to prevent the installation files from corrupting.
Free Microsoft Office alternative

Try WPS Office: A Free, Hassle-Free Alternative

Avoid frustrating installation errors and complex setups. WPS Office is a lightweight, easy-to-install office suite that provides full compatibility with Microsoft Office formats without the need for a costly subscription.

  1. 1. Download WPS Office: Visit the official WPS website and click the free download button for your operating system.
  2. 2. Run the Installer: Open the downloaded setup file and click 'Install' to begin the quick, one-click installation process.
  3. 3. Start Creating: Launch WPS Office immediately after installation to open, edit, or create documents, spreadsheets, and presentations.
Installs in seconds without complex setup configuration errorsFully compatible with Microsoft Office formats like .docx, .xlsx, and .pptxLightweight software that requires minimal system resourcesFamiliar tabbed interface making migration seamless
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft 365 show a 'Command Not Supported' error?

This error typically occurs when leftover files from a previous or failed Office installation conflict with the commands being executed by the new setup process.

Can I install Microsoft 365 without uninstalling my older version of Office?

While it is sometimes possible, having multiple versions of Office can cause setup errors like 'Command Not Supported' and operational conflicts. It is highly recommended to uninstall older versions first.

What should I do if the Microsoft uninstall tool doesn't work?

If the Support and Recovery Assistant (SaRA) tool fails to run, you can manually uninstall Office by going to Windows Settings > Apps > Apps & features, selecting Microsoft Office, and clicking 'Uninstall'. Be sure to restart your PC afterward.