473,473 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Accessing Remote Computer using WMI in Vbscript?

2 New Member
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.
Sep 26 '07 #1
4 6839
sicarie
4,677 Recognized Expert Moderator Specialist
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?
Sep 26 '07 #2
wickedweapon
2 New Member
Did you check to make sure RPC is allowed on the remote machine?
How can I check that?
Sep 26 '07 #3
jmp8600
1 New Member
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
Oct 15 '07 #4
Cyberdyne
627 Recognized Expert Contributor
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.
Oct 15 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Milon | last post by:
I have 2 computers hooked to the same network. One of the computer has Python installed, and I want to write a python script to launch "c:\notepad.exe" on the second computer, how do I do this? ...
3
by: Carl | last post by:
Using VB .NET how can I enable my program to access a share on another machine and pass the user name and password. I have a computer and share, say "\\computer\share" so I can copy files from it...
0
by: ani007 | last post by:
Hi, I need some information on how to run the applications on remote machine. Exactly what i want is , I have site , from which I shud be able to execute my automation scripts residing in...
5
by: Sin Jeong-hun | last post by:
I need to read some registry keys of a remote computer. The key will be any key users provide. (For example : HKEY_CURRENT_USER\SOFTWARE \MyGame) I found that there was a handy method called...
0
by: Vasudha Balyan | last post by:
Can we access webservices using VBScript? Thanks VB
5
by: Rohit111111 | last post by:
Hello All, I new to ASP and i am using VBScript, I want to delete a file which is located on the remote machine hbow can i delete that file.plz help its urgent
1
by: pnalla | last post by:
Hi, I am Connecting ti remote computer using C# WMI through the following code.But i t gives Some error "INVALID PARAMETERS" plse suggest me any modification in the code. try { ...
3
by: pnalla | last post by:
Hi, I am Connecting ti remote computer using C# WMI through the following code.But i t gives Some error "INVALID PARAMETERS" at scop.Connet Is there any procedure to coonect to rempte pc with...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.