Our TMG2010 was deactivated for sometimes now. Eventhough tmg is still working, but it is annoying that it prompts you to activate everytime you login. (And the black background)
So I decided to deal with it, and it is quite easy to fix.
Basically you need to allow TCP port 1688 outbound to the KMS server.
Full article from Microsoft Support here.