Posted by sheenlim08
Henagon

TV Baseline Configruation during installation

Our TeamViewer is installed via MSI using a batch script run on a computer during boot.

msiexec.exe /i \\mydomain.local\NETLOGON\TeamViewer\Teamviewer14\TeamViewer_Host-idcpgb7gyb.msi /qn CUSTOMCONFIGID=1122334 APITOKEN=mytoken_from_our_account ASSIGNMENTOPTIONS="--reassign --alias %COMPUTERNAME% --group mytest_group --grant-easy-access"

However, after the install the TV details on the computer for the following security option on TV is not configured to what I'd like them to be.

Password Strenght: Disabled (no random password), i would like it to be "Secure (6 characters)"
Windows Logon: Not Allowed, I would like it to be "Allowed for Administrators only"
Black and Whitelist: inherit the black/whitelist from my corporate account.11:38 AM 15/01/2020

2 Replies
1 Accepted Solution

Accepted Solutions
Highlighted
Posted by sheenlim08
Henagon
Solution

Re: TV Baseline Configruation during installation

For those who will referring to this post for resolution, see below. Its very hard to get help with TeamViewer community.

There is no centralized solution on deploying TeamViewer Host configuration to clients, there is like a "hacky" way on doing it though.

  1. Install a TeamViewer Host on a Workstation via CMD.
    msiexec.exe /i  \\domain.local\NETLOGON\TeamViewer\Teamviewer15\TeamViewer_Host-idcaabbccd.msi /qn CUSTOMCONFIGID=aabbccd APITOKEN=1234567-nXHgqoh206d5oHrXesG8 ASSIGNMENTOPTIONS="--reassign --alias %COMPUTERNAME% --group ""Singapore Site"""
  2. Open TV Host and Goto the settings.
    teamviewer_settings.PNG
  3. Configure your Host Client Settings for General and Security tabs for what you wanted to be deployed on your new deployments. Then click Advanced.
    teamviewer_advanced.PNG
  4. Continue to configure the advanced page. The option "Changes require administrative rights on this computer" is recommended to be enabled. Once done, click Export.
    teamviewer_advanced2.PNG
  5. Name the exported reg file to "TeamViewer_Settings.reg", This is important!
  6. Put the "TeamViewer_Settings.reg" and the MSI installer (preferably the same msi in step 1) in the same shared folder.
  7. Create a computer startup script policy in your GPO and point it to a batch file with the following content (You may need to adjust according to your configuration ID and API token values.)

    @echo off
    msiexec.exe /i  \\domain.local\NETLOGON\TeamViewer\Teamviewer15\TeamViewer_Host-idcaabbccd.msi /qn CUSTOMCONFIGID=aabbccd APITOKEN=1234567-nXHgqoh206d5oHrXesG8 IMPORTREGFILE=1 ASSIGNMENTOPTIONS="--reassign --alias %COMPUTERNAME% --group ""Singapore Site"""

    NOTE: It is important that the msi must follow the naming convention TeamViewer_Host-idc<configurationID>.msi
    NOTE: The "IMPORTREGFILE=1" tells the installer to import the TeamViewer_Settings.reg file located in the same directory where TeamViewer_Host-idc<configurationID>.msi is located.

View solution in original post

2 Replies
Highlighted
Posted by Moderator Moderator
Moderator

Re: TV Baseline Configruation during installation

Hi @sheenlim08,

Thank you for your post.

As MSI configuration settings can be complicated in each case. A ticket has been created on your behalf and one of the support representative will get back to you shortly for further assistance.

Thank you for your understanding and patience.

Regards

Ying_Q 

Highlighted
Posted by sheenlim08
Henagon
Solution

Re: TV Baseline Configruation during installation

For those who will referring to this post for resolution, see below. Its very hard to get help with TeamViewer community.

There is no centralized solution on deploying TeamViewer Host configuration to clients, there is like a "hacky" way on doing it though.

  1. Install a TeamViewer Host on a Workstation via CMD.
    msiexec.exe /i  \\domain.local\NETLOGON\TeamViewer\Teamviewer15\TeamViewer_Host-idcaabbccd.msi /qn CUSTOMCONFIGID=aabbccd APITOKEN=1234567-nXHgqoh206d5oHrXesG8 ASSIGNMENTOPTIONS="--reassign --alias %COMPUTERNAME% --group ""Singapore Site"""
  2. Open TV Host and Goto the settings.
    teamviewer_settings.PNG
  3. Configure your Host Client Settings for General and Security tabs for what you wanted to be deployed on your new deployments. Then click Advanced.
    teamviewer_advanced.PNG
  4. Continue to configure the advanced page. The option "Changes require administrative rights on this computer" is recommended to be enabled. Once done, click Export.
    teamviewer_advanced2.PNG
  5. Name the exported reg file to "TeamViewer_Settings.reg", This is important!
  6. Put the "TeamViewer_Settings.reg" and the MSI installer (preferably the same msi in step 1) in the same shared folder.
  7. Create a computer startup script policy in your GPO and point it to a batch file with the following content (You may need to adjust according to your configuration ID and API token values.)

    @echo off
    msiexec.exe /i  \\domain.local\NETLOGON\TeamViewer\Teamviewer15\TeamViewer_Host-idcaabbccd.msi /qn CUSTOMCONFIGID=aabbccd APITOKEN=1234567-nXHgqoh206d5oHrXesG8 IMPORTREGFILE=1 ASSIGNMENTOPTIONS="--reassign --alias %COMPUTERNAME% --group ""Singapore Site"""

    NOTE: It is important that the msi must follow the naming convention TeamViewer_Host-idc<configurationID>.msi
    NOTE: The "IMPORTREGFILE=1" tells the installer to import the TeamViewer_Settings.reg file located in the same directory where TeamViewer_Host-idc<configurationID>.msi is located.

View solution in original post