Question: Today I was cloning a couple of images of Ubuntu to further expand the use of Ubuntu over the company but just noticed that all cloned PCs have the same Teamviewer ID. I followed teamviewer forum suggestion about purging teamviewer, removing the .config/teamviewer9 folder and even the /opt/teamviewer one with no luck. The ID stays the same even after rebooting or waiting for about 30 mins before installing teamviewer again.

How can I reset/change the Teamviewer ID in Ubuntu for all the cloned computers. Right now I am using the latest version of Teamviewer (Version 9).

Answer: 
Close TeamViewer. Then run in the terminal:

```
sudo teamviewer --daemon stop
sudo rm -f /opt/teamviewer9/config/global.conf
sudo teamviewer --daemon start

```

Edit: I checked, and TeamViewer also looks at your MAC address. It probably works like this. When you first start TeamViewer (with no configuration files available), it looks up your MAC address. If it is not known by TV, it creates a new TeamViewer ID and associates your MAC address with it. If the MAC address is known, you get the teamviewer ID associated with it.

So, if you clone to a new computer, the commands above would help you get a new ID. If you use them on the original computer, you'll get the same ID.
None of the previous suggestions worked in my case.
The quickest and most effective solution I found was to re-install TeamViewer fresh (after uninstall and deletion of config files in Library/Preferences) from an alternative new user account, that solved it immediately.