Hello,
May I have the output result of the command **Portqry.exe -n <ServerIP> -e 135**
?
Are there any obvious related errors under the System log and Applications and Services Logs? For example, event ID 1014. This event indicates that the RPC service failed to register with the endpoint mapper.
On the local machine, run the command **wmic /node:<remote\_server> os get caption**
and see if it returns the same error. If yes, then the problem is with the WMI connection. If no, then the problem is with the WMI query or script.
Verify correct DNS settings on both machines. Make sure that they can resolve each other's hostnames and IP addresses correctly. You can use the commands nslookup <hostname>
and ping <hostname>
to test DNS resolution.
Verify that the following services are running and set to auto start after restart on both machines:
- Remote Procedure Call (RPC)
- Remote Procedure Call (RPC) Locator
- TCP/IP NetBIOS Helper
- Remote Registry
- Windows Management Instrumentation"
Regards,
Karlie