Exclude Skype for Business from an Office 365 Deployment XML
Question details
The user wants to exclude Skype for Business from an Office 365 Business Premium deployment and reuse the installation files on multiple computers.

- Product
- Office 365 Business Premium and Office Deployment Tool
- Device & OS
- not provided
- Scenario
- Create a deployment configuration and download Office installation files to a USB drive for installation on two PCs.
- Observed behavior
- The deployment should install the configured Office apps without Skype for Business, using the same downloaded source files.
Download the Office Deployment Tool from Microsoft and confirm that your license includes the desktop Office apps. Check the required product ID, language, and Office architecture for your deployment, and make sure the USB drive has enough free space.
Exclude Skype for Business and deploy Office from a USB drive
Use the Lync application identifier in the configuration XML, then download the installation files once and use them on both PCs.
The ExcludeApp ID for Skype for Business is Lync. SkypeforBusinessRetail is a product identifier, not the value to use for this exclusion.
Extract setup.exe from the Office Deployment Tool to the USB drive. In a text editor, create configuration.xml alongside it and add: <Configuration><Add OfficeClientEdition="64" Channel="Current" SourcePath="E:\OfficeSource"><Product ID="O365BusinessRetail"><Language ID="en-us"/><ExcludeApp ID="Lync"/></Product></Add></Configuration>. Replace E:\OfficeSource with the folder where you want to store the files and verify that the product ID, channel, language, and architecture match your deployment.
Open Command Prompt, navigate to the folder containing setup.exe and configuration.xml on the USB drive, and run setup.exe /download configuration.xml. Wait for the download to finish.
Connect the USB drive to each PC. If its drive letter differs, update SourcePath in configuration.xml to point to the USB source folder. Open Command Prompt as an administrator, navigate to the folder containing setup.exe, and run setup.exe /configure configuration.xml.
On each PC, open the installed apps list in system settings and check for a previous Skype for Business or Lync installation. Uninstall it separately if it remains and is not needed.

Use WPS Office as an alternative for everyday office work
WPS Office is a free, lightweight, easy-to-use alternative with a familiar interface and compatibility with common Microsoft Office formats, making it easier to move existing documents into a different office suite. It does not configure or repair Microsoft Office deployments.

Frequently Asked Questions
Why does the XML use Lync instead of SkypeforBusinessRetail?
Lync is the application ID used in <ExcludeApp ID="Lync"/>. SkypeforBusinessRetail is a product ID, which serves a different purpose in deployment configurations.
Where should I put the ExcludeApp element?
Place <ExcludeApp ID="Lync"/> inside the relevant Product element in configuration.xml, alongside the Language element.
Can I use the same downloaded Office files on both PCs?
Yes. Run setup.exe /download with the configuration file once, then use setup.exe /configure on each PC. Make sure SourcePath points to the USB source folder on each computer.
Will the exclusion remove an existing Skype for Business installation?
Do not rely on the exclusion to remove a separate existing installation. Check the installed apps list on each PC and uninstall an unwanted Skype for Business or Lync installation separately.




