The error occurs due to various issues:
- Firewall rule is disabled on Remote Machine – Most Popular
- DCOM is not enabled in host PC or target PC or on both.
Check that the “Windows Management Instrumentation (WMI-In)” rule is enabled in the firewall for the remote machine.
Or open CMD (commant prompt program) as administrator on the remote machine abd run the following script
netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes
Check registry – Key:
EnableDCOM is set to Y