![]()  | 
	
		
			
  | 
	|||||||
  
 | 
	
| 
		 | 
	Thread Tools | Display Modes | 
| 
		 
			 
			#1  
			 
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			I want to remove individual apps from existing Ms office 365 installation on my laptop running Windows 11. I tried to do this with a configuration file containing the following code.  
		
		
		
		
		
		
		
		
	
	Code: 
	<Add OfficeClientEdition="64" Channel="Current">
    <Product ID="O365BusinessRetail">
      <Language ID="MatchOS" />
      <Language ID="hi-in" />
      <ExcludeApp ID="Access" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
      <ExcludeApp ID="OneDrive" />
      <ExcludeApp ID="OneNote" />
      <ExcludeApp ID="Publisher" />
      <ExcludeApp ID="Teams" />
    </Product>
    <Product ID="ProofingTools">
      <Language ID="en-us" />
    </Product>
  </Add>
Code: 
	D:\foroffice>setup.exe /configure preferencesconfig.xml  | 
| 
		 
			 
			#2  
			 
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			I also ran the following commands in powershell with admin privileges but still no change.  
		
		
		
		
Get-AppxPackage -Name "Microsoft.Office.Desktop.Access" | Remove-AppxPackage Get-AppxPackage -Name "Microsoft.Office.Desktop.OneNote" | Remove-AppxPackage Get-AppxPackage -Name "Microsoft.Office.Desktop.Publisher" | Remove-AppxPackage Get-AppxPackage -Name "Microsoft.Office.Desktop.Teams" | Remove-AppxPackage Get-AppxPackage -Name "Microsoft.Office.Desktop.Groove" | Remove-AppxPackage I also tried again with the following configuration file but no success. Code: 
	<Configuration>
  <Add Version="MatchInstalled">
    <Product ID="O365ProPlusRetail">
      <Language ID="MatchOS" />
      <ExcludeApp ID="Access" />
      <ExcludeApp ID="Publisher" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
      <ExcludeApp ID="OneDrive" />
      <ExcludeApp ID="OneNote" />
      <ExcludeApp ID="Teams" />
      <ExcludeApp ID="Bing" />
      <ExcludeApp ID="Teams" />
    </Product>
  </Add>
</Configuration>
The xml and the setup file are in the same folder. I have tried running cmd prompt in admin privilege mode and regular mode too. Last edited by archz2; 05-28-2024 at 09:50 AM.  | 
 
 | 
	
	
| Tags | 
| office 365 | 
| Thread Tools | |
| Display Modes | |
| 
		 | 
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Can't Uninstall Office Professional 2007 | MC147 | Office | 7 | 02-22-2022 05:53 AM | 
		
		  Do I need to uninstall Office  2013 before I Install Office 2016
	 | 
	WalterW | Office | 1 | 02-10-2018 12:47 PM | 
| Can't Uninstall Office 365 Trial | thebuicklife | Office | 3 | 07-11-2014 06:28 PM | 
		
		  Uninstall Office 2010
	 | 
	Glenwvdp | Office | 1 | 11-05-2012 02:00 PM | 
		
		  Uninstall Office
	 | 
	Bobcoop103 | Office | 2 | 03-22-2010 08:04 PM |