NETSH Command May Generate Error Messages in Windows 2000 Professional (242164)



The information in this article applies to:

  • Microsoft Windows 2000 Professional

This article was previously published under Q242164
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

Windows 2000 Professional includes a Netsh command-line utility that you can use to make modifications to the TCP/IP configuration on the local interface.

Using the netsh command in Windows 2000 Professional may generate two error messages, similar to:
The dynamic link library WINSRPC.dll could not be found in the specified path
Could not load DLL WINSMON.DLL.

CAUSE

This behavior occurs because Netsh is looking for the Winsmon.dll file, because Windows 2000 Beta 3 adds the following registry entry:

HKEY_LOCAL_MACHINE/Software/Microsoft/NetSh/
REG_SZ: winsmon.dll

Upgrading from Beta 3 to later versions may leave this registry entry intact. If this entry exists but the file is not on your computer, the error messages occur.

RESOLUTION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this issue, remove the registry entry listed above.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MajorLast Reviewed:10/6/2003
Keywords:kberrmsg kbprb KB242164