This is how to fix the Microsoft Exchange 2013 install error.
Microsoft Unified Communications Managed API 4.0, Runtime requires the following missing Windows features.
- Media Foundation
To fix the problem we need to install the Media Server feature using PowerShell.
Install-WindowsFeature Server-Media-Foundation
For Exchange Server 2016 CU2 Unattended Installation visit my article Install Exchange Server 2016 CU2 In Unattended Mode.