Silent-install Teamviewer Host
A complete silent install of teamviewer host does not seem to work anymore like in older versions:
This worked with older versions for example:
msiexec /i "PATH" /qn APITOKEN="api_token" CUSTOMCONFIGID="customconfig" SETTINGSFILE="PATH" ASSIGNMENTOPTIONS="--grant-easy-access"
Now to install teamviewer silently, I install an older version and update it through Management Console.
Thank you in advance,
Lukas
Best Answer
-
Haven't looked into this for a while, but as it seems the versions of teamviewer host was finally updated. And a new tutorial was written:
For anyone having troubles here a quick tutorial:
1. Log into Management Console (https://login.teamviewer.com/LogOn) and go to Home / Design & Deploy / ASSIGNMENT2. Create a new assignment (or use existing one)
3. Copy the Assignment ID of the configuration and save it for later
3. Go to Home / Design & Deploy / CUSTOM MODULES
4. Create a new Custom Module by clicking on "+" and then "Host"
5. Fill out everything relevant to you and click save
6. Now go back into the Module you just created and download relevant msi package (small text with "Download MSI")
7. Copy the Configuration ID and save it for later (is located under the Download-Text mentioned in 6.)
8. Modify and run the powershell script mentioned below (You need admin rights for installation and assignment)
#Define your variables (replace with actual values)$tv_setup = "tv_setup_path" # Example MSI file, replace with actual file path
#Install TeamViewer using MSIEXEC
$customconfig = "configuration_id" # Example custom config ID, replace with actual custom config ID
$id = "assignment_id" # Example assignment ID, replace with actual ID
$executable = #"C:\Program Files\TeamViewer\TeamViewer.exe" if 64 bit version or "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" if 32 bit$arguments = "/i",$tv_setup,"/qn","CUSTOMCONFIGID=$customconfig"
Start-Process "msiexec.exe" -ArgumentList $arguments -Wait
#Wait for 30 secondsStart-Sleep -Seconds 30
#Run the TeamViewer assignment command& $executable assignment --id $id
0
Answers
-
We are having the same issue.
1 -
same issue
Ari0 -
Haven't looked into this for a while, but as it seems the versions of teamviewer host was finally updated. And a new tutorial was written:
For anyone having troubles here a quick tutorial:
1. Log into Management Console (https://login.teamviewer.com/LogOn) and go to Home / Design & Deploy / ASSIGNMENT2. Create a new assignment (or use existing one)
3. Copy the Assignment ID of the configuration and save it for later
3. Go to Home / Design & Deploy / CUSTOM MODULES
4. Create a new Custom Module by clicking on "+" and then "Host"
5. Fill out everything relevant to you and click save
6. Now go back into the Module you just created and download relevant msi package (small text with "Download MSI")
7. Copy the Configuration ID and save it for later (is located under the Download-Text mentioned in 6.)
8. Modify and run the powershell script mentioned below (You need admin rights for installation and assignment)
#Define your variables (replace with actual values)$tv_setup = "tv_setup_path" # Example MSI file, replace with actual file path
#Install TeamViewer using MSIEXEC
$customconfig = "configuration_id" # Example custom config ID, replace with actual custom config ID
$id = "assignment_id" # Example assignment ID, replace with actual ID
$executable = #"C:\Program Files\TeamViewer\TeamViewer.exe" if 64 bit version or "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" if 32 bit$arguments = "/i",$tv_setup,"/qn","CUSTOMCONFIGID=$customconfig"
Start-Process "msiexec.exe" -ArgumentList $arguments -Wait
#Wait for 30 secondsStart-Sleep -Seconds 30
#Run the TeamViewer assignment command& $executable assignment --id $id
0