This document provides you with the steps required to uninstall Microsoft 365, Office 2019, 2021 and 2024 through Endpoint Central.
To uninstall Microsoft 365, Office 2019, 2021 and 2024 follow the steps given below:
Download: Download the Office Deployment Tool from the Microsoft website.
Store: Store in the network share, if you want to uninstall the software from computers within the network. If the requirement is to uninstall the application from computers located in a remote location, use HTTP upload.
Note: The network share should have read permissions to everyone in the group and should be accessible from all the computers from which the application is to be uninstalled.

To extract the downloaded package, navigate to the command prompt and run this command -
<file path>\<Office_Deployment_FileName.exe> /extract:<file path>\Destination Folder /quiet
Note:
Ensure that you enter the correct office deployment executable file name and the file path at the command prompt before extracting the package. You can know the file name by viewing the details, before downloading the package from the website.

Edit: Open the Configuration.xml file for the corresponding ve from the extracted folder and the edit the file as given below,
<Configuration>
<Display Level="None" AcceptEULA="TRUE" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Remove>
<Product ID="O365ProPlusRetail"></Product>
<Product ID="ProjectProRetail"></Product>
<Product ID="VisioProRetail"></Product>
</Remove>
</Configuration>


Content | Share Path / CD | Http |
|---|---|---|
| Uninstallation Command | "Share Path\setup.exe /configure "Share Path\configuration.xml" | setup.exe /configure <configuration.xml> |
| Example | "\\computer_name\DCSWRepository\Office365Extracted\setup.exe" /configure "\\computer_name\DCSWRepository\Office365Extracted\configuration-Office365-x64.xml" | setup.exe /configure configuration-Office365-x64.xml |
