I have been getting the TeamCity error Agent has unregistered (will upgrade) with an upgraded installation for sometime and today on a new installation. Both installations are configured to run as a dedicated Windows user account. The problem can be resolved by adding the Windows user to the Administrators group, restart the Build Agent service and wait for the upgrade to complete. You can then safely remove the user from the Administrators group.