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
Solved

WMI query from remote computer fails with Impersonation failed - access denied and WDM call returned error: 4200

Posted on 2008-10-23
4
7,544 Views
Last Modified: 2013-11-05
Hi all,

We have a remote querying a server using WMI to check on the status of various services, however for some reason it has now started to fail.

The wmiprov.log shows:

Impersonation failed - access denied
WDM call returned error: 4200

I believe the account has the correct rights, but for some reason it still keeps on failing.

Does anyone have any ideas on how to troubleshhot and resolve this ?

Thanks

Matt
0
Comment
Question by:themoogy
  • 2
  • 2
4 Comments
 
LVL 41

Expert Comment

by:graye
ID: 22812908
Tell us more about the "remote" end of this scenario....    Domain vs Workgroup?, Windows Server 2003?,  With Service Pack 2?   Any recent firewall adjustments, etc.
0
 
LVL 1

Author Comment

by:themoogy
ID: 22813077
Both windows 2003 sp2, with all the latest hotfixes. Both a memeber of the same domain and in the same OU, no firewall between the hosts or enabled on the hosts.

I have confimred that the host affected is rejecting all WMI queries over the network, WMI only works when queried on the host itself.
Thanks

Matt
0
 
LVL 41

Accepted Solution

by:
graye earned 250 total points
ID: 22816528
OK... I recommend the next step be to download and run the WMIDiag script on the remote PC.
http://www.microsoft.com/downloads/details.aspx?familyid=d7ba3cd6-18d1-4d05-b11e-4c64192ae97d&displaylang=en
There might be some that pops out at us.
Just curious... does the "reverse direction" work?   Can you sucessfully run a script with Impersonation from the "failed" server to the "good" server?
0
 
LVL 1

Author Comment

by:themoogy
ID: 22833358
Great tool, thanks for pointing me in the right direction, it proved to be a dcom error, the tool suggested registry changes and after a reboot all the problems were solved.
Thanks for your help

Matt
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 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