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?

Comments

  • Anonymous
    January 01, 2003
    The comment has been removed
  • Anonymous
    January 01, 2003
    I am having issues as well. I would like to automate an quick office repair but cannot get this command to work.
  • Anonymous
    January 01, 2003
    thank u
  • Anonymous
    January 01, 2003
    “C:program filesMicrosoft Office 15ClientX64integratedoffice.exe” RUNMODE RERUNMODE modetorun repair

    this command is not working for me too, it does not do anything on running the above command
    please help I have to repair
  • Anonymous
    January 01, 2003
    The comment has been removed
  • Anonymous
    January 01, 2003
    Is there a way to disable "online repair" option. script, registry or GPO? please let me know
  • Anonymous
    June 18, 2013
    The comment has been removed
  • Anonymous
    September 23, 2013
    The comment has been removed
  • Anonymous
    March 20, 2014
    Hi, is there an update to this now Office Click to Run is running a different exe?
    "C:Program FilesMicrosoft Office 15ClientX86OfficeClickToRun.exe" scenario=Repair platform=x86 culture=en-us
    Still brings up the GUI
  • Anonymous
    April 22, 2014
    Stephen Matthews : this is good and now how to create automaticaly quick repair ?
  • Anonymous
    May 14, 2014
    This doesn't work for me either like the first person said, even when logged in as the local admin or domain admin, you issue the command and it does nothing.
  • Anonymous
    May 22, 2014
    No me ha servido absolutamente para nada. Lo he ejecutado por linea de comando y no me ha dicho nada. Luego lo he ejecutado directamente y me dice que necesita cerrar programas (ni siquiera me dice cual) y cuando le digo que si me cierra el OneDrive y no me dice absolutamente nada. Ni un triste mensaje. Vuelvo a hacer que se abra OneDrive y el problema no se resuelve. La verdad es que mi experiencia con OneDrive está siendo horrorosa. De momento me parece un producto pésimo.
  • Anonymous
    July 18, 2014
    Background The June 2014 release (build 15.0.4623.1003 and later versions) of Office Click-to-Run from
  • Anonymous
    July 31, 2014
    This isn't working for me either. Has their been an update to fix this?
  • Anonymous
    August 11, 2014
    I broke it up like this and can get it to display but, would like more automation. I want to find out what the commands are to chose " Quick repair" or "Online repair" I think the disaply flase is hanging up cause it does not know which one to choose. If you try to change Scenario to anything other than repair it will not run.

    cd "C:Program FilesMicrosoft Office 15ClientX64

    "officeclicktorun.exe" DisplayLevel=true scenario=Repair
  • Anonymous
    August 12, 2014
    Background The June 2014 release (build 15.0.4623.1003 and later versions) of Office Click-to-Run from
  • Anonymous
    September 04, 2014
    Hi I'm looking for all the switches that can be used with integratedoffice.exe
    I have an older version of Officce (15.0.4535.1004 ) and require to manipulate the same.
    Can anyone point me in the right direction ?
  • Anonymous
    October 28, 2014
    The comment has been removed
  • Anonymous
    November 17, 2014
    Try this:

    officeclicktorun.exe scenario=Repair platform=x64 culture=en-us RepairType=QuickRepair DisplayLevel=True
  • Anonymous
    February 04, 2015
    Is there anyway to use officeclicktorun to downgrade a version? My company needs a solution to revert back in case there is an issue with an update.
  • Anonymous
    March 25, 2015
    The comment has been removed
  • Anonymous
    April 15, 2015
    The comment has been removed
  • Anonymous
    August 03, 2015
    Since when did a QUICK REPAIR relate to 6 hours in repair and still fixing!!! Is there anything I can do to speed this up?
  • Anonymous
    September 22, 2015
    I ran this to repair file associations. The utility ran as described but did not fix the associations.