Intune App Packaging

Deploy TeamViewer Host via Intune | Win32 Packaging

Published 17 March 2026 · 7 min read

TeamViewer Host is the unattended remote access service used by IT teams to remotely manage and support devices. Unlike the full TeamViewer client, Host runs as a background service and allows remote connections without the end user needing to do anything. This guide covers deploying TeamViewer Host via Intune with automatic assignment to your management account using the Custom Configuration ID.

Contents
  1. Prerequisites
  2. Download the Host MSI
  3. Wrap with the Content Prep Tool
  4. Add the app in Intune
  5. Install and uninstall commands
  6. Detection rule
  7. Known gotchas

Prerequisites

💡
Create your Custom Configuration first
Before downloading the MSI, go to your TeamViewer Management Console, navigate to User management > Deployment, and create a custom configuration. This gives you the CUSTOMCONFIGID needed to automatically assign devices to your account when TeamViewer Host installs.

Download the Host MSI

Download TeamViewer Host from the official TeamViewer download page:

https://www.teamviewer.com/en/download/windows/

Scroll to TeamViewer Host and download the MSI version (not the EXE). The filename will be TeamViewer_Host.msi.

Wrap with the Content Prep Tool

IntuneWinAppUtil.exe -c "C:\AppSource\TeamViewerHost" -s "TeamViewer_Host.msi" -o "C:\IntunePackages"

Add the app in Intune

Intune Admin Centre → Apps → Windows → + Add → Windows app (Win32)
  1. Upload the .intunewin file
  2. Name: TeamViewer Host
  3. Publisher: TeamViewer GmbH

Install and uninstall commands

⚙️
Program settings
Replace CUSTOMCONFIGID and APITOKEN with your values from the Management Console
Install commandCUSTOMCONFIGID auto-assigns the device to your account
msiexec /i "TeamViewer_Host.msi" /qn /norestart CUSTOMCONFIGID=your-config-id APITOKEN=your-api-token
Uninstall command
msiexec /x "TeamViewer_Host.msi" /qn /norestart
Install behaviourHost installs as a Windows service - System context required
System
Device restart behaviour
No specific action
💡
Get your API token
In the Management Console go to Edit profile > Apps > Create script token. Give it the permissions needed for device assignment. The token is used alongside the config ID to automatically place the device in the correct group.

Detection rule

🔍
File detection rule
[]
Rule type
File
Path
C:\Program Files\TeamViewer
File or folder name
TeamViewer_Service.exe
Detection method
File or folder exists
💡
Test your detection rule first
Before deploying to users, install the app manually on a test device and verify the detection rule matches. Run the detection script or check the file path exists before assigning to a group.

Known gotchas

Devices not appearing in the Management Console after deployment

If devices install successfully but do not appear in the Management Console, check the CUSTOMCONFIGID and APITOKEN values. An incorrect token or missing permissions on the API token are the most common causes. Check the TeamViewer service is running with Get-Service TeamViewer.

TeamViewer Host vs full client conflict

If a user already has the full TeamViewer client installed, installing Host alongside it can cause conflicts. Consider uninstalling the full client via a pre-script before deploying Host, or use a detection rule that checks for the full client and blocks the deployment if found.

Frequently Asked Questions

Q: How do I deploy TeamViewer Host silently via Intune?

Use: TeamViewer_Host.msi /qn /norestart CUSTOMCONFIGID=your-config-id APITOKEN=your-api-token. The CUSTOMCONFIGID links the device to your TeamViewer account automatically on install.

Q: What is the TeamViewer Host and how is it different from the full client?

TeamViewer Host is the unattended access module - it runs as a service and allows remote access to devices without user interaction. It is the correct version to deploy to managed devices via Intune. The full client is for interactive sessions only.

Q: Where do I get the TeamViewer Custom Configuration ID?

Log in to your TeamViewer Management Console, go to User management > Deployment, and create a custom configuration. The configuration ID is shown in the deployment settings and is used to automatically assign deployed devices to your account.

Q: How do I detect TeamViewer Host in Intune?

Use a file detection rule: check for TeamViewer_Service.exe in C:\Program Files\TeamViewer. Alternatively use the MSI product code for MSI detection.

More App Packaging Guides
Deploy Malwarebytes via Intune Deploy Cisco Webex via Intune Deploy Zoom via Intune
Installer typeMSI
Silent installYes - /qn /norestart
Auto account assignmentCUSTOMCONFIGID + APITOKEN
Runs as Windows serviceYes - System context required
Reboot requiredNo
// need intune set up properly?
Fixed-price Intune setup for UK businesses

I set up Intune for UK small businesses at a fixed price - app deployment, compliance policies, Conditional Access, and full documentation handed over at the end.

View Packages
#intune #app-packaging #win32