Jump to content

'Cannot Install this Hardware, the RPC server is unavailable' Message Displays on the Computer in Windows XP During Software Installation or Uninstallation

  • PrintPrint

Issue

While installing or uninstalling the HP software in Windows XP, the error message 'Cannot Install this Hardware, the RPC server is unavailable' displays on the computer.
Figure 1: 'Cannot Install this Hardware, the RPC server is unavailable' Error Message

Solution

Follow these steps to resolve the issue.

Step one: Determine if the Lexbcserver process is running

  1. On the keyboard, press Ctrl, Alt and Delete, and click Task Manager. The Windows Task Manager opens.
  2. Click the Processes tab. A list of running processes displays in the Image Name column.
  3. Look for a process titled Lexbcserver in the list.
    • If Lexbcserver is listed, continue to the next step.
    • If Lexbcserver is not listed, skip the next step and go directly to Step three: Determine if the SPOOLSV.EXE (Print Spooler) is running.

Step two: Disable the Lexbcserver process

  1. Click Start, right-click My Computer, and then click Manage. The Computer Management window opens.
    Figure 2: The Computer Management window
  2. In the left-hand pane, click the plus sign (+) next to Services and Applications to expand the list.
  3. Click Services. A list of services displays in the right-hand pane.
  4. In the list of services, right-click Lexbcserver, and then click Properties. The Lexbcserver Properties window opens.
  5. From the General tab, look for the Service Status section near the bottom of the window, and then click Stop. The Service Status changes from Started to Stopped.
  6. Directly above the Service Status section, find the Startup Type: drop-down menu. From the list, select Disabled.
  7. Click OK. The Lexbcserver Properties window closes.
  8. On the Computer Management window, click the X in the top-right corner to close it.

Step three: Determine if the Print Spooler (SPOOLSV.EXE) is running

  1. On the keyboard, press Ctrl, Alt and Delete, and click Task Manager. The Windows Task Manager opens.
  2. Click the Processes tab. A list of running processes displays in the Image Name column.
  3. Look for a process called SPOOLSV.EXE in the list.
    • If SPOOLSV.EXE is listed, try to reinstall the HP software. If the issue persists after reinstalling, continue to Step four: Verify the Print Spooler settings and restart the computer.
    • If SPOOLSV.EXE is not listed, continue to Step four: Verify the Print Spooler settings and restart the computer.

Step four: Verify the Print Spooler settings and restart the computer

  1. Click Start, right-click My Computer, and then click Manage. The Computer Management window opens.
  2. In the left-hand pane, click the plus sign (+) next to Services and Applications to expand the list.
  3. Click Services. A list of services displays in the right-hand pane.
    Figure 3: Print Spooler Service
  4. In the list of services, find Print Spooler, and then review the information in the Status and Startup Type columns.
    NOTE:You might have to scroll to the right of the Computer Management window to view these columns.
  5. Compare the information in the columns to the following list for further instructions.
    • If the Status is Started and the Startup Type is Automatic, discontinue this procedure and continue to Step five: Verify the System Configuration Utility settings.
    • If the Status is blank or the Startup Type is anything other than Automatic, continue with this procedure.
    • If Print Spooler is not in the list of services, Windows is corrupt and needs to be repaired or reinstalled. Contact Microsoft for assistance.
  6. Right-click Print Spooler, and then click Properties. The Print Spooler Properties window opens.
  7. From the General tab, select Automatic from the Startup type: drop-down list.
  8. In the Service status: section, click Start.
  9. Click OK. The Print Spooler Properties window closes.
  10. On the Computer Management window, click the X in the top-right corner to close it.

Step five: Verify the System Configuration Utility settings

  1. Click Start, and then click Run. The Run dialog box opens.
  2. Type msconfig in the Open: field, and then click OK. The System Configuration Utility window opens.
  3. From the General tab, look at the information under Startup Selection, and then review the following list for further instructions.
    • If Normal Startup is selected, continue with this procedure.
    • If Selective Startup is selected, select Load System Services if it is not already selected, and then continue with this procedure.
  4. Click OK, and then restart the computer.
  5. When the computer restarts, try to install the HP software again. If the issue persists, continue to the next step.

Step six: Run the Windows File Checker Utility

  1. Click Start, and then click Run. The Run dialog box opens.
  2. Type sfc /scannow in the Open: field, and then click OK.
  3. If you are prompted to insert the Windows disk, insert the CD and click Retry.
  4. Follow the on-screen instructions , and then restart the computer when prompted.
  5. When the computer restarts, try to install the HP software again. If the issue persists, continue to the next step.

