How to Fix the Command Not Supported Error in Microsoft 365 Setup
Question details
Users encounter a 'Command Not Supported' error message when attempting to install Microsoft 365, which stops the setup process from completing.

- 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.
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.
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.
Navigate to https://aka.ms/SaRA-officeUninstallFromPC in your web browser to download the Microsoft Office uninstall tool.
Run the downloaded tool and follow the on-screen prompts to completely remove any existing or incomplete Office installations from your PC.
Once the uninstallation is complete, restart your computer. Go to Settings > Update & Security > Windows Update and install any pending system updates.
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.

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. Download WPS Office: Visit the official WPS website and click the free download button for your operating system.
- 2. Run the Installer: Open the downloaded setup file and click 'Install' to begin the quick, one-click installation process.
- 3. Start Creating: Launch WPS Office immediately after installation to open, edit, or create documents, spreadsheets, and presentations.

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.




