Forum Discussion
Error installing Apps 365, command not supported.
I was performing an Online Repair for a user. It did the uninstall fine, but then threw this error.
I tried to reinstall, same error. Used the MS Cleanup tool, ran SFC, cleared temp files, cache... Internet connection is stable. Disabled security software (Zscaler). I'm out of ideas. I'm hoping someone has seen this before. Thanks for any help!
Try this out:
1. Try Repair via Command Prompt
If the GUI repair fails, you can invoke the repair manually using Command Prompt:
"C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe" scenario=Repair system=x64 culture=en-us RepairType=FullRepair DisplayLevel=True
Make sure the path matches your system. If Office is installed in a different location, adjust accordingly.
2. Deep Clean Office Remnants
Even after using the MS Cleanup tool, some registry entries or leftover folders might be interfering.
- Delete these folders manually:
- C:\Program Files\Microsoft Office
- C:\Program Files\Common Files\Microsoft Shared\ClickToRun
- %ProgramData%\Microsoft\Office
- %LocalAppData%\Microsoft\Office
- Then run CCleaner or a similar registry cleaner to remove orphaned entries.
3. Use Offline Installer
Instead of relying on the web-based installer, try downloading the full offline installer for Microsoft 365. This bypasses some of the Click-to-Run dependencies that may be failing.
4. Create a New Windows Profile
Sometimes the issue is tied to the user profile itself. Try installing Office under a new local admin account to rule out profile corruption.
5. Check Group Policy or Registry Restrictions
If this is a domain-joined machine, group policies or registry keys might be blocking certain commands.
- Check:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Office
Look for any restrictive keys under ClickToRun or Common.
2 Replies
Try this out:
1. Try Repair via Command Prompt
If the GUI repair fails, you can invoke the repair manually using Command Prompt:
"C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe" scenario=Repair system=x64 culture=en-us RepairType=FullRepair DisplayLevel=True
Make sure the path matches your system. If Office is installed in a different location, adjust accordingly.
2. Deep Clean Office Remnants
Even after using the MS Cleanup tool, some registry entries or leftover folders might be interfering.
- Delete these folders manually:
- C:\Program Files\Microsoft Office
- C:\Program Files\Common Files\Microsoft Shared\ClickToRun
- %ProgramData%\Microsoft\Office
- %LocalAppData%\Microsoft\Office
- Then run CCleaner or a similar registry cleaner to remove orphaned entries.
3. Use Offline Installer
Instead of relying on the web-based installer, try downloading the full offline installer for Microsoft 365. This bypasses some of the Click-to-Run dependencies that may be failing.
4. Create a New Windows Profile
Sometimes the issue is tied to the user profile itself. Try installing Office under a new local admin account to rule out profile corruption.
5. Check Group Policy or Registry Restrictions
If this is a domain-joined machine, group policies or registry keys might be blocking certain commands.
- Check:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Office
Look for any restrictive keys under ClickToRun or Common.
- Dawoof6Copper Contributor
Thanks so much!!! Option 3 finally worked for me. For anyone else finding this, here's what I did:
Follow this guide for the basics of the offline installer: https://support.microsoft.com/en-us/office/use-the-office-offline-installer-f0a85fe7-118f-41cb-a791-d59cef96ad1c#officeplans=signinorgid
After the download, make sure to edit the configuration xml to include the local path to the files, example https://learn.microsoft.com/en-us/microsoft-365-apps/deploy/overview-office-deployment-tool.