When a new agent is installed the previous/existing ones are overwritten. Also a new service is not created and there is no new entry in the registry. The path to the agent in the existing registry entry (HKLM\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment\\TCBuildAgent) is just overwritten.
I have tried reinstalling TeamCity from backup but this doesn't resolve the problem. Please advice
Teamcity 2019.2, windows server 2008, postgresql db 12