Uninstall Office 365 with ODT

Alyson Leandro Trizotto Pereira 0 Reputation points
2023-01-30T12:59:04.3233333+00:00

How can i uninstall office 365?

I was make to much XML archives for uninstall but i don't are retrieved a positive result.

leave here some one files i made

For instalation

<Configuration ID="f958a1e4-dd09-4409-a50b-3997635b51fc">
  <Add OfficeClientEdition="64" Channel="Current" MigrateArch="TRUE">
    <Product ID="O365BusinessRetail">
      <Language ID="MatchOS" />
      <Language ID="en-us" />
      <Language ID="MatchPreviousMSI" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
    </Product>
    <Product ID="VisioProRetail">
      <Language ID="MatchOS" />
      <Language ID="en-us" />
      <Language ID="MatchPreviousMSI" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
    </Product>
    <Product ID="ProjectProRetail">
      <Language ID="MatchOS" />
      <Language ID="en-us" />
      <Language ID="MatchPreviousMSI" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
    </Product>
    <Product ID="AccessRuntimeRetail">
      <Language ID="MatchOS" />
      <Language ID="en-us" />
      <Language ID="MatchPreviousMSI" />
    </Product>
  </Add>
  <Property Name="SharedComputerLicensing" Value="0" />
  <Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
  <Property Name="DeviceBasedLicensing" Value="0" />
  <Property Name="SCLCacheOverride" Value="0" />
  <Updates Enabled="TRUE" />
  <RemoveMSI />
  <AppSettings>
    <User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="51" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" />
    <User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="27" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" />
    <User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />
  </AppSettings>
  <Display Level="None" AcceptEULA="TRUE" />
</Configuration>

For Uninstall

Test 1

<Configuration>
<Display Level="None" AcceptEULA="TRUE" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Remove>
<Product ID="O365BusinessRetail">
</Product>
<Product ID="O365BusinessRetail">
</Product>
<Product ID="VisioProRetail">
</Product>
<Product ID="ProjectProRetail">
</Product>
<Product ID="AccessRuntimeRetail">
</Product>
</Remove>
</Configuration>

Test 2

<Configuration ID="f958a1e4-dd09-4409-a50b-3997635b51fc">
  <Remove OfficeClientEdition="64" Channel="Current" MigrateArch="TRUE">
    <Product ID="O365BusinessRetail">
      <Language ID="MatchOS" />
      <Language ID="en-us" />
      <Language ID="MatchPreviousMSI" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
    </Product>
    <Product ID="VisioProRetail">
      <Language ID="MatchOS" />
      <Language ID="en-us" />
      <Language ID="MatchPreviousMSI" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
    </Product>
    <Product ID="ProjectProRetail">
      <Language ID="MatchOS" />
      <Language ID="en-us" />
      <Language ID="MatchPreviousMSI" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
    </Product>
    <Product ID="AccessRuntimeRetail">
      <Language ID="MatchOS" />
      <Language ID="en-us" />
      <Language ID="MatchPreviousMSI" />
    </Product>
  </Remove>
  <RemoveMSI />
  <Display Level="None" AcceptEULA="TRUE" />
</Configuration>

Test 3

<Configuration>
<Display Level="None" AcceptEULA="TRUE" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Remove>
<Product ID="O365ProPlusRetail">
</Product>
<Product ID="O365BusinessRetail">
</Product>
<Product ID="VisioProRetail">
</Product>
<Product ID="ProjectProRetail">
</Product>
<Product ID="AccessRuntimeRetail">
</Product>
</Remove>
</Configuration>

Test 4

<Configuration>
	<Display Level="None" AcceptEULA="TRUE" />
	<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
	<Property Name="AUTOACTIVATE" Value="0"/>
    	<Property Name="SharedComputerLicensing" Value="0"/>
    	<Property Name="PinIconsToTaskbar" Value="FALSE"/>
	<Remove ALL="TRUE">
		<Product ID="O365ProPlusRetail" />
		<Product ID="O365BusinessRetail" />
		<Product ID="VisioProRetail" />
		<Product ID="ProjectProRetail" />
		<Product ID="AccessRuntimeRetail" />
	</Remove>
</Configuration>

In all test i don't obtive a uninstall of Office 365. All products are uninstalled, but only Office 365 don't is. Some one can help-me?

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,302 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,488 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,000 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Hua-MSFT 27,526 Reputation points
    2023-01-31T01:47:19.3466667+00:00

    Hi @Alyson Leandro Trizotto Pereira

    If you want to remove all C2R versions of Office products, please try following .xml file.

    <Configuration>
      <Remove All="TRUE">
      </Remove>
    </Configuration>
    

    If you only want to uninstall Microsoft 365 Apps, according the first installation .xml file, please try following .xml file.

    <Configuration>
      <Remove All="False">
        <Product ID="O365BusinessRetail" >
          <Language ID="MatchOS" />
          <Language ID="en-us" />
          <Language ID="MatchPreviousMSI" />
        </Product>
      </Remove>
    </Configuration>
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


    0 comments No comments

  2. Alyson Leandro Trizotto Pereira 0 Reputation points
    2023-01-31T12:33:53.01+00:00

    hello, i'm tried it what you splaining, but don't are working

    User's image

    I performed the test with the two models that you advised... But it still didn't work... The images show the way I'm making the calls and the XML file along with the open menu... The menu shortcuts are functional, perform the test to validate that they did not have a broken link or something like that...

    User's image