Step seven: Backup the Windows Registry

  1. Disconnect the USB cable from the back of the product.
  2. Uninstall any other printers connected to the computer, and then restart the computer.
    NOTE:For assistance uninstalling other printers, contact the printer manufacturer.
  3. Click Start, and then click Run. The Run dialog box opens.
  4. Type regedit in the Open: field, and then click OK. The Registry Editor window opens.
    Figure 4: The Registry Editor
  5. In the left-hand pane, find My Computer at the top of the list. If it is not already selected, click to select it.
  6. With My Computer selected, click File, and then click Export. The Export Registry File window opens.
  7. Under Export Range, select All.
  8. Browse to a location to save the file, and then type a name in the File Name: field. Use a file name that will be easy to remember, such as "Windows_Registry_Backup" and today's date.
  9. Click Save. The Export Registry File window closes, but the Registry Editor remains open. Do not close the Registry Editor.

Step eight: Edit the Windows Registry

CAUTION:Follow these steps exactly as listed. If the steps are not followed exactly, Windows may not function correctly afterward.
  1. From the Registry Editor, follow these steps to locate the registry key titled HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers:
    1. Under My Computer, click the plus sign (+) next to HKEY_LOCAL_MACHINE to expand the list.
    2. Find and click System, and then click the plus sign (+) to expand the list.
    3. Find and click CurrentControlSet, and then click the plus sign (+) to expand the list.
    4. Find and click Control, and then click the plus sign (+) to expand the list.
    5. Find and click Print, and then click the plus sign (+) to expand the list.
    6. Find and click Environments, and then click the plus sign (+) to expand the list.
    7. Find and click Windows NT x86, and then click the plus sign (+) to expand the list.
    8. Find and click Drivers, and then click the plus sign (+) to expand the list.
  2. Click the plus sign (+) next to any Version-X subkeys (where X is a number). For example, if a folder titled Version-3 exists under the Drivers folders, click the plus sign (+) to expand the list.
  3. Under Version-X entries, right-click any references to printers that were previously installed on the computer, and then click Delete.
    CAUTION:Do not remove any software references, such as Adobe PDF Distiller or Active Touch Document Loader. Do not remove any current printers that are installed on the computer. Only remove previously installed printers that are not currently installed.
  4. Click Yes to confirm deletion of the key.
  5. Repeat steps 2-4 until all references to printers that were previously installed on the computer are deleted.
  6. From the Registry Editor, follow these steps to locate the registry key titled HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Monitors :
    1. Under My Computer, click the plus sign (+) next to HKEY_LOCAL_MACHINE to expand the list.
    2. Find and click System, and then click the plus sign (+) to expand the list.
    3. Find and click CurrentControlSet, and then click the plus sign (+) to expand the list.
    4. Find and click Control, and then click the plus sign (+) to expand the list.
    5. Find and click Print, and then click the plus sign (+) to expand the list.
    6. Find and click Monitors, and then click the plus sign (+) to expand the list.
      A list of several print monitors installed on the computer appears. The following are the default print monitors for the standard ports:
      • BJ Language Monitor
      • Local Port
      • PJL Language Monitor
      • Standard TCP/IP Port
      • USB Monitor
      • LPR Port
  7. Right click any monitor subkeys other than those listed in the preceding list, and then click Delete.
    CAUTION:Do not delete any of the default print monitors in the preceding list. Only delete any other monitor subkeys listed.
  8. Click Yes to confirm deletion of the key.
  9. Find and click the following registry key:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services.
    Under My Computer, click the plus sign (+) next to HKEY_LOCAL_MACHINE to expand the list.
    Find and click System, and then click the plus sign (+) to expand the list.
    Find and click CurrentControlSet, and then click the plus sign (+) to expand the list.
    Find and click Services, and then click the plus sign (+) to expand the list.
  10. Click Spooler in the list of services to highlight the registry key. A list of data strings displays in the right-hand pane.
  11. In the right-hand pane, look for data strings that begin with DependOnService.
    Figure 5: DependOnService data string
  12. Look under the Data column of the DependOnService string, and then review the following information for further instructions.
    • If lexbces is present in the Data column, right-click DependOnService, and then click Modify. Delete lexbces, type RPCSS in its place, and then click OK. Continue with this procedure.
    • If the data field contains any other values, such as RPCSS, continue with this procedure.
  13. Close the registry editor, and then restart the computer and try installing the HP software again.

Cause

The Remote Procedure Call (RPC) server is a service in Windows XP that is used to validate and start other services within the system, such as the print spooler that is needed to install the print drivers. This error will occur if the spooler is disabled or corrupted, or if another print driver is not permitting access to the print spooler.

HP Support forums

Find solutions and collaborate with others on the HP Support Forum
HP.comHP on FacebookHP on TwitterHP on YouTubeHP on Linked InHP on FlickrHP on Google+