Installed the Microsofts Team Foundation 2017 onto Windows Server 2012 R2 and got the following error:

The reason this occurred is because it was a brand new Windows Server 2012 R2 machine that hadnt been patched yet.
Patch Order:
- KB2919442
- KB2919355
- KB2932046
- KB2959977
- KB2937592
- KB2938439
- KB2934018