SCCM – Unable to connect to WMI (root\ccm) on remote machine

Problem

The following error occurs in the ccm.log when doing a remote client install:

Unable to connect to WMI (root\ccm) on remote machine “COMPUTER”

Solution

Allow the following rules in Windows Firewall:

Outbound and inbound: File and Printer Sharing
Inbound: Windows Management Instrumentation (WMI)