Microsoft KB Archive/194928

{|
 * width="100%"|

BUG: RegConnectRegistry on Windows NT Returns ERROR_BAD_NETPATH

 * }

Q194928

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), used with:
 * the operating system: Microsoft Windows NT, versions 3.5, 3.51, 4.0

-

SYMPTOMS
When the ANSI version of the RegConnectRegistry API is called from Windows NT to connect to a remote registry on a Windows 95 or Windows 98 computer, error code 53 (ERROR_BAD_NETPATH) is returned.

RESOLUTION
To avoid this problem use RegConnectRegistryW, the Unicode version of the API, to connect to remote Windows 95 or Windows 98 registry databases from Windows NT.

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