Solved

wmi on remote machines doomed to failure

Posted on 2004-08-28
5
1,226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 250 total points
ID: 12032035
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
ID: 12071271
Yes, I am administrator on both machines with the same pw.
0
 
LVL 76

Expert Comment

by:David Lee
ID: 12071470
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
ID: 12089396
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
ID: 12417773
Gave up on it.  Thanks for the input.  I will share the points for the effort given.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ntdlr  is missing or corrupt 15 156
Application Not Found 3 109
Lock down IT Intern accounts 4 130
Reading registry key from HKCU and not hklm 10 139
Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 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