Automating Quick Repairs in Office 365 ProPlus

Learn how to automate a Quick Repair to fix issues and file associations in Office 365 ProPlus. Brought to you by our compatibility guru Curtis Sawin.

If your users are running Office 365 ProPlus and another version of Office side-by-side, the time will come when you should uninstall the old version of Office. We call this (for lack of a better phrase) “un-side-by-siding” Office. As part of this process, you’ll need to run a repair of Office 365 ProPlus to re-associate the Office file extensions to Office 365 ProPlus.

With Office 365 ProPlus, you can perform either a Quick Repair or an Online Repair by opening Programs and Features in Control Panel. A Quick Repair will fix most issues and all activity happens locally. An Online Repair will essentially uninstall and reinstall Office 365 ProPlus. To complete the un-side-by-side process, a Quick Repair is the recommended (and fastest) method. Automating a Quick Repair is certainly possible and can be performed by executing different programs and command-lines.

  

So how does automating a Quick Repair help un-side-by-side Office? In short, it’s the second step in a two-step process. First, you remove the old version of Office (see the Useful Links section below), then you repair Office 365 ProPlus. One of the outcomes of a Quick Repair is that all Office file extensions are associated with Office 365 ProPlus apps. If you have System Center Configuration Manager, you can perform these two steps using a task sequence, for example.

To run a Quick Repair for 64-bit operating systems:

“C:\program files\Microsoft Office 15\ClientX64\integratedoffice.exe” RUNMODE RERUNMODE modetorun repair

To run a Quick Repair for 32-bit operating systems:

“C:\program files\Microsoft Office 15\ClientX86\integratedoffice.exe” RUNMODE RERUNMODE modetorun repair

Since build 15.0.4567.1509 was released in February 2014, a new command-line tool has replaced integratedoffice.exe. As some have expressed in the comments below, since this build was released, integratedoffice.exe no longer performs quick repair.

The new command-line tool is OfficeClickToRun.exe. OfficeClicktoRun.exe can be used to automate a quick repair starting with build 15.0.4623.1003 or later. This build was released in June 2014.

In short, OfficeClickToRun.exe takes over all the functionality that integratedoffice.exe provided. Below are the command-line options to use to automate a quick repair:

To run a Quick Repair for 64-bit operating systems:

“C:\program files\Microsoft Office 15\ClientX64\OfficeClickToRun.exe” scenario=Repair DisplayLevel=False

To run a Quick Repair for 32-bit operating systems:

“C:\program files\Microsoft Office 15\ClientX86\OfficeClickToRun.exe” scenario=Repair DisplayLevel=False

Note that the only difference is the location of OfficeClickToRun.exe. OfficeClickToRun.exe is process that launches all Office applications, initiates the Click-to-Run installation processes, and handles several other tasks including streaming, bootstrapping, and monitoring for updates.

Setup command-line options for Office 2010Setup command-line options for the 2007 Office system
How to uninstall or remove Office 2003 suites
How to uninstall Office 2003, Office 2007 or Office 2010 suites if you cannot uninstall it from Control Panel?