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: 
A solution is:

Modify /etc/systemd/system/teamviewerd.service:

```
[Unit]
Description = TeamViewer remote control daemon
After = NetworkManager-wait-online.service network.target network-online.target dbus.service
Wants = NetworkManager-wait-online.service network-online.target
Requires = dbus.service

[Service]
Type = forking
PIDFile = /var/run/teamviewerd.pid
ExecStartPre= /sbin/ifconfig eth0 hw ether aa:bb:cc:dd:ee:ff
ExecStart = /opt/teamviewer/tv_bin/teamviewerd -d
ExecStartPost = /usr/local/sbin/restoremac.sh
Restart = on-abort
StartLimitInterval = 60
StartLimitBurst = 10

[Install]
WantedBy = multi-user.target

```

Replacing eth0 with your interface and aa:bb:cc:dd:ee:ff with a new MAC.

Create a script cat /usr/local/sbin/restoremac.sh:

```
#!/bin/sh
/bin/sleep 2
/sbin/ifconfig eth0 hw ether ff:ee:dd:cc:bb:aa

```

Replacing eth0 with your interface and ff:ee:dd:cc:bb:aa with original MAC.

Use "chmod 755 /usr/local/sbin/restoremac.sh"

Delete /etc/teamviewer/global.conf

Restart machine

You can keep your MAC and change TeamViewr ID.

If you using teamviewer for personal use only, and you have message "Commercial Use Suspected", this solve the problem!

IF YOU USE IT ONLY FOR NOT COMMERCIAL SCOPE!
I have found the simplest way to change the ID is to change the MAC address of the NIC. This assumes the cloned machine doesn't require the same MAC address. When the server is restarted