Uninstall and Reinstall Teamviewer After It Has Expired

Here’s a solu­tion to fix this problem :

1> First uninstall the copy of Teamviewer from your system.

2> Click on Start –> Run –> type %appdata% –> 
delete TeamViewer folder and also delete “C:\Program Files\Teamviewer”

3> Delete registry folder:
hkcu/software/teamviewer
hklm/software/teamviewer

5> Clean your systems registry – you can use a free registry cleaner
for this purpose- CC Cleaner

6> Install a fresh copy of Teamviewer. Ensure you select the option
‘Personal Use’

SOURCE