Hi,
I am trying to install the TV host to our Intune managed clients, but having problems assigning. The host installs but does not get assigned to the managed group.
If i run the command again it does assign, but i would like it to happen silently on the first go without having to reboot or for the user to get prompted with "Allow and Finish".
Sometimes it does work, but not 100% of the time.
The script i am using is :-
start /wait msiexec.exe /i "%~dp0TeamViewer_Host.msi" /qn /norestart ALLUSERS=1 CUSTOMCONFIGID=xxxxxx DESKTOPSHORTCUTS=0 ASSIGNMENTOPTIONS="--grant-easy-access --reassign"
ping -n 30 127.0.0.1>nul
"C:\Program Files (x86)\Teamviewer\TeamViewer.exe" assignment --id xxxxx
Any ideas on how i can get it to work reliably?