NETSH Command May Generate Error Messages in Windows 2000 Professional

ID: Q242164


The information in this article applies to:
  • Microsoft Windows 2000 Professional

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

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: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

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


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words:

Keywords : kberrmsg kbtool
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.