How to Fix the Command Not Supported Error When Installing Office
Question details
The user needs to resolve an installation error preventing Microsoft Office from being set up successfully on their device.

- Product
- Microsoft Office
- Device & OS
- Windows
- Scenario
- Installing Microsoft Office on a Windows computer
- Observed behavior
- The installation process fails and displays a 'Command not supported' error message, potentially caused by conflicting Microsoft accounts or license mismatches.
Ensure you have your Microsoft account login credentials handy, and close all background applications before attempting to troubleshoot the installation error.
Disconnect Conflicting Work or School Accounts
Conflicting account credentials saved in Windows can interrupt the Office installation process and trigger the error.
If you previously used a work or school account on your computer, those credentials might conflict with your personal Microsoft Office license installation. Removing these saved accounts often clears the path for a successful installation.
Click the Start button on your desktop and select the gear icon to open the Settings app.
Click on 'Accounts', then select 'Email & accounts' from the left-hand menu to view your connected Microsoft accounts.
Click on 'Access work or school' in the sidebar. If there are any old or conflicting accounts listed, click on the account and select 'Disconnect'.
Restart your computer to apply the changes, then run the Microsoft Office installer again.

Verify Windows Edition and Office License Compatibility
Checking your system specifications ensures your computer meets the exact requirements of your Office license.
Skip the Installation Errors with WPS Office
If Microsoft Office installation continues to fail with a 'Command not supported' error, try WPS Office. It installs in seconds without complicated account requirements and offers seamless compatibility with Word, Excel, and PowerPoint files.
- 1. Download the Installer: Visit the official WPS Office website and click the Free Download button.
- 2. Run the Setup: Double-click the downloaded setup file to begin the lightweight installation process.
- 3. Start Creating: Once installed in seconds, launch WPS Office to immediately open and edit your existing documents.

Frequently Asked Questions
Why do work or school accounts cause Office installation errors?
Work or school accounts often enforce strict security policies and specific enterprise licenses. If Windows attempts to apply these policies while you install a personal Office version, it can block the setup with a 'Command not supported' message.
How can I find out which Office version is linked to my Microsoft account?
You can verify your license by logging into the Microsoft account website, selecting 'Services & subscriptions' from the dashboard, and viewing the active Office or Microsoft 365 products assigned to your profile.
What should I do if removing account credentials doesn't fix the installation error?
If disconnecting accounts does not help, you may need to run the Microsoft Support and Recovery Assistant (SaRA) to completely wipe remnant Office files, or reach out directly to Microsoft Support for further technical assistance.




