About
Careers
Support
Partners
Community
Contact
Product
Overview
IT Discovery
IT Inventory
IT Analytics
Features
Integrations
Use Cases
IT Asset Management
Cybersecurity
Active Directory Audit
Installing Software & Patches
Automated IT Inventory
Pricing
Resources
Support Knowledge Base
Videos
Testimonials
Vulnerability Updates
Patch Tuesday
Blog
Free Download
Lansweeper
»
Installers
»
Team Viewer Host update / install
Active Topics
Search
Join Now
Login
Notification
Error
OK
Team Viewer Host update / install
Posted:
Tuesday, July 30, 2019 10:24:15 PM(UTC)
Corcos
Member
Original Poster
Posts: 2
4
Like
Ok, its working 100% for me.
You will need to know your Host ID and API TOKEN (you can get this from custom host build at teamviewer manager console.
You need to install one host, configure with all parameters that you want (including easy access, account, passwords, etc etc. Just make one manual install configuration) then go on options >> advanced >> export a reg file with name "TeamViewer_Settings.reg" at same installer folder.
STEPS
1) Kill any stuck install running
2) Kill teamviewer process
3) Uninstall bat will remove any previously instalation (place at right place)
4) This will activate windows firewall (you cannot install msi package with disabled firewall)
5) start windows firewall
7) Installing the host (you must edit here, just put your parameters as ID and APITOKEN. Importregfile will import TeamViewer_Settings.reg described above).
8) Sometimes msi install fail (most of times is trash at regedit or windows service). If this happen, will install the exe host and make a backstep to uninstall all process.
9) then, disable firewall again.
Handles attachments
UninstallTV.txt
(2kb) downloaded
244
time(s).
TeamViewer Install
Download Package
Description
Final Action
Nothing
Max. Duration
15 min(s), 0 hour(s)
Rescan
Yes
Steps
1. Kill Installs
Type
Kill Process
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
taskkill /im msiexec.exe /f
2. Kill TeamViewer
Type
Kill Process
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
taskkill /im teamviewer.exe /f
3. Bat uninstall
Type
Installer
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
"{PackageShare}\Installers\UninstallTV.bat" /S
4. Active Firewall
Type
Command
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
sc config MpsSvc start= auto
5. Start Firewall
Type
Command
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
net start MpsSvc
6. Install TeamViewer MSI
Type
Installer
Return Codes
0,1641,3010
Success
Go To Step 8
Failure
Go To Step 7
Command
msiexec.exe /i "{PackageShare}\Installers\TeamViewer_Host.msi" /qn CUSTOMCONFIGID=YOURID APITOKEN=YOURAPITOKEN IMPORTREGFILE=1 ASSIGNMENTOPTIONS="--grant-easy-access"
7. Instala Exe
Type
Installer
Return Codes
0,1641,3010
Success
Go To Step 1
Failure
Stop (Failure)
Command
"{PackageShare}\Installers\TeamViewer_Host_Setup-idxxxxxxx.exe" /S
8. Disable Firewall
Type
Command
Return Codes
0,1641,3010
Success
Stop (Success)
Failure
Stop (Success)
Command
sc config MpsSvc start= disabled
#1
CyberCitizen
Member
Posts: 415
posted:
8/15/2019 6:18:33 AM(UTC)
Hi Corcos,
TeamViewer is a bit of a pain to manage I must admit.
I went down a different avenue, which I thought I might share with you.
Took over managing an IT Environment that had a bunch of stuff all over the place, various installs etc.
I am using the MSI file, but also a transform file to set the Host / API etc.
My Package starts with Killing the Teamviewer Processes using the kill process steps in the deployment section.
1 Kill TeamViewer.exe
2 Kill TeamViewer_Service.exe
3 Kill tv_w32.exe
4 Kill tv_x64.exe
I then uninstall any TeamViewer versions via the following command step.
echo product where "name like 'TeamViewer%%'" call uninstall /nointeractive|wmic && shutdown /a
TeamViewer does like to leave registry settings, so I then call another two command steps.
REG DELETE HKLM\SOFTWARE\TeamViewer /f
REG DELETE HKLM\SOFTWARE\WOW6432Node\TeamViewer /f
After this I then run the following install command.
msiexec.exe /i "{PackageShare}\Teamviewer\MSI\TeamViewer_Host.v14.msi" /norestart /qn TRANSFORMS="{PackageShare}\Teamviewer\MSI\TeamViewer_Host.v14.Settings.mst"
As per the attached screenshot above, you can see the way the Transform file is configured. This was to help ensure that the correct ID's were being passed through and not needing to use that config app. I am not having to stop or start firewalls or anything like that. Hopefully it helps.
All you have to do is have the TeamViewer_Settings.reg in the same directory as the installer, if you that hat IMPORTREG option enabled in the MST (Transform File).
User Profile
View All Posts by User
View helpful posts
#2
nb005
Member
Posts: 3
posted:
9/20/2019 10:41:28 AM(UTC)
Hi Corcos,
Thank you, that is very useful. I only needed to modify your settings a little bit to make then run perfectly for me.
Best Regards,
Oliver
User Profile
View All Posts by User
View helpful posts
#3
BastiOn
Member
Posts: 26
posted:
11/27/2019 2:09:10 PM(UTC)
Thanks for the tip works great.
I had problems with the parameters with command line all the time.
Now they work.
Additional name of the computer name have always been deleted
Best Regards
BastiOn
User Profile
View All Posts by User
View helpful posts
Active Discussions
Helpdesk API
by
scoops98
Last post:
Today
at 11:53:30 AM(UTC)
Lansweeper v. 7.0.110.2 does not show the status of antivirus on server
by
Hendrik.VE
Last post:
Today
at 10:54:12 AM(UTC)
Lansweeper custom report
by
Hendrik.VE
Last post:
Today
at 10:52:03 AM(UTC)
Total License Utilization
by
Hendrik.VE
Last post:
Today
at 10:31:05 AM(UTC)
Office 365 Scanning-enabled accts not linked\accessible?
by
Mark F
Last post:
Today
at 2:55:09 AM(UTC)
Helpdesk navigation
by
jra0500
Last post:
Yesterday
at 3:21:55 PM(UTC)
Asset Radar and external/remote IPs
by
gadgetrants
Last post:
Yesterday
at 5:25:05 AM(UTC)
Recording history of IP address for device
by
Steven R
Last post:
Yesterday
at 1:58:33 AM(UTC)