If the computer is running Windows Vista or later or Windows Server 2008 or later (other than Server Core), go to Administration ...

If the computer is running Windows Vista or later or Windows Server 2008 or later (other than Server Core), go to Administration Tools and open Windows Firewall with  Advanced Security. In the navigation pane click Inbound Rules. In the details pane select Key Management Service (TCP-In). In the Actions pane click Enable Rule.