Connecting Tech Pros Worldwide Help | Site Map

Accessing Remote Computer using WMI in Vbscript?

Newbie
 
Join Date: Sep 2007
Posts: 2
#1: Sep 26 '07
Hi,

I'm trying to access a remote computer and view its running processes thorugh WMI by using a script on my system but i keep getting "RPC server unavailable" error.I have changed the COM settings(as mentioned in msdn library articles) many times but it still gives the same error. The account that I have used to log on to my computer is an administrator on the remote computer also.I'm providing the domain name,remote computer name,userID and password using the

SwbemLocator.ConnectServer()

I'm getting "DCOM was unable to communicate with the computer <Computer_Name> using any of the configured protocols." Error in the Dcomcnfg.exe System EventViewer(local)

Any help will be highly appreciated.
sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#2: Sep 26 '07

re: Accessing Remote Computer using WMI in Vbscript?


Quote:

Originally Posted by wickedweapon

Hi,

I'm trying to access a remote computer and view its running processes thorugh WMI by using a script on my system but i keep getting "RPC server unavailable" error.I have changed the COM settings(as mentioned in msdn library articles) many times but it still gives the same error. The account that I have used to log on to my computer is an administrator on the remote computer also.I'm providing the domain name,remote computer name,userID and password using the

SwbemLocator.ConnectServer()

I'm getting "DCOM was unable to communicate with the computer <Computer_Name> using any of the configured protocols." Error in the Dcomcnfg.exe System EventViewer(local)

Any help will be highly appreciated.

Did you check to make sure RPC is allowed on the remote machine?
Newbie
 
Join Date: Sep 2007
Posts: 2
#3: Sep 26 '07

re: Accessing Remote Computer using WMI in Vbscript?


Quote:

Originally Posted by sicarie

Did you check to make sure RPC is allowed on the remote machine?

How can I check that?
Newbie
 
Join Date: Oct 2007
Posts: 1
#4: Oct 15 '07

re: Accessing Remote Computer using WMI in Vbscript?


Quote:

Originally Posted by wickedweapon

How can I check that?

Are you able to resolved the proble? If so please let me know how you did that.

I am having same problem but not able to resolve the issue.

Thanks,
-jp
Cyberdyne's Avatar
Moderator
 
Join Date: Sep 2006
Location: Los Angeles, CA
Posts: 596
#5: Oct 15 '07

re: Accessing Remote Computer using WMI in Vbscript?


Quote:

Originally Posted by wickedweapon

How can I check that?

In the windows firewall settings or other firewall software that the remote machine is running. RPC has been patched up for security in 2003 after the Warm Blaster attack.

Regards, Cyberdyne.
Reply


Similar Networking bytes