Table of Contents
TeamViewer Host is a specialized version of the popular remote access software developed by TeamViewer AG, designed to enable unattended access to devices for remote monitoring, maintenance, and support. Whether you’re managing multiple devices in an organization or setting up a few personal machines, installing or uninstalling TeamViewer Host silently and automatically on Windows computers can save time and effort, especially for IT administrators. This guide will cover several detailed methods to silently install or uninstall TeamViewer Host, ensuring the process is smooth and automated without requiring user intervention.
Software Name | TeamViewer Host |
Version | 15.63.4 |
Installer Type | MSI |
Architecture | 64-bit |
Download Path | https://download.teamviewer.com/download/version_15x/update/Update_msi_Host_15.63.4_x64.zip |
Silent Installation Switch | msiexec.exe /i "update.msi" /qn |
Silent Uninstallation Switch | msiexec.exe /x "{D6085ACE-C24B-43EE-BB16-52C41B9695F5}" /qn |
What is Silent Installation?
Silent installation refers to installing software without showing any prompts, dialogs, or requiring user interaction. This is particularly useful for IT administrators, automated scripts, or bulk deployments. It brings a host of benefits that streamline software deployment. Here’s a concise look at why silent installation is advantageous:
- Time and Effort Savings: Automate the installation process, eliminating manual intervention and saving valuable time and effort.
- User-Friendly Experience: Minimize interruptions and prompts, providing a seamless installation process for users, and enhancing productivity.
- Customization and Control: Tailor the installation to your organization’s needs by specifying parameters such as location, language, and components.
- Scalability and Efficiency: Easily deploy software on a large scale, saving time and ensuring a streamlined installation process.
Download link for the TeamViewer Host installer
The initial step involves locating the download link for the installer. The Windows Package Manager can be used to find this link. It is a comprehensive package management solution that comes pre-installed on Windows 11 and newer versions of Windows 10.
1. To obtain the direct link of TeamViewer Host, first, right-click on the Windows Start icon, then selectTerminal (PowerShell) (Admin) or search for Command Prompt (CMD) and run as administrator.
2. Please copy and execute the following command to get the official download link:
winget show --id TeamViewer.TeamViewer.Host | Select-String -Pattern "Installer URL"
3. You should see the output below with the direct download link for TeamViewer Host. Please copy or take note of it, as we will be using it in automation scripts in the upcoming sections.
https://download.teamviewer.com/download/version_15x/update/Update_msi_Host_15.63.4_x64.zip
Method 1: PowerShell Script (*.ps1)
The first method involves using a PowerShell script. Below is a basic PowerShell script that automates the silent installation of TeamViewer Host. The script explanation is provided below:
- Declare the variables for TeamViewer Host download link and the download file path in temporary folder.
- Downloads the 64-bit TeamViewer Host installer to the temporary location,
- Extract the downloaded ZIP file to the temporary folder. You will obtain the MSI installer.
- Installs it silently using msiexec (no user prompts or UI).
- And then cleans up by deleting the temporary installer file.
# Declare variables
$DownloadLink = "https://download.teamviewer.com/download/version_15x/update/Update_msi_Host_15.63.4_x64.zip"
$InstallerPath = "$env:TEMP\update.zip"
# Download and install the app
Write-Output "Downloading the installer..."
[System.Net.WebClient]::new().DownloadFile($DownloadLink, $InstallerPath)
# Extract the downloaded zip file
Expand-Archive -Path "$env:TEMP\update.zip" "$env:TEMP" -Force
# Install the app silently
Write-Output "Installing the app silently..."
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i `"$env:TEMP\update.msi`" /quiet /norestart" -Wait
Write-Output "The app has been successfully."
# Cleanup
Remove-Item -Path $InstallerPath -Force
Remove-Item -Path "$env:TEMP\update.msi" -Force
You can copy the code snippets and paste them into a PowerShell console to execute them directly. Alternatively, you can create a PowerShell script, save it on your computer (e.g., C:\scripts\install.ps1) with a .ps1 file extension, and then run the script within a PowerShell console.
Advanced PowerShell script
The below updated script is significantly more robust, user-friendly, and reliable compared to the basic one. Features like error handling, installation verification, and detailed logging make it better suited for professional environments or scenarios where reliability is a priority. You can get the script by clicking on the button below.
# Declare variables
$DownloadLink = "https://download.teamviewer.com/download/version_15x/update/Update_msi_Host_15.63.4_x64.zip"
$InstallerPath = "$env:TEMP\update.zip"
# Download and install the app
Write-Output "Downloading the installer..."
[System.Net.WebClient]::new().DownloadFile($DownloadLink, $InstallerPath)
# Extract the downloaded zip file
Expand-Archive -Path "$env:TEMP\update.zip" "$env:TEMP" -Force
# Install the app silently
Write-Output "Installing the app silently..."
try {
$args = "/i `"$env:TEMP\update.msi`" /quiet /norestart"
Start-Process -FilePath "msiexec.exe" -ArgumentList $args -Wait -ErrorAction Stop
} catch {
Write-Output "The installation failed. Error: $($_.Exception.Message)"
}
# Verify Installation
Write-Output "Verifying the installation..."
$RegKeys = @(
'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\',
'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\'
)
$AppInstalled = $RegKeys | Get-ChildItem -ErrorAction SilentlyContinue |
Get-ItemProperty -ErrorAction SilentlyContinue |
Where-Object { $_.DisplayName -like '*teamviewer*' }
if ($AppInstalled) {
Write-Output "The app is installed. Version: $($AppInstalled.DisplayVersion)"
} else {
Write-Output "Failed to verify installation status."
}
# Cleanup
Write-Output "Cleaning up temporary files..."
Remove-Item -Path $InstallerPath -Force
Remove-Item -Path "$env:TEMP\update.msi" -Force
Write-Output "Temporary files cleaned up successfully."
Write-Output "All tasks completed successfully."
# Output Advanced PowerShell script
PS C:\Windows\system32> & "C:\scripts\install.ps1"
Downloading the installer...
Installing the app silently...
Verifying the installation...
The app is installed. Version: 15.63.4.0
Cleaning up temporary files...
Temporary files cleaned up successfully.
All tasks completed successfully.
Troubleshooting Common Issues
- Command Not Recognized: Please ensure that the installer file path is correct and use the absolute paths instead of relative paths.
- Permissions Error: Execute PowerShell or Command Prompt with administrative privileges.
No Silent Switch: Please double-check that you are using the correct installation switch.
Debugging with Logs: Use the /log option to generate a detailed log file:
...
try {
$args = "/i `"$InstallerPath`" /quiet /norestart /log 'C:\Logs\Install.log'"
Start-Process -FilePath "msiexec.exe" -ArgumentList $args -Wait -ErrorAction Stop
} catch {
Write-Output "App installation failed. Error: $($_.Exception.Message)"
}
...
Method 3: Batch Scripts (*.bat, *.cmd)
The next method is using batch script. Batch scripting is great for quick, simple, and legacy tasks, but for powerful automation workflows, PowerShell is the modern solution. Unless you have a legacy requirement, familiarity with PowerShell will generally provide much greater flexibility and capability in the long run.
Explanation of the Batch Version:
- Declare the variables for TeamViewer Host download link and the download file path in temporary folder.
- Download the zip installer using curl (available in Windows 10/11)
- Extract the downloaded ZIP file to the temporary folder. You will obtain the MSI installer.
- The msiexec is used to install the .msi file silently using /quiet /norestart.
- Deletes the installer file after installation to ensure no leftover files.
@echo off
setlocal EnableDelayedExpansion
REM Declare variables
set "DownloadLink=https://download.teamviewer.com/download/version_15x/update/Update_msi_Host_15.63.4_x64.zip"
set "InstallerPath=%TEMP%\update.zip"
set "ExtractPath=%TEMP%"
REM Download the installer using curl (available in Windows 10/11)
echo Downloading the installer...
curl -L "!DownloadLink!" -o "!InstallerPath!"
REM Extract the downloaded zip file using built-in tar (Windows 10/11) or expand
echo Extracting the zip file...
tar -xf "!InstallerPath!" -C "!ExtractPath!" || (
echo Using alternative extraction method...
powershell -command "Expand-Archive -Path '!InstallerPath!' -DestinationPath '!ExtractPath!' -Force"
)
REM Install the app silently
echo Installing the app silently...
msiexec.exe /i "!ExtractPath!\update.msi" /quiet /norestart
echo The app has been successfully installed.
REM Cleanup
del /Q /F "!InstallerPath!"
del /Q /F "!ExtractPath!\update.msi"
echo Cleanup completed.
pause
endlocal
How to run the batch script
1. First, create a batch script by copying the above code snippets to a new text file and saving it with the .bat extension (e.g., “C:\scripts\install.bat”).
2. Run the batch file with administrative privileges by right-clicking on the .bat file → Run as administrator.
3. Verify the output to ensure that TeamViewer Host has been installed successfully.
# Output
Downloading the installer...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 44.0M 100 44.0M 0 0 13.0M 0 0:00:03 0:00:03 --:--:-- 14.6M
Extracting the zip file...
Installing the app silently...
The app has been successfully installed.
Cleanup completed.
Press any key to continue . . .
Method 4: Install TeamViewer Host with package managers
Furthermore, on Windows computers, package managers can be used as an alternative to silently downloading and installing applications like TeamViewer Host. Package managers make installations easier, faster, and repeatable, especially for IT administrators or developers managing multiple machines. Here’s an overview of using some of the most common Windows package managers to silently install TeamViewer Host.
Package Manager | Ease of use | Silient instructions | Official suuport | Popular apps |
Winget [Recommended] | Easy | Yes | Microsoft-supported | 2000+ |
Chocolatey | Moderate | Yes | Community-driven | 9000+ |
Scoop | Moderate | Yes | Community-driven | 1500+ |
Install TeamViewer Host with Windows Package Manager (winget)
Winget (Windows Package Manager) is Microsoft’s official command-line package manager that ships with Windows 10 and Windows 11. It’s simple, lightweight, and perfect for managing software installations.
PS C:\Windows\system32> winget
Windows Package Manager v1.10.340
Copyright (c) Microsoft Corporation. All rights reserved.
The winget command line utility enables installing applications and other packages from the command line.
usage: winget [<command>] [<options>]
The following commands are available:
install Installs the given package
show Shows information about a package
source Manage sources of packages
search Find and show basic info of packages
list Display installed packages
upgrade Shows and performs available upgrades
uninstall Uninstalls the given package
hash Helper to hash installer files
validate Validates a manifest file
settings Open settings or set administrator settings
features Shows the status of experimental features
export Exports a list of the installed packages
import Installs all the packages in a file
pin Manage package pins
configure Configures the system into a desired state
download Downloads the installer from a given package
repair Repairs the selected package
For more details on a specific command, pass it the help argument. [-?]
To install TeamViewer Host, open Windows PowerShell (Terminal) or Command Prompt (cmd) as an administrator, and then execute the following command:
winget install --id TeamViewer.TeamViewer.Host --accept-package-agreements --accept-source-agreements
# Output
Found TeamViewer Host [TeamViewer.TeamViewer.Host] Version 15.63.4
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.teamviewer.com/download/version_15x/update/Update_msi_Host_15.63.4_x64.zip
██████████████████████████████ 44.0 MB / 44.0 MB
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Successfully installed
Install TeamViewer Host with Chocholatey
Chocolatey is one of the most popular Windows package managers. It simplifies software installation by automating the process. The code snippets below will install the Chocolatey package manager on your system:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
irm https://community.chocolatey.org/install.ps1 | iex
choco feature enable -n allowGlobalConfirmation
Once Chocolatey is installed, execute the following code to install TeamViewer Host silently:
choco install teamviewer.host
# Output is truncated
...
Chocolatey v2.4.3
Installing the following packages:
teamviewer.host
By installing, you accept licenses for the packages.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading teamviewer.host 15.51.6.0... 100%
teamviewer.host v15.51.6 [Approved] - Likely broken for FOSS users (due to download location changes)
teamviewer.host package files install completed. Performing other installation steps.
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Installing teamviewer.host...
teamviewer.host has been installed.
teamviewer.host may be able to be automatically uninstalled.
The install of teamviewer.host was successful.
Deployed to 'C:\Program Files (x86)\TeamViewer'
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Uninstall TeamViewer Host Silently
If the application is no longer required, it can also be uninstalled silently. Below are several methods to remove it depending on how it was installed.
Using PowerShell to uninstall silently
Below is a one-line command to uninstall TeamViewer Host silently and automatically. The command can be executed in both PowerShell and Command Prompt (CMD).
msiexec.exe /x "{D6085ACE-C24B-43EE-BB16-52C41B9695F5}" /qn
Alternatively, the following code provides an advanced script to uninstall TeamViewer Host with error handling.
# Unstall the app silently
Write-Output "Uninstalling the app silently..."
try {
$args = "/x {D6085ACE-C24B-43EE-BB16-52C41B9695F5} /quiet /norestart"
Start-Process -FilePath "msiexec.exe" -ArgumentList $args -Wait -ErrorAction Stop
Write-Output "The app uninstallation successfully"
} catch {
Write-Output "The installation failed. Error: $($_.Exception.Message)"
}
Using package manager to uninstall silently
If TeamViewer Host was installed via a package manager, run this command in an elevated Command Prompt or PowerShell to uninstall it silently:
# Windows Package Manager (winget)
winget uninstall --id TeamViewer.TeamViewer.Host
# Chocolatey
choco uninstall teamviewer.host
Method 5: Group Policy (GPO)
Deploying TeamViewer Host across your domain-joined Windows machines can be quick and hassle-free with the help of Group Policy. Advantages of GPO Deployment:
- Centralized management: No need to manually touch individual machines.
- Silent and automated installation: Perfect for enterprise scenarios.
- Easy to configure additional settings using Group Policy.
1. First, download the TeamViewer Host installer, rename it to setup.msi, and then copy it to a network-accessible shared folder that all domain computers and domain users can access.
The installer can be saved on a file server. For demonstration purposes, it will be stored in \\tv2.local\SYSVOL\tv2.local\scripts. Please remember to replace tv2.local with your local domain name.
2. Next, on a domain controller, open the Group Policy Management Console (GPMC) then:
- Navigate to the Organizational Unit (OU) that contains the computers where you want to deploy TeamViewer Host.
- Right-click the OU, and select Create a GPO in this domain, and link it here.
- Name your GPO something relevant, such as “TV2 – GPO Application Deployment”.
3. Next, edit the GPO by right clicking your newly created GPO and selecting Edit.
4. In the Group Policy Management Editor:
- Navigate to Computer Configuration → Policies → Software Settings → Software Installation.
- Add the software package by right-click on blank area → New → Package….
5. The next step is to enter the UNC path of the MSI installer in the network shared location that was prepared in the previous step. For example: \\tv2.local\SYSVOL\tv2.local\scripts\setup.msi
6. Select Deployment Method: In the dialog box that appears, choose Assigned (recommended for silent, system-level installations), which ensures the application installs automatically during system boot.
7. To apply the GPO immediately, on a client machine, open Command Prompt or PowerShell as an administrator and then run gpupdate /force command.
# Output
PS C:\Windows\system32> gpupdate /force
Updating policy...
Computer Policy update has completed successfully.
The following warnings were encountered during computer policy processing:
Group Policy Client Side Extension Software Installation was unable to apply one or more settings because the
changes must be processed before system startup or user logon. The system will wait for Group Policy processing
to finish completely before the next startup or logon for this user, and this may result in slow startup and
boot performance.
User Policy update has completed successfully.
For more detailed information, review the event log or run GPRESULT /H GPReport.html from the command line to
access information about Group Policy results.
Certain Computer policies are enabled that can only run during startup.
OK to restart? (Y/N)
8. After applying the GPO, restart the computer. Then, check the Programs and Features or the Start Menu to confirm that TeamViewer Host is installed. Alternatively, you can run the following command to check the status of GPO applied to the computer.
gpresult /r /scope:computer
# Output
PS C:\Windows\system32> gpresult /r /scope:computer
...
RSOP data for on PC-001 : Logging Mode
----------------------------------------
OS Configuration: Member Workstation
OS Version: 10.0.19045
Site Name: Default-First-Site-Name
COMPUTER SETTINGS
------------------
CN=PC-001,OU=TEST_OU,DC=tv2,DC=local
Last time Group Policy was applied: 3/8/2025 at 7:24:54 PM
Group Policy was applied from: DC01.tv2.local
Group Policy slow link threshold: 500 kbps
Domain Name: TV2
Domain Type: Windows 2008 or later
Applied Group Policy Objects
-----------------------------
TV2 - GPO Application Deployment
Default Domain Policy
The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
Local Group Policy
Filtering: Not Applied (Empty)
...
Key Notes and Troubleshooting
- File Paths: Always use the UNC path ( \\tv2.local\SYSVOL\tv2.local\scripts\setup.msi ) when referencing the MSI file in Group Policy to ensure accessibility.
- Permissions: Ensure the shared installer path has proper Read permissions for Domain Computers or Authenticated Users.
- Testing: Always test your GPO on a small group of computers before applying it to the entire domain.
Installer Not Downloading: Ensure that shared folder permissions are correctly set and confirm that the UNC path is accessible from the client machines.
Group Policy Not Applied: Ensure the policy is linked to the correct OU containing client computers.
Conclusion
Silently installing TeamViewer Host on Windows offers a streamlined, efficient approach for deploying the app across multiple systems, particularly in organizational or enterprise environments. By leveraging command-line parameters, users can automate installations without disruptive interfaces, ensuring consistency and saving time. This method is especially valuable for IT administrators and system managers tasked with large-scale deployments, as it minimizes user interaction and reduces potential errors.
Not a reader? Watch this related video tutorial: