How to fix Error 1899 on Windows 11

Why This Error Happens

Error 1899 typically occurs when the RPC (Remote Procedure Call) endpoint mapper service fails to register a new entry in its database, often due to the RPC Endpoint Mapper service or DCOM Server Process Launcher not running correctly. This can be caused by corrupted RPC service configurations, insufficient permissions on the registry keys governing RPC services, or conflicts from third-party security software intercepting RPC communications. In some cases, a corrupted system file related to rpcss.dll or improper service dependencies can also trigger this failure.

Step-by-Step Resolution Guide

Step 1: Verify RPC Service Status

  • Press Win + R, type services.msc, and press Enter.
  • Locate Remote Procedure Call (RPC) and ensure the Status is set to “Running” and Startup Type is “Automatic.”
  • Locate DCOM Server Process Launcher and RPC Endpoint Mapper, confirming both are also running with Automatic startup type.
  • Right-click any stopped service and select Start.

Step 2: Run System File Checker and DISM

  • Open Command Prompt as Administrator.
  • Run the command: sfc /scannow
  • Once complete, run: DISM /Online /Cleanup-Image /RestoreHealth
  • Restart your computer to apply repairs to corrupted system files that may affect RPC services.

Step 3: Check Registry Permissions

  • Press Win + R, type regedit, and press Enter.
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs.
  • Right-click the RpcSs key, select Permissions, and ensure “SYSTEM” and “Administrators” have Full Control.
  • Apply changes and restart the RPC-related services from Step 1.

Step 4: Disable Conflicting Third-Party Software

  • Temporarily disable third-party antivirus or firewall software (e.g., via the system tray icon or its settings panel).
  • Attempt to reproduce the error to see if it resolves with the security software disabled.
  • If confirmed as the cause, update the software to the latest version or configure an exception for RPC-related processes.

Alternative or Verification Steps

  • To verify the fix, open Event Viewer (eventvwr.msc), navigate to Windows Logs > System, and confirm Error 1899 no longer appears after performing the actions that previously triggered it.
  • If the issue persists, consider performing an in-place upgrade repair using Windows 11 installation media, which resets system files and services without deleting personal data.