Repair Windows Office 365 desktop apps from Command Prompt
I needed to repair an Office 365 installation on a PC that had UAC turned off. I ran into problems:
I couldn't switch users on a screenshare to open the GUI. So I needed to use the Command Prompt.
I couldn't remember the command to repair office in CMD.
I started looking.
Once I located the command on this page [A], I found the arguments I needed, but the path to the ClickToRun.exe file was pointing to an older version of Office.
Here's the updated command for repairing 64-bit Office 365 applications from the command line:
'C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeClickToRun.exe' scenario=Repair