Type the following command:
“Dism /online /enable-feature /featurename:Netfx3 /source:D:\Sources\sxs” and then press enter. It take a while and when the process has finished, close the PowerShell Windows then go to check the exact windows features must be installed successfully.
Thank you @JackLock for this comment:
So based on your suggestion, I enabled feature called "NetFx4".
Since it was already installed, I didn't need to provide source of it. So my command looked like
Best Answer
To install IIS on Windows 2016, follow the wizard.
On the next screen you may need to also install the additional .NET framework(s)