Troubleshooting RPC Endpoint Mapper errors using the Windows Server 2003 Support Tools from the product CD
On This PageSUMMARYYou may experience RPC Endpoint Mapper errors when you use specific tools and utilities that are available in the Support folder of the Microsoft Windows Server CD-ROM, available as part of a Windows Server Resource Kit, or available on the Microsoft Web site. These errors can help you troubleshoot RPC Endpoint Mapper issues. The symptoms that are described in this article do not represent every possible scenario that may result when RPC does not function correctly. RPC is used by several components in Windows Server 2003 and Windows 2000 Server, such as the File Replication Service (FRS), Active Directory Replication, Certificate services, DCOM, Microsoft Message Queuing (also known as MSMQ), and MAPI. Therefore, a variety of errors and symptoms may occur when RPC does not function correctly. INTRODUCTIONThis step-by-step article describes how to troubleshoot Remote Procedure Call (RPC) Endpoint Mapper errors in Windows Server 2003 and Windows 2000 Server by using tools and utilities that are available in the Support folder of the Windows Server 2003 or Windows 2000 Server CD-ROM or that are available as part of the Windows Server 2003 Resource Kit or the Windows 2000 Server Resource Kit. Remote Procedure Call is a protocol that is used by the Windows operating system. RPC provides an inter-process communication mechanism that allows a program running on one computer to run code on a remote system. In certain situations, when you try to force Active Directory replication by using Active Directory Sites and Services, when you try to promote an additional domain controller by using the Dcpromo tool, or when you run netdom query fsmo from a command line, you may receive an error message that is similar to the following: There are no more endpoints available from the endpoint mapper. Other symptoms may include:
Note If you use a network capture program, such as Network Monitor, to capture network traffic, the computer may not receive a response when it tries to establish an RPC session to another computer by using any port greater than 1024. The sending computer uses the Universal Unique Identifier (UUID) for the RPC Endpoint Mapper. The UUID for the RPC Endpoint Mapper is E1AF8308-5D1F-11C9-91A4-08002B14A0FA. MORE INFORMATION
|
| 1. | Click Start, click Run, type cmd in the Open box, and then click OK. |
| 2. | Type dcdiag, and then press ENTER. |
The Netdiag tool
You can use the Netdiag tool to help isolate networking and connectivity problems. You can use the Netdiag tool to help troubleshoot RPC Endpoint Mapper problems. To do this, follow these steps:| 1. | Click Start, click Run, type cmd in the Open box, and then click OK. |
| 2. | Type netdiag, and then press ENTER. |
The Repadmin tool
You can use the Repadmin tool for Active Directory replication, for troubleshooting Active Directory replication problems, and for troubleshooting RPC Endpoint Mapper problems. To do this, follow these steps:| 1. | Click Start, click Run, type cmd in the Open box, and then click OK. |
| 2. | Type Repadmin /bind, and then press ENTER. |
The Ntdsutil tool
Enterprise and domain administrators can use the Ntdsutil tool to manage and repair Active Directory, and to help troubleshoot RPC Endpoint Mapper problems. To help troubleshoot RPC Endpoint Mapper problems, follow these steps:
| 1. | Click Start, click Run, type cmd in the Open box, and then click OK. |
| 2. | Type NTDSUtil ?, and then press ENTER. |
| 3. | At the ntdsutil: prompt, type Metadata cleanup, and then press ENTER. |
| 4. | At the metadata cleanup: prompt, type Connections, and then press ENTER. |
| 5. | At the Connections: prompt, type Connect to server localhost, and then press ENTER. |
The Gpotool tool
You can use the Gpotool tool to check the consistency of Group Policy objects on domain controllers. The Gpotool tool is contained in the Windows Server 2003 Resource Kit. You can download the Windows Server 2003 Resource Kit by visiting the following Microsoft Web site:
| 1. | Click Start, point to Programs, click Windows Resource Kit Tools, and then click Command Shell. |
| 2. | Type gpotool, and then press Enter. |
If RPC Endpoint Mapper Problems exist, the Gpotool tool may respond with an error messages that are similar to the following:
Event Viewer
The following events may be logged on a domain client, on a member server, or on a domain controller when RPC does not function correctly:
Event ID: 1053
Event Source: Userenv
Description: Windows cannot determine the user or computer name. (There are no more endpoints
available from the endpoint mapper. ). Group Policy processing aborted.
Event ID: 1000
Event Source: Userenv
Description: Windows cannot determine the user or computer name. Return value (1753).
:
Event ID: 1168
Source: NTDS General
Description: Error -1073741823(c0000001) has occurred (Internam ID 3000b35). Please contact Microsoft Product Support Services for assistance.
Event ID: 1265
Source: NTDS KCC
Description: The attempt to establish a replication link with parameters
Partition: CN=Configuration,DC=contoso,DC=com
Source DSA DN: CN=NTDS
Settings,CN=ServerName,CN=Servers,CN=domainname,CN=Sites,CN=Configuration,DC=contoso,DC=com
Source DSA Address: 70863dce-1031-47ea-a567-2f46212dd361._msdcs.securityroot.com
Inter-site Transport (if any): CN=IP,CN=Inter-Site Transports,CN=Sites,CN=Configuration,DC=securityroot,DC=net
failed with the following status:
There are no more endpoints available from the endpoint mapper.
The record data is the status code. This operation will be retried.
Event ID: 1656
Event Source: NTDS General Event
Description: The Directory Service was unable to find any RPC protocol sequences installed on this computer, failing with error 1719. The Directory Service will be unable to respond to any RPC requests as long as this condition persists.
Event ID: 10010
Event Source: DCOM
Description: The server {8BC3F05E-D86B-11D0-A075-00C04FB68820} did not register with DCOM within
the required timeout.
Event ID: 4097
Event Source: EventSystem
Description: The COM+ Event System detected a bad return code during its internal processing. HRESULT was 80070005 from line 42 of .\eventsystemobj.cpp. Please contact Microsoft Product Support Services to report this error.
Event ID: 1012
Event Source: Winlogon
Description: The automatic certificate enrollment subsystem could not access local resources needed for enrollment. Enrollment will not be performed. (0x800706d9) There are no more endpoints available from the endpoint mapper.
On an enterprise certification authority server, or on a subordinate certification authority server, an event that is similar to the following may be logged:
The Dcpromo tool
The Active Directory Installation Wizard (Dcpromo.exe) promotes Windows Server-based computers to be domain controllers. When the Dcpromo tool fails because of RPC problems, error messages that are similar to the following may appear in the DCPromo.log file.
Note The Dcpromo.log file is located in the %windir%\Debug folder.
Note These error codes represent the following:
| • | Error code 58 represents "The specified server cannot perform the requested operation." |
| • | Error code 1722 represents "The RPC server is unavailable." |
| • | Error code 1753 represents "There are no more endpoints available from the endpoint mapper." |
Additionally, the DCPromoUI.log may report an error message that is similar to the following:
The Active Directory Migration Tool
The Active Directory Migration Tool (ADMT) may generate events that are similar to the following in the Event Viewer on the computer where the ADMT is run:
Event ID: 1540
Event Source: NTDS Replication
Description: Error 1753, DSID 11a05b1, adding SID to object ?.
clonepr t:0x5CC 00254 HRESULT = 0x800706D9 clonepr t:0x5CC 00255 Enter GetErrorMessage 800706D9 clonepr t:0x5CC 00256 Exit GetErrorMessage 800706D9 clonepr t:0x5CC 00257 Enter SetComError Failed to add the source SID to the destination object's SID history. The error was: "There are no more endpoints available from the endpoint mapper. " clonepr t:0x5CC 00258 Exit SetComError Failed to add the source SID to the destination object's SID history. The error was: "There are no more endpoints available from the endpoint mapper. "
How to resolve RPC Endpoint Mapper errors
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:The "No more endpoints available" error message means the RPC Endpoint Mapper was not able to use a port greater than 1024 for a service that runs over RPC.
Note RPC Endpoint Mapper runs on port 135.
RPC can use ports up to 65535. By default, all versions of Windows use only ports 1024-5000. To repair the RPC Endpoint Mapper, follow these steps:
| 1. | Verify the status and startup type for the following services on the server that gets the error:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2. | Verify that the following keys exist in the registry (the keys are grouped according to operating system). Windows XP, Windows Server 2003 and Microsoft Windows 2000 Verify that the ClientProtocols key exists under the HKEY_Local_Machine\Software\Microsoft\Rpcregistry subkey and that the ClientProtocolsentry contains at least the following five default values:
Note The ncacn_nb_tcp value does not occur in Windows XP. Microsoft Windows NT 4.0 Verify that the ClientProtocolsentry exists under the HKEY_Local_Machine\Software\Microsoft\Rpcsubkey and that the ClientProtocolsentry contains at least the following six default values:
Microsoft Windows 98 Verify that the ClientProtocolsentry exists under the HKEY_Local_Machine\Software\Microsoft\Rpcsubkey and that the ClientProtocolsentry contains at least the following four default values:
For more information about related topics, click the following article number to view the article in the Microsoft Knowledge Base: 325930 (http://support.microsoft.com/kb/325930/)
How to troubleshoot connectivity issues that are caused by RPC client protocol registry entries
To verify the client registry settings, follow these steps:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 3. | Verify that DNS is working correctly. To do this, follow these steps:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 4. |
Verify that ports greater than 1024 are not blocked. Clients connect to RPC Endpoint Mapper on port 135. RPC Endpoint Mapper then tells the client which randomly assigned port between 1024-65535 a requested service is listening on.
The ports may be blocked by a hardware firewall, a Internet Connection Firewall on Windows Server 2003-based computer and on a Windows XP-based computer, third-party firewall software, or antivirus software that has firewall functionality built-in. By default, port 135 TCP/UDP and ports 1024-65535 TCP must be open for RPC to work. However, you can restrict the ports greater than 1024 that RPC uses. However, RPC Endpoint Mapper is always on port 135. You can also use the Portqry tool to verify that the required ports are open. You must run the Portqry tool on a computer that is not receiving any RPC errors against a computer that is receiving RPC errors by using the -n switch. To this, follow these steps:
If port 135 is blocked, the following will appear: TCP port 135 (epmap service): NOT LISTENING If the ports all respond as "LISTENING," its likely that blocked ports are not causing this problem. If any ports respond as "NOT LISTENING," the ports are probably blocked. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5. | You can use the three REG_DWORD values that can be added to the HKEY_Local_Machine\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters subkey to help solve the RPC problem. Note None of the entries exist by default.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 6. | If the HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\Internet registry key exists and has no values listed, then RPC only has one port available. By default, this registry key does not exist and if there are no values listed under this key, delete this key and then restart the server. |
Note Other software programs may also cause RPC Endpoint Mapper errors, such as the following:
| • | Noblenet Portmapper. This utility requires a host file pointing to itself to work correctly. Editing the host file may resolve the issue. |
| • | BMC Patrol agent software using the AD Knowledge Module (KM). In this case, update to the latest version, at least 1.4.01. |
| • | Incompatible network adapter drivers. In this case, upgrade to the latest Windows Hardware Quality Labs (WHQL) signed driver version. |
REFERENCES
If these articles do not help you resolve the problem, or if you experience symptoms that differ from those that are described in this article, search the Microsoft Knowledge Base for more information. To search the Microsoft Knowledge Base, visit the following Microsoft Web site: http://support.microsoft.com (http://support.microsoft.com/). Then, type the text of the error message that you receive or type a description of the problem in the search field.
APPLIES TO
| • | Microsoft Windows Server 2003, Web Edition |
| • | Microsoft Windows Server 2003, Standard Edition (32-bit x86) |
| • | Microsoft Windows Server 2003, Enterprise Edition (32-bit x86) |
| • | Microsoft Windows Server 2003, Datacenter Edition (32-bit x86) |
| • | Microsoft Windows 2000 Server |
| • | Microsoft Windows 2000 Professional Edition |
| • | Microsoft Windows 2000 Datacenter Server |
| • | Microsoft Windows 2000 Advanced Server |
| • | Microsoft Windows XP Professional |
Keywords: | kbresolve kbhowtomaster kbwinservnetwork kbnetwork kbhowto KB839880 |
Article Translations
Related Support Centers |
Other Support Options
|
Page Tools |

Back to the top
