Solved

wmi on remote machines doomed to failure

Posted on 2004-08-28
5
1,212 Views
Last Modified: 2008-01-09
Learning WMI and trying to run it on XP pro.
I have downloaded the script exec.vbs and run it from the command prompt like so:

cscript exec.vbs /e "net send machinename hello" /S machindname /U username /W password

where machinename = the pc I am trying to connect to

My associate can run it in his envirionment without incident.  However, everytime I run it I get the following error:

C:\>cscript exec.vbs /e "net send machinename hi" /S machinename /U
administrator /W "password"
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Error 0x1A8 occurred in connecting to server machinename.
Error description: Object required.

Please check the server name, credentials and WBEM Core.

Any help would be greatly appreciated!!

I have tried everything


0
Comment
Question by:greetrufus
  • 2
  • 2
5 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 250 total points
Comment Utility
It's probably a permissions error.  Are you an administrator on the remote machine?  If not, that's likely why this doesn't work.  Take a look at this:  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/connecting_to_wmi_on_a_remote_computer.asp?frame=true
0
 

Author Comment

by:greetrufus
Comment Utility
Yes, I am administrator on both machines with the same pw.
0
 
LVL 76

Expert Comment

by:David Lee
Comment Utility
Can you post the script or post a link to where I can get a copy so I can try it in my environment?
0
 
LVL 2

Assisted Solution

by:SaintBA
SaintBA earned 250 total points
Comment Utility
As BlueDevilFan said, it would be nice if you could post the script, so we can check it.
By the way...Does the remote computer has the "Messenger", "RPC" and "Remote Registry" services started ?
0
 

Author Comment

by:greetrufus
Comment Utility
Gave up on it.  Thanks for the input.  I will share the points for the effort given.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now