473,778 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
+ 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.Co nnectServer()

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

Any help will be highly appreciated.
Sep 26 '07 #1
4 6851
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.Co nnectServer()

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

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
1656
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? (Note: Python is not installed on the second computer) Thanks.
3
8468
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 but to access it I have to log on with a UserName and Password. I do not want the user to have to enter the user name or password, so how can I pass this in code? Thanks, -Carl
0
2400
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 the other machines using Mercury Interactives QTP. I have used WMI and ActiveX and able to run those. But my problem is it works only on some machines. On some macgines the ActiveX fails. Tried with the same user and privilages. It would be...
5
6976
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 RegistryKey.OpenRemoteBaseKey(); I tried But everytime I execute it, an UnauthorizedAccessException occurred at the OpenRemoteBaseKey method. Both computer (the one that ran the C# application, and the remote computer) are Windows XP Professional,...
0
892
by: Vasudha Balyan | last post by:
Can we access webservices using VBScript? Thanks VB
5
3829
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
23987
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 { ConnectionOptions connection = new ConnectionOptions(); connection.Username = userNameBox.Text; connection.Password = passwordBox.Text; connection.Authority = "ntlmdomain:DOMAIN";
3
28088
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 authentication and start and stop the remote pc Windows services. plse suggest me any modification in the code and tell mw the other code . Its Urgent. try { ConnectionOptions connection = new ConnectionOptions();...
0
9628
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9464
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10292
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8954
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6722
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4031
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3627
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2860
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.