How to deploy a .diagcab with SCCM

The goal is to create an automated uninstall for Office 365 Click-to-Run

Apart from the manual steps, is it possible to automatically deploy the Fixit (O15CTRRemove.diagcab) with SCCM 2012 without user interaction?

The command line I've been using is the following:
MSDT.exe /Cab .\O15CTRRemove.diagcab /moreoptions false

The program runs, but keeps running and nothing is happening..
In the background, the process is probably waiting for user input, but since the notifications are suppressed it will run forever (to fail eventually)

I've read about the possibility to use a XML-file, with the /af -switch, but on the website no example is given.

It is my first time trying to deploy a .diagcab and a little help would be appreciated.

May 12th, 2014 11:48am

MSDT.exe /Cab .\O15CTRRemove.diagcab /moreoptions false

Does this run successfully without user intervention via command line? This is always the first step in deploying apps with ConfigMgr - trying to install them sil

Free Windows Admin Tool Kit Click here and download it now
May 12th, 2014 12:14pm


As Gerry said, please test the command line to uninstall Office 365 without user interaction before using SCCM.

If this command line cannot work, you could get better support from Office forum.

Best Regards,


May 13th, 2014 7:23am

It doesn't.

When I run the command I get the GUI where I have to press "next" to start to search the issue
Afterwards I need to press Next again to start the uninstall.

Using the "015CTRRemove.diagcab /?" command or with "/help" just gives me the GUI to press "next" and start the search to remove Office.

I wondered if there was a switch or XML-code that I could use that makes it continue on its own.

Free Windows Admin Tool Kit Click here and download it now
May 13th, 2014 4:15pm

That'll be the problem then. That is always the first step in application deployment via ConfigMgr. You have to figure out how to install the application silently via command line. Unfortunately, in this case, you won't receive that advice on this forum. You'd probably have a better chance on the Office 365 forum. Once you can run the command silently the guys here will be able to help with further problems (on the ConfigMgr end).
May 14th, 2014 7:26am

Everything posted here is ineffective.  Here's how to silently uninstall Office 2013 using the FixIt tool ...

1. Extract the contents of O15CTRRemove.diagcab with 7-zip (or other)

2. Run "OffScrub15_015msi.vbs all" from powershell or cmd prompt.


Free Windows Admin Tool Kit Click here and download it now
November 5th, 2014 10:19am

instead of Run use wscript drop the quotes.

wscript OffScrub15_015msi.vbs all

this should work

July 7th, 2015 11:31pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics