TeamViewer assigment
I just want upgrade from v 12. to 14. I wondering if is automatic assigment PC to contact list by script is same
I use :
TeamViewer_Assignment.exe -apitoken xxx -datafile "${ProgramFiles}\TeamViewer\AssignmentData.json" -allowEasyAccess=true -devicealias="${COMPUTERNAME}" -wait=10 -verbose
Will be working also in version 14? batch file I run by GPO. Thanks
Best Answers
-
Oto Posts: 8
Hi Swen,
I tried install first on local computer ...
I run script as Administrator
msiexec.exe /i "Path\To\TeamViewer_Host.msi" /qn APITOKEN=<YOUR_APITOKEN> IMPORTREGFILE=1 CUSTOMCONFIGID=<YOUR_CUSTOMCONFIG_ID> ASSIGNMENTOPTIONS="--alias %COMPUTERNAME%" /lvx msi.log
Teamviewer was installed but script not assign computer name to my contact list
Thanks
5 -
Oto Posts: 8
I solved it...Working me with basic script... group I have defined in configuration Custom config in management console ...
msiexec.exe /i "D:\@install\Teamviewer14\TeamViewer_Host.msi" /qn APITOKEN=xxx-xxx IMPORTREGFILE=1 CUSTOMCONFIGID=xxx ASSIGNMENTOPTIONS="--grant-easy-access --alias %COMPUTERNAME%"
Thanks5
Answers
Hi @Oto
I assume that you want to upgrade several devices from v12 to v14 because you are using a batch file executed by GPO. In this case, I would recommend uninstalling the existing v12 installations and performing a reinstallation including assignment via MSI. This article should help you with this process.
The command you are using no longer works with v14 when installing with msi.
I hope this helps you. Regards,
Sven
Thanks,,
I have v12 on 200PC and all are in contact list
What is best process to migrate to v14:
1 Uninstall v12 by GPO script
msiexec.exe /uninstall "Path\To\TeamViewer_Host.msi"
2 Install v 14 by GPO script
msiexec.exe /i "Path\To\TeamViewer_Host.msi" /qn APITOKEN=<YOUR_APITOKEN> ASSIGNMENTOPTIONS="--alias %COMPUTERNAME%"
Ho to combine with IMPORTREGFILE=1 and CUSTOMCONFIGID=<YOUR_CUSTOMCONFIG_ID>
Thanks for recomendation. Oto
Hi @Oto
the process could be as follows:
Regards
Sven
Hi @Oto,
when you are doing an update, the Computers should already by in your contact list, or did you remove them before? In this case you should also add a group to your assignment parameters so the device is moved to a specific group.
Regards
Sven
Hi Swen,
It is new computer
I edit .bat script to
start msiexec /i "D:\@install\Teamviewer14\TeamViewer_Host.msi" /qn CUSTOMCONFIGID=xxx APITOKEN=xxx IMPORTREGFILE=1 ASSIGNMENTOPTIONS="--reassign --alias ""%COMPUTERNAME%"" --group ""@new"" --grant-easy-access"
and nothing happen
Thanks
Hi @Oto,
you don't need to use the assignment parameter "--reassign" when you rollout to a new computer and make a complete new assignment. "--reassign" is only necessary when your computer is already assigned and you want to move it to another group or changing the alias, etc...
If that doesn't help I would recommend contacting our technical support, so they can analyze your log files in order to detect possible problems.
Regards
Sven
Hi,
i currently had the same issue. I created a customized host client, set the options "add to a group" and "allow account assignment..."
Then i created a script with the same options as yours. It never adds the computer to the group.
My solution(its also mentioned at the top of the "mass deployment" article):
Hint: Please beware we currently have an issue with the assignment with the --group; please use the --group-id at this point. Please see below for details.
So u basically have to use the --group-id parameter. With this option it works for me. But it is clearly a bug.
have you a problem with your pc????
jka I tried it (--group-id) but with same result. Computer dont assign automaticly ...
Did you use the correct group ID? It has to be something like g12345678. Also, the computer you want to assign has to be online in the moment of the installation.
Log in into Managment Console. On the left you can see your groups. Click on the wanted group. Look at the URL, its something like "https://login.teamviewer.com/nav/home/buddies/g/**Please do not post TeamViewer IDs**4". Now you take the last numbers with the g, that is your group ID.