Uninstall O365 using xml

Boopathi S 3,806 Reputation points
2023-04-07T14:39:17.2166667+00:00

Hello, I need to uninstall below applications 1

Uninstall.xml contains below

<?xml version="1.0" encoding="utf-8"?>
<Configuration>
    <Product ID="O365ProPlusRetail">
      <Language ID="en-us" />
    </Product>
    <Product ID="ProofingTools">
      <Language ID="en-us" />
      
    </Product>
  </Remove>
</Configuration>

I used below command setup.exe /customize Uninstall.xml Below output received 3

Tried using below xml

<Configuration> 
	<Product ID="O365ProPlusRetail" > 
      <Language ID="en-us" />  	
      <Language ID="es-es" />       
	 </Product> 
    </Remove>
</Configuration>

It exit immediately

Please help how can I uninstall the Office applicaitons 
Windows for business Windows 365 Enterprise
Microsoft 365 and Office Install, redeem, activate For business Windows
{count} votes

Accepted answer
  1. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2023-04-10T07:38:01.5333333+00:00

    Hi @Boopathi Subramaniam,

    Try this uninstall.xml:

    <Configuration> 
    <Remove All="TRUE">
    	<Product ID="O365ProPlusRetail" > 
          <Language ID="en-us" />  	
          <Language ID="es-es" />       
    	 </Product> 
        </Remove>
    </Configuration>
    
    

    Remove All***: Default value is false. Setting this value to true removes all components of Office products and languages from the device, including Project and Visio.

    Run this command line: setup.exe /configure uninstall.xml

    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.