Bulk update password on teamviewer host

Hello, I need to update the host password on many machines. I have the TeamViewer corporate plan on my account, and I exported the TVH.tvopt file into my computer and then transferred the file to another host; I found a script to ran the process and imported the .tvopt to the machine, but it is not working.

This is the script that I am using:

cd\

start Windows\SysWOW64\reg.exe import "C:\Users\Public\Downloads\TeamViewer_Settings.tvopt"

TIMEOUT 2

"C:\Program Files (x86)\TeamViewer\TeamViewer.exe" --ReloadSettings

exit

All my computers have windows 10 Pro 64 bits.

It only works if a manually import the file on options.

Any ideas?

Tagged:

Answers