Uninstall & Reinstall Issues

How to Create an SCCM Microsoft Office Uninstallation Package

Camila MilosovichCamila Milosovich Oct 12, 2026 869 views

Question details

The user needs to create a deployment package in Microsoft Configuration Manager (SCCM) to mass uninstall on-premises Microsoft Office Standard or Professional across an organization.

How to Create an SCCM Package to Uninstall Microsoft Office
Product
Microsoft Configuration Manager / Microsoft Office
Device & OS
Windows
Scenario
Enterprise deployment and mass uninstallation of software.
Observed behavior
IT administrators need to silently remove existing MS Office installations via SCCM deployment to free up licenses or prepare for alternative office suites.
Before you start

Before deploying an uninstallation package, ensure you have administrative access to the Microsoft Endpoint Configuration Manager console and test the removal script on a small pilot group of machines to verify silent execution without interrupting end users.

Solution 1Recommended

Use the Office Deployment Tool (ODT) to Create an Uninstallation Package

The most reliable method for removing modern Click-to-Run Microsoft Office installations is using the ODT with a custom XML file configured for silent uninstallation.

This method applies to Office 365, Office 2019, and Office 2021 installations deployed via Click-to-Run. For older MSI installations, different command parameters or OffScrub scripts are required.

1
Download the Office Deployment Tool

Download the Office Deployment Tool (ODT) from the official Microsoft Download Center and extract the setup.exe file to a shared network source folder accessible by your SCCM environment.

2
Create the uninstallation XML file

Create a new text file named `uninstall.xml` in the same directory. Add the `<Remove>` configuration tag specifying the product ID you wish to uninstall, and ensure `<Display Level="None" AcceptEULA="TRUE" />` is set to force a silent removal.

3
Create the application in SCCM

Open the Configuration Manager Console, navigate to 'Software Library' > 'Application Management' > 'Applications', and click 'Create Application'. Choose to manually specify the application information.

4
Configure the deployment types and commands

In the Deployment Types tab, add a new script installer. Set the uninstallation program command line to `setup.exe /configure uninstall.xml` and define your detection method based on the Office registry key or file path.

5
Deploy to the target collection

Distribute the application content to your Distribution Points and deploy the uninstallation task to your chosen device collection, setting the purpose to 'Required' and user experience to 'Hidden'.

Use the Office Deployment Tool (ODT) to Create an Uninstallation Package
Test Deployment: Always deploy to a dedicated test collection first to verify the detection rules are triggering correctly and the uninstallation occurs silently without prompting the user.
Free Microsoft Office alternative

Deploy WPS Office as Your Lightweight Enterprise Alternative

If your organization is uninstalling Microsoft Office to cut licensing costs, optimize system performance, or deploy a unified solution across different platforms, WPS Office is an exceptional choice. It offers a free, lightweight, and highly compatible alternative that integrates seamlessly into standard IT deployment workflows, including SCCM.

Fully compatible with Microsoft Word, Excel, and PowerPoint file formats (.docx, .xlsx, .pptx).Lightweight installation package that consumes minimal bandwidth and storage during mass deployment.Supports silent installation parameters, making it easy to package and deploy via SCCM.Familiar tabbed ribbon interface ensures a seamless transition and zero learning curve for employees.
microsoft office alternative - wps office

Frequently Asked Questions

Can I uninstall older MSI versions of Office using SCCM?

Yes. For MSI-based Office installations (such as Office 2016 or earlier), you can often use the standard `msiexec /x {ProductCode} /qn` command, or utilize Microsoft's official OffScrub scripts packaged into an SCCM deployment for a cleaner removal.

How do I ensure the SCCM Office uninstallation is completely silent?

In your ODT XML configuration file, set the display property to `<Display Level="None" AcceptEULA="TRUE" />`. Additionally, in the SCCM deployment settings, ensure the user experience is set to 'Hidden' and 'Install for system'.

Will an SCCM uninstallation package remove user data and settings?

Standard Office uninstallation methods remove the application program files but typically leave user-specific settings, Outlook profiles, macros, and saved documents intact in their respective AppData and Documents directories.

Why is my SCCM Office uninstall deployment failing with error 17002?

Error code 17002 usually indicates that a reboot is pending on the client machine or another installation is currently in progress. Ensure your SCCM deployment package handles reboot return codes correctly or enforces a system restart prior to execution.