Mass deployment TV13.2 with PermanentPassword registry key

Announcements

Enjoy your weekend!


If you want to read our latest blog post, click here.

Highlighted
Posted by
Henagon

Mass deployment TV13.2 with PermanentPassword registry key

Hi

First of all, sorry for my English.

I've tryed to deploy TV13.2 on domain computers using this guide:

https://community.teamviewer.com/t5/Knowledge-Base/Mass-deployment-improvements/ta-p/39639

It was my first step " Install TeamViewer on a single computer and configure it to your needs. In the Options dialog (Extras | Options) in the category, "Advanced" use the Button "Export…" in order to export the *.reg file and name it "TeamViewer_Settings.reg"

But I saw that settings file didn't contain "PermanentPassword" key.

It's OK - I thoght - I'll just run regedit, copy this key and paste into the TeamViewer_Settings.reg.

After that I prepared .MST file with CUSTOMCONFIGID, APITOKEN,ASSIGNMENTOPTIONS and IMPORTREGFILE fields. Put .MST, .MSI and TeamViewer_Settings.reg in shared folder. I created new rule in GPO and assigned it to test workstation.

It worked well. In GUI Option-Security-Create personal password (for unattended access) I saw filled fields "Password" and "Confirm" as ••••••••••

So, I thoght that everything is good. But I was unpleasantly surprised cose I couldn't to connect to this workstation with incorrect password error.

After some tests I figured out that every PC enctrypt the same password into the different value "PermanentPassword" registry key.

Now I don't understand what I have to do with it. How can I deploy the Permanent Password on different computers?

3 Replies
1 Accepted Solution

Accepted Solutions
Highlighted
Posted by Moderator Moderator
Moderator
Solution

Re: Mass deployment TV13.2 with PermanentPassword registry key

Hello @ErnestAydinov

Thank you for your message.

Please following these instructions to export and integrate a permanent password into your deployment:

  1. Export as a .reg file the permenent password from one of your devices. To do so, please follow the instructions of the following article: How to export settings for Host deployment
  2. Place the .reg file in the same folder where your MSI package is
  3. Use the setting IMPORTREGFILE=1 in your deployment command line to apply the exported password on your devices.
    The command line could look like this: 
    msiexec.exe /i "<Path>\TeamViewer_Host.msi" /qn CUSTOMCONFIGID=YOURCONFIGID APITOKEN=YOURAPITOKEN IMPORTREGFILE=1 ASSIGNMENTOPTIONS="--alias %COMPUTERNAME% --grant-easy-access"
    
    timeout /t 5
    
    net stop teamviewer
    
    net start teamviewer

I hope this could help. If not, do not hesitate to ask your questions here.

Cheers,

Jean

French Community Moderator
Did my reply answer your question ? Accept it as a solution to help others.
Find this helpful ? Say thanks by clicking on the Thumbs Up button.

View solution in original post

3 Replies
Highlighted
Posted by Moderator Moderator
Moderator
Solution

Re: Mass deployment TV13.2 with PermanentPassword registry key

Hello @ErnestAydinov

Thank you for your message.

Please following these instructions to export and integrate a permanent password into your deployment:

  1. Export as a .reg file the permenent password from one of your devices. To do so, please follow the instructions of the following article: How to export settings for Host deployment
  2. Place the .reg file in the same folder where your MSI package is
  3. Use the setting IMPORTREGFILE=1 in your deployment command line to apply the exported password on your devices.
    The command line could look like this: 
    msiexec.exe /i "<Path>\TeamViewer_Host.msi" /qn CUSTOMCONFIGID=YOURCONFIGID APITOKEN=YOURAPITOKEN IMPORTREGFILE=1 ASSIGNMENTOPTIONS="--alias %COMPUTERNAME% --grant-easy-access"
    
    timeout /t 5
    
    net stop teamviewer
    
    net start teamviewer

I hope this could help. If not, do not hesitate to ask your questions here.

Cheers,

Jean

French Community Moderator
Did my reply answer your question ? Accept it as a solution to help others.
Find this helpful ? Say thanks by clicking on the Thumbs Up button.

View solution in original post

Highlighted
Posted by
Henagon

Re: Mass deployment TV13.2 with PermanentPassword registry key

Thank you. It was helpful advice. But I have some notice, which I hope will be useful for somebody else. I've used TV 13.2 with Russian user interface. So, this screenshot from your link

22222.png

looks like this in my version 

11111.png

Literally translated from Russian, this means "Show new windows".

Exactly this point made me mess

 

 

 

 

Highlighted
Posted by Moderator Moderator
Moderator

Re: Mass deployment TV13.2 with PermanentPassword registry key

Hello @ErnestAydinov

Thank you very much for bringing this up.

We have forwarded this to our dedicated team.

I am glad this could help you for your deployment.

I hope to see you soon on the Community.

Cheers,

Jean

French Community Moderator
Did my reply answer your question ? Accept it as a solution to help others.
Find this helpful ? Say thanks by clicking on the Thumbs Up button.