Object exporter specified was not found

I have Powershell 2.0 installed on my machine and on one that I want to examine remotely.  When I run the script from my machine I get the following error: "Get-WmiObject : The object exporter specified was not found. (Exception from HRESULT: 0x80070776)"

I suspect that the problem has nothing to do with PowerShell per se--but is rather some sort of network communications problem.  I have administrative privileges on both machines.  Both machines are Windows XP with SP3 installed.
JerryGemAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris DentPowerShell DeveloperCommented:

You're going to have to tell me / us what's in the script or at least what you're asking Get-WmiObject to do.

Chris
0
JerryGemAuthor Commented:
Chris:  Thanks for responding.  Here is the command:
$Wmi = Get-WmiObject -class "Win32_OperatingSystem" -namespace "root\cimv2" -computer Guest-Dev

However, things got worse today.  When I ran it this morning I got the "RPC server is unavailable" error (0x800706BA).  So I didn't get as far as I did yesterday.  Any ideas on this error?  I had overcome that error a few days ago by loading PowerShell 2.0 on the target machine (Guest-Dev)--but now it's back.

Thanks.
0
Chris DentPowerShell DeveloperCommented:

"RPC server is unavailable" is typically associated with a connection failure. Whether that's because the machine is offline or firewalled, or the name cannot be resolved.

Check you can resolve Guest-Dev to an IP address first (nslookup)?

In this context the client does not need to be running PowerShell itself. Although it will if you're remotely executing the command.

Chris
0
How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

JerryGemAuthor Commented:
Chris:  Yes, it resolves to 10.1.1.8.  Our network guy tells me that we are using static IP addresses.
0
Chris DentPowerShell DeveloperCommented:

Can you ping the system?

Either it's firewalled or switched off / not connected.

There's no much you can do about it in PowerShell though. It's a network level error after all.

Chris
0
JerryGemAuthor Commented:
Yes.  I ping Guest-dev and get back 10.1.1.8 and its statistics.
0
Chris DentPowerShell DeveloperCommented:

Firewall then I'd guess. There's not a lot I can tell you about that particular error. Are there any other machines you can test the script against so we can look at the original error message?

Chris
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JerryGemAuthor Commented:
Wow, Chris.  I just tried the command on all of the other machines on our little network, and it worked.  The only one it doesn't work on is Guest-Dev.
0
JerryGemAuthor Commented:
I just turned off the firewall on Guest-Dev and rebooted it.  This has cleared the "RPC server" error.  So now we are back to the original problem (the "object exporter" error).  But now we know that the command works on all of the machines except Guest-Dev.  
0
Chris DentPowerShell DeveloperCommented:

Do you get the error when you run the script, or when you run this command on its own?

Get-WMIObject Win32_OperatingSystem -ComputerName Guest-Dev

And if so, what operating system are you running on Guest-Dev?

Chris
0
JerryGemAuthor Commented:
I run the command on the PowerShell command line.  Guest-Dev is running Wndows XP SP3.  It also has .NET Framework 3.5, and I as mentioned before, it has PowerShell 2.0 installed.
0
JerryGemAuthor Commented:
Chris:  I just ran the command from Guest-Dev using the PowerShell 2.0 command line.  It, too, works with all of the other machines on the network, except mine, which is Gembarowski-Dev.  So the problem boils down to the fact that the command doesn't work between these two machines in either direction but works with all of the other machines.  I noticed something when I looked at the settings on Guest-Dev:  When I look at "Entire Network" the icons for Microsoft Terminal Services and Web Client Network are not there.  The only thing that shows up is Microsoft Windows Network.  Do you think that has anything to do with the problem?
0
Chris DentPowerShell DeveloperCommented:

How odd. It's a WMI / DCOM error rather than anything to do with PS itself, we should get it regardless of the tool we use to query WMI.

It appears to be related to name resolution although there's not all that much information about it. For example, see this ancient KB article:

http://support.microsoft.com/kb/265340

Are you able to log onto Guest-Dev and see if the error occurs if you run the command locally?

Chris
0
Chris DentPowerShell DeveloperCommented:

heh cross-posting.

Anyway, the suggestion is that it's name resolution. How is name resolution configured on your network? DNS or just NetBIOS?

Chris
0
JerryGemAuthor Commented:
The command is succesful from Guest-Dev for all of the computers on the network, except for mine (Gembarowski-Dev).  It even works on itself, i.e., when I use Guest-Dev as the target.  It also works when I use IP addresses (except when I use the IP address for Gembarowski-Dev).  I conclude that the name resolution is working okay.  We are using DNS--not NetBIOS.  The problem appears to be between the two machines Guest-Dev and Gembarowski-Dev (in both directions).
0
Chris DentPowerShell DeveloperCommented:

Out of curiosity, which OS on Gembarowski-Dev?

You could always install a packet sniffer and see if that gives any indication of the failure. It's vague, the the problem is extremely obscure.

Chris
0
JerryGemAuthor Commented:
Gembarowski-Dev has Windows XP SP3 and is running .NET Framework 3.5 SP1.
0
Chris DentPowerShell DeveloperCommented:

I'm going to be limited to Googling it. I haven't encountered the error before which makes suggesting how to fix it rather tricky.

I assume it persists across reboot?

Chris
0
JerryGemAuthor Commented:
Chris:  Thanks again for all the time you have invested in this problem.  Yes, the problem persists across reboots.  I just discovered something new that might shed some light--although I am way out of my area (I am a programmer not a network person).  I found out in the Security Event viewer that I get a "Failure Audit" entry everytime I try the command (and when it fails).  Here are some of the details:
 - Object Server: SC Manager
 - Object Type: SERVICE OBJECT
 - Object Name: RasMan
 - Process ID: 1044
Does this mean anything to you?
0
Chris DentPowerShell DeveloperCommented:

I know what the object name is, but I can't really see how it would break WMI connections between two computers very specific computers.

It's difficult to know where to point the finger. I would guess that other hosts are able to connect to Guest-Dev using the script without problem? And I would guess they're also able to connect to Gembarowski-Dev?

Chris
0
JerryGemAuthor Commented:
Chris:

What you say is correct.  We loaded Powershell 2.0 onto one of the other machines on our little network yesterday and ran the script from it.  The script worked for both Guest-Dev and Gembarowski-Dev.
0
Chris DentPowerShell DeveloperCommented:

The only thing I can think of is if one system were a clone of the other. Anything that would potentially prevent them from agreeing on security, or would cause a failure to negotiate the connection.

Chris
0
JerryGemAuthor Commented:
Chris:  I agree with you that there is some bad Karma between the two machines, so much so that I  built a new machine (Vista) to replace Gembarowski-Dev.  It seems to work well with Guest-Dev and Guest-Dev seems to work well with it.  However, something interesting just happened!  Our network guy just did a DNS refresh, now Guest-Dev and Gembarowski-Dev talk to each other through PowerShell.  I don't know whether this is a temporary situation or whether it will work well from here on out.  It appears to me that after all is said and done, the final solution involved the firewall which you pointed out early on, and DNS name resolution which you also brought up.  If you would post one more comment summarizing what you think the final resolution was, I would like to award you the points--you have been very helpful.
0
JerryGemAuthor Commented:
I meant to split the closure between the two solutions recommended by Chris-Dent.  When I acted on the first part #31369041 it closed the solution completely.  I was never able to attribute part of the solution to #31373780.  If the moderator could fix it so that we have both pieces of the solution I would appreciate it.  I am new to this process, so I wasn't sure how to do it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.