r/Intune • u/Saywhuuuuuut • Sep 13 '26
App Deployment/Packaging Teamviewer Host deployment
I have some issue's deploying Teamviewer Host correctly.
Since I'm using a Teamviewer Business license, there is no connection with Entra/intune to automate the mass deployment of the Teamviewer Host to devices.
That's why I'm trying to set up a silent deploy of Teamviewer Host to all devices with intune.
The issues I ran in to is that in order for the device to show up in my Teamviewer managing client, the user needs to click a"allow and finish" prompt that shows up after installation.
But that does not work properly.
The user gets the error "Unable to assign the device. you do not have enough permissions"
It works just fine when I manually run the Teamviewer Host "as administrator" on the test device itself, and accept the prompt that way.
But it's not feasible to do this for all the devices.
What I tried so far:
- Deploy the app with system privilege
- Packaged a scheduled task with the .exe to "run with highest privileges"
- Packaged PsExec (-i -s) with the .exe to inject System-privileged Teamviewer process into the interactive session at logon.
So it seems it is not about the process privilege level, but if the currently logged on windows user is a local admin.
Is there any way around it to fix this on the deployment? (other than upgrading license)
Or am I missing something here?
4
u/joelly88 Sep 13 '26 edited Sep 13 '26
This is what I use:
msiexec.exe /i "TeamViewer_Host.msi" /qn CUSTOMCONFIGID=X APITOKEN=X ENABLEOUTLOOKPLUGIN=false SETTINGSFILE="%CD%\teamviewer.tvopt" ASSIGNMENTOPTIONS="--alias %COMPUTERNAME% --group-ID X"
Also for some reason, I could never get this to work with PowerShell so I put it in a .bat script. TeamViewer is weird.
3
u/Pegatron89 Sep 13 '26
We do this in our environment. I wrapped the installer and a script into win32 package. Once its installed the script waits about 30 seconds and then assigns it to our teamviewer tenant in the script. User never needs to touch a thing. There is a command you can run against the teamviewer exe.
I can give you the exact commands if you want (on mobile right now) but it is available in the Teamviweer documentation
3
u/JelleG12 Sep 13 '26
My colleague couldnt deploy it either through apps for same and similar reasons. In the end he managed to do it with remediation scripts, i can check tomorrow how we did it if youre interested.
3
u/New-Cauliflower-6942 Sep 13 '26
Does TeamViewer business SKU not give you MSI mass deployment options?
2
u/New-Cauliflower-6942 Sep 14 '26
The interesting thing about your post is: “in order for the device to show up in my Teamviewer managing client, the user needs to click a "allow and finish" prompt that shows up after installation. But that does not work properly. The user gets the error "Unable to assign the device. you do not have enough permissions".
That sounds like lack of end user permissions in TeamViewer in the device group where the device would end up. Maybe check the TeamViewer roles, and permissions to the device groups. If they exist in business?
Also, whilst there doesn’t seem to be the same mass deployment options in the business license versus corporate etc, maybe you can download an MSI installer from the TeamViewer website. It’s a much better method.
I’m spitballing here as I don’t have a business tenant.
2
u/rallytheautumn Sep 14 '26
The trick is the user needs to have admin rights to the computer before they log in. You can’t give them admin during the session. Then when you run the install or script it will work.
I have my user start with admin rights. Then a win32 installs the app. I have another win32 app to check the registry to confirm that the device is on the teamviewer console. Then I have a win32 app that removes admin rights.
4
u/meantallheck Sep 14 '26
My last company I had to get the TeamViewer deployment working. Let me tell you - it is NOT just you. The lack of an ability to EASILY mass install the host software is a damn joke.
I had to do what another commenter said, do the install then have it wait about a minute or two and then run some other command to actually "link" the host to our tenant.
It is total crap - other tools like Beyondtrust Remote Support are a simple packaged EXE that has all the tenant info within it. Also it doesn't help that TeamViewer support is bad, and their company loves to audit TV use and say you're underlicensed. Good luck getting help from them though on where they're seeing these hosts - that's YOUR job to find! Even though your admin console doesn't show them.
Also their admin console.. my god it was unbelieveable how even the highest level admin in a tenant couldn't see all the hosts that existed, if "THEY" didn't enroll them. TeamViewer has earned it's awful reputation. I didn't downvote your post, but it's why any post mentioning TV gets immediately blasted with downvotes...
1
u/pjmarcum Sep 14 '26
What about using serviceUI.exe so the user see the prompt?
2
u/bill696 Sep 14 '26
I had a Tensor license, there is never a connection to intune to automate deployment, the integration doesnt deploy it. Years ago it was part of the intune client, that lasted about 2years top. If you have questions or issues on deployment, the support is great, they have scripts for everything. We switched to BeyondTrust and if there is 1 thing i miss from TV is the support
1
u/MotorTranslator7073 Sep 14 '26
From a TeamViewer Full Client - login with your TeamViewer account.
Step 1 - Create a device group
Step 2 - Create your policy
Step 3 - Create your custom module (Do not assign a rollout set-up in your custom module!)
Step 4 - Create your rollout set-up
Step 5 - Download the MSI installer (from the rollout set-up screen)
Step 6 - Install the TeamViewer Host.msi
I used the following parameters :
- /qn
- /CUSTOMCONFIGID=YourCustomModuleID
- /ASSIGNMENTID=YourRollout-setupCopyID
The uninstall is just a normal MSI uninstall. (/x GUID /qn)
1
u/Connect_Camera_1187 Sep 17 '26
I'm on same boat, stuck on Business license. Been trying out for weeks on how to resolve the issue where that screen "allow and finish" does not show for users. Let me know if you find anything helpful. Thanks :)
3
u/[deleted] Sep 13 '26
[removed] — view removed comment