BUG: RegConnectRegistry on Windows NT Returns ERROR_BAD_NETPATH

ID: Q194928


The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API), used with:
    • 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.


REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

Q193463 HOWTO: Troubleshoot Remote Registry Access on Windows 95/98

Additional query words:

Keywords : kbAPI kbKernBase kbNTOS350 kbNTOS351 kbNTOS400 kbRegistry kbDSupport kbGrpKernBase
Version : winnt:3.5,3.51,4.0
Platform : winnt
Issue type : kbbug


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