There was a request to fix the issue below when installing Exchange 2013 CU23. When running setup the error received was "Installing Exchange Error – Server-Gui-Mgmt-Infra isn't installed".
If you look closely at the image below, you might be able to state the answer in advance…
As a side note. If you are installing Exchange 2016 onto Windows Server 2016 and receive this error, please ensure that you are using the latest CU. Support for this scenario was not present with the RTM build of Exchange 2016 and was added with CU3.
However, that is not the scenario shown above and is include to help those in that specific scenario that may land on this page.
Back to the original scenario, Exchange 2013 CU23 installing on to Windows Server 2016. The answer is — Negative Ghostrider, the pattern is full.
In short no, this can not be fixed. The clue which was mentioned in the image above is the desktop. It is Windows Server 2016.
Exchange 2013 is NOT supported on Windows Server 2016, so it would be expected to run into errors. You can review the Exchange support matrix to review the supported combinations.
The OS component Exchange 2013 is looking for is simply not present in Windows Server 2016. This is shown below:
Compare this to an Exchange 2013 server running on Windows Server 2012 R2. The expected OS component is present.