You can change the name service provider you specified by editing the Rpcreg.dat configuration file, which contains the NSP parameters and RPC protocol settings. Use a text editor to change NSP entries.
To reconfigure the Microsoft Locator name service provider
-
Open the Rpcreg.dat file using a text editor.
Rpcreg.dat is in the root directory unless you specified a different path during setup.
-
Set the following values for the registry entries.
Registry entry Value Software\Microsoft\RPC \NameService\Protocol The protocol sequence for the protocol you are using. The default is ncacn_np. Software\Microsoft\RPC\ NameService\NetworkAddress The name of the computer running Locator that is used by clients during name service lookup operations. The default is the primary domain controller. Software\Microsoft\RPC\ NameService\Endpoint The name of the endpoint used by the name service. The default is \pipe\locator. -
Save and close the file.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
