Announcements

Did you already try the new Windows 10 October 2020 Update?


Share your feedback and experience with TeamViewer on the new Windows build with our developers here.

Highlighted
Posted by
Trigon

How to determine if installed TV is Host or Full from CMD?

I am preparing the upgrade from TV 15.4 to TV 15.8 and we will do it with a batch file. Is there any way I can determine if I have a host or a full version installed using any kind of command in the batch file?

Reason is, that I just want to update the application that is installed. So either host or full.

1 Accepted Solution

Accepted Solutions
Highlighted
Posted by
Trigon
Solution

Re: How to determine if installed TV is Host or Full from CMD?

@Hirsch 

Thanks for that... but as I need it in a CMD file, I had to find a different solution. So for those who might need it:

FOR /F "USEBACKQ SKIP=1" %%F IN (`wmic product where "Description like 'TeamViewer'" get Description ^| findstr /r /v "^$"`) DO SET TVHOST=Full
FOR /F "USEBACKQ SKIP=1" %%F IN (`wmic product where "Description like 'TeamViewer Host'" get Description ^| findstr /r /v "^$"`) DO SET TVHOST=Host

View solution in original post

7 Replies
Highlighted
Posted by Moderator Moderator
Moderator

Re: How to determine if installed TV is Host or Full from CMD?

Hello @flospi,

Thank you for your message and welcome to the TeamViewer Community! 🙌

If your devices are all assigned to your TeamViewer account, I suggest you update your clients via TeamViewer policy.

The policy you need to set up is: 

  1.  Install new versions automatically with the setting All updates (includes new major versions)
  2. Check for new versions with the parameter Weekly

All your clients (Host and full version) will update within the next week.

You will find all the information you need about TeamViewer policies in our Knowledge Base article here: How to add a new settings policy 

I hope this could help. 🍀

If not, do not hesitate to ask your questions here. 👇

Cheers

Jean

French Community Moderator

If my reply answered your question, help out other users and click the Accept as a Solution button below. ✅
You can also say thanks by clicking on the Thumbs Up button!
Thanks for being an active member of our Community!

Highlighted
Posted by
Trigon

Re: How to determine if installed TV is Host or Full from CMD?

Hey Jean

Thanks for your answer... we have decided against the automated installation via policy. So I still need an easy way to determine host/full via CMD/Batchfile.

Regards
Florian

Highlighted
Posted by
Trigon

Re: How to determine if installed TV is Host or Full from CMD?

Hey @Jean 

After some discussion, people changed their minds... just a quick question, if you know the answer... I prepared a test policy that allows updates within the main version and will check weekly. Can I force the update from the client? If I use "Help" - "Check for new version", it does not work.

Do I really have to wait for a week?

Do I see anywhere if the update function is actually active? Logfile? Somewhere in the options? A registry key?

Thanks
Florian

Highlighted
Posted by
Neutron

Re: How to determine if installed TV is Host or Full from CMD?

Hey @flospi 

i found a solution...

https://community.teamviewer.com/t5/Previous-versions-EN/Deploying-Teamviewer-13-with-SCCM-and-detec...

i have the same problem and writing a powershell script.

If i don't forget, i will post my script here :)

1 Reply
Highlighted
Posted by Moderator Moderator
Moderator

Re: How to determine if installed TV is Host or Full from CMD?

Hello @flospi,

I am glad to hear you have decided to use the TeamViewer policy method.

Pressing the button Check for new version will trigger an update for the latest version of TeamViewer (not within a version, for all major updates).

Once you enable the policy for weekly updates, it means that an update will be triggered within the next week. It can be at the same say, but also in the worst case 7 days later. There is, unfortunately, no possibility to trigger it immediately with a manual action.

You can check your active TeamViewer policies in your Management Console under Design & Deploy  → Policies.

I hope this could help. 🍀

Best regards

Jean

French Community Moderator

If my reply answered your question, help out other users and click the Accept as a Solution button below. ✅
You can also say thanks by clicking on the Thumbs Up button!
Thanks for being an active member of our Community!

Highlighted
Posted by
Trigon
Solution

Re: How to determine if installed TV is Host or Full from CMD?

@Hirsch 

Thanks for that... but as I need it in a CMD file, I had to find a different solution. So for those who might need it:

FOR /F "USEBACKQ SKIP=1" %%F IN (`wmic product where "Description like 'TeamViewer'" get Description ^| findstr /r /v "^$"`) DO SET TVHOST=Full
FOR /F "USEBACKQ SKIP=1" %%F IN (`wmic product where "Description like 'TeamViewer Host'" get Description ^| findstr /r /v "^$"`) DO SET TVHOST=Host

View solution in original post

Highlighted
Posted by
Electron

Re: How to determine if installed TV is Host or Full from CMD?

These are the following step

  1.  Install new versions automatically with the setting All updates (includes new major versions)
  2. Check for new versions with the parameter Weekly