# Uninstall Microsoft Office 2019 This document provides you the steps to uninstall Microsoft Office 2019 using Endpoint Central. ## Table of contents 1. [Download the package](#download-the-package) 2. [Customize the XML](#customize-the-xml) 3. [Adding the software package in Endpoint Central](#adding-the-software-package-in-endpoint-central) 4. [Deploy to target computers](#deploy-to-target-computers) ## Download the Package Download Microsoft office 2019 tool from the [Microsoft website](https://www.microsoft.com/en-us/download/details.aspx?id=49117) and store in the network share. ## Customize the XML 1. To extract the downloaded package, navigate to the command prompt and run this command: ``` \officedeploymenttool_6612-6352.exe /extract:"\Destination Folder" /quiet ``` ![uninstallms2019](https://www.manageengine.com/products/desktop-central/images/uninstall2019-cmd.png) 2. After extracting the package, you will see a `setup.exe` file along with `.xml` files. Remove those `.xml` files and create a new one named `Uninstall.xml` using the content provided below, then save it in the same directory. ``` ``` - To remove any other Products that are supported by the Office Deployment Tool, refer to the article [here](https://learn.microsoft.com/en-us/microsoft-365/troubleshoot/installation/product-ids-supported-office-deployment-click-to-run) and modify the ProductID as required to remove the particular application. - Setting FORCEAPPSHUTDOWN value as "True" will close all the Microsoft Office applications forcibly before removing the application. This may cause data loss if Microsoft Office applications were running in the background. If this feature is not required, set FORCEAPPSHUTDOWN value to be FALSE. This will not remove the application if any of the applications are running on the machine. ![uninstallms2019](https://www.manageengine.com/products/desktop-central/images/uninstall2019-uninstall.png) 3. Place the complete folder in the Network share. ## Adding the software package in Endpoint Central 1. Click the **Software Deployment** tab. 2. Click **Add Package**. 3. Select the **MSIEXEC/EXE/ISS/Command** package type. 4. Specify a name for the application. 5. Choose **Shared Folder**. 6. Specify the **UnInstallation Command with Switches/Arguments** as: ``` "\setup.exe" /uninstall ProPlus /config "\uninstall.xml" ``` For example: ``` "\\dc-machine1\SoftwareRepository\office\setup.exe" /uninstall ProPlus /config "\\dc-machine1\SoftwareRepository\office\uninstall.xml" ``` 7. Click **Add Package**. ![uninstallms2019](https://www.manageengine.com/products/desktop-central/images/uninstall2019-addpackage.png) ## Deploy to target computers 1. Select the package that you added. 2. Click **Uninstall Software**. 3. Enter a name and description for the configuration. 4. Define the package settings. 5. Choose the operation type as **Install**. 6. Choose the package name from the drop-down. 7. Configure Install/uninstall options. 8. Configure the deployment settings. 9. Choose the target computers. 10. Specify the schedule options, if required. 11. Click **Deploy**. You have uninstalled Microsoft Office 2019 successfully.