Link to home
Start Free TrialLog in
Avatar of greetrufus
greetrufus

asked on

wmi on remote machines doomed to failure

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


ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of greetrufus
greetrufus

ASKER

Yes, I am administrator on both machines with the same pw.
Can you post the script or post a link to where I can get a copy so I can try it in my environment?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Gave up on it.  Thanks for the input.  I will share the points for the effort given.