Our company has the custom Teamviewer hosts that we can run silently with the /S switch. The issue is that we can't connect due to it not setting a password that we know. Does anyone have any thoughts or scripts they can direct me to that will do a Teamviewer silent install and set the password with no user interaction?
-
You can make a package with a embedded password. Its on the Teamviewer site.– user415090Commented Feb 3, 2015 at 13:19
-
I know you could in TV8 but on the website I could not find it in the customizations for 9 or 10 host.– Scott ChamberlainCommented Apr 6, 2015 at 3:09
-
No longer can with 9 and upwards. You need to set the password manually, and then export the reg keys, and import on the PC's in order to set the code.– HippoDuckCommented Jan 3, 2017 at 17:26
2 Answers
To create a custom password file:
Open an existing installation of TeamViewer on any machine (this file will be machine agnostic, so it can be created from your – or any – Windows device)
Open Extras > Options
Open Advanced > Show advanced options
Select “Export options to a *.reg file”
Give your password file a unique name
Once created, you then need to go on to the PC you wish to import the password file on, and do the following:
- Open Extras > Options
- Open Advanced > Show advanced options
- Select "Import options from a *.reg file"
- Find the file you exported from the first computer.
-
-
You certainly could do this with powershell. After exporting the reg, you could do
reg import settings.reg
Commented May 27, 2019 at 18:26 -
sorry for beeing not clear enough, I know how to import a *.reg file via powershell, what I wanted to know was, if this exported password will also be "imported" by teamviewer, since the exported password will be imported into a "temporary" key and there is a distinctive "import reg" option in teamviewer? Commented May 28, 2019 at 8:10
-
1Yes there is. prntscr.com/nuthr4. Although you don't need to import with TeamViewer for it to work. We deploy this out to our client's machines using a silent install script for the TeamViewer Host, and then just import a reg file. Commented May 29, 2019 at 9:17
-
thx! I wasn't sure TV would use the PW if we would just import the *.reg file (can't test it atm) Commented May 29, 2019 at 9:40
You would have to go into the setting on the Hosts and set the password(s) that you would like to use.
-
2The OP wants to set the password silently without user interaction.– EpocCommented Oct 31, 2014 at 13:44