Server Bug Fix: WMI Security issue

Original Source Link

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:system32wbem 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

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.

Tagged : / / /

Leave a Reply

Your email address will not be published. Required fields are marked *