0

When I am trying to access WMI from a remote domain controller using WMIMGMT.MSC, I keep getting "Failed to connect to \(remote server) because 'Win32: Access is denied.'. Does anyone have any ideas on what could be causing this?

I have tried many of the different howtos I found through google and none of them worked. I renamed the logs and repository folder under C:\system32\wbem and rebuilt the repository. After this didn't work, I went into the security tab under WMI Control and allowed 'Everyone' all rights. This did not fix the problem. I believe it has something to do with impersonation, but when I tried a few google searches for this, it brought up scripting and programming help.

I can access WMI locally on the remote computer with no issues

Mathias R. Jessen
  • 24,907
  • 4
  • 62
  • 95
Jacob
  • 443
  • 1
  • 9
  • 23

1 Answers1

0

It sounds like a firewall issue. You can run netsh firewall set service RemoteAdmin enable to create the firewall exception for remote WMI access.

If the account that you're using is not an administrator on the target machine, you'll also need to configure some DCOM settings on the target machine, as outlined here.

MDMarra
  • 100,183
  • 32
  • 195
  • 326
  • If it was a DCOM issue, wouldn't it prevent me from viewing the event viewer and services remotely? I am able to remotely view the event viewer and services. Also, I do not have windows firewall enabled on the machine. – Jacob Jan 31 '12 at 21:19