Archive for October, 2008

Netdiag.exe Error and How to Fix It

Saturday, October 11th, 2008

While trying to run the netdiag.exe program on a Windows XP or Windows 2003 Server you get this error message:

netdiag.exe – Entry Point Not Found : The procedure entry point DnsIsDynamicRegistrationEnabled could not be located in the dynamic link library DNSAPI.dll

or

netdiag.exe – Entry Point Not Found : The procedure entry point DnsGetPrimaryDomainName_UTF8 could not be located in the dynamic link library DNSAPI.dll

This is caused because some DLL have not been registered properly. This means you might have installed the netdiag.exe from a downloaded resource tool kit.

If using WinXP/Win2k3 one should use the Netdiag.exe supplied on the install cd WinXP(X:\Support\Tools\Setup.exe) / Win2k3 (X:\Support\Tools\suptools.msi).

This should resolve your issues with running this program.