wmi on remote machines doomed to failure
Posted on 2004-08-28
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