Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7833
  • Last Modified:

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

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
themoogy
Asked:
themoogy
  • 2
  • 2
1 Solution
 
grayeCommented:
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
 
themoogyAuthor Commented:
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
 
grayeCommented:
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
 
themoogyAuthor Commented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now