Summarize this article:

Make sure you're still using the computer that you want to remotely restart. This will search for the Windows Firewall app. It's an image of a brick wall and a globe. You'll find it at the top of the Start window. This link is in the top-left corner of the window. Doing so opens a list of all programs and services on the computer. It's above the upper-right corner of the list of programs. Clicking it unlocks the list of programs. You'll find this near the bottom of the list of programs. It's to the left of this option. If the computers you're using are on a public network, you'll also need to check the "Public" box on the far-right side of the page. It's at the bottom of the window. This computer will no longer block remote access in Firewall.

Summary:
Open Start . Type firewall into Start. Click Windows Firewall. Click Allow an app or feature through Windows Firewall. Click Change settings. Scroll down to the "Windows Management Instrumentation (WMI)" option. Check the "Windows Management Instrumentation" box. Click OK.