When trying to run a WMI command, you get this error:
RPC Server Is Unavailable 0x800706ba
If the RPC Server is unavailable, ensure that the RPC Server service is running on the machine you are trying to run the WMI command against and that the Firewall is not blocking WMI. If you still get an error saying that the RPC Server is unavailable, run the following command prompt command (Run as administrator):
winrm quickconfig
This will set the allow WMI and set the Firewall, so you shouldn’t get error 0x800706ba after this.