A "Generic failure" error is seen accessing DNS WMI classes such as "MicrosoftDNS_Zone"

You may see a "Generic failure" error when trying to access DNS WMI classes in the root\MicrosoftDNS namespace such as "MicrosoftDNS_Zone".

In the XIA Configuration Client the error displayed is for example
The DNS service agent encountered an exception when 'Reading forward lookup zones'. Generic failure.


Cause

This problem can be caused by a problem with the DNS WMI provider.


 Resolution

  • Ensure you have a full backup of the server
  • Open a command prompt as an Administrator 
  • Enter the following command changing the drive letter and path if required
    C:\Windows\System32\wbem\mofcomp C:\Windows\System32\wbem\dnsprov.mof

  • Scan the DNS service again



For more information on the mofcomp utility please see the following Microsoft web page.
http://msdn.microsoft.com/en-us/library/aa392389(v=vs.85).aspx

Comments

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Windows Server 2019 desktop icons such as My Computer, Windows cannot access the specified device, path, or file.