Installing and Uninstalling the USB Serial Host Driver (Windows CE 5.0)

Send Feedback

Installation

ActiveSync automatically installs the USB serial host driver: Wceusbsh.drv. To correctly install the USB serial host driver on the Windows-based desktop platform, the Wceusbsh.inf file must include a product identifier (PID) and vendor identifier (VID) for your USB function client hardware.

Note   If your target device does not use ActiveSync, but requires USB connectivity, investigate developing and providing a USB serial host driver for the Windows-based desktop platform. Microsoft recommends providing a setup application that installs your USB serial host driver, the .inf file, and other supporting software.

To install the USB serial host driver

  • Add a product identifier (PID) and vendor identifier (VID) to the Wceusbsh.inf file.

    The USB serial host driver uses the PID and VID in Wceusbsh.inf to automatically enumerate Plug and Play USB function client hardware when a user attaches Plug and Play USB function client hardware to the Windows-based desktop platform. To have your hardware automatically enumerated, add your USB function client hardware PIDs and VIDs to the Wceusbsh.inf file.

    The USB bus driver on a Windows-based desktop platform detects the USB serial host driver. When a user attaches a USB function client device to a Windows-based desktop platform, the Add Hardware Wizard installs the USB serial host driver without any user intervention.

    Once the Windows-based desktop platform installs the USB serial host driver, the user can attach and remove registered USB function client devices without having to reinstall the USB serial host driver.

Uninstallation

Uninstall the USB serial host driver by removing the driver from the Device Manager and deleting any registry keys or files that were adding during installation or configuration.

To uninstall the USB serial host driver

  1. Uninstall the USB serial host driver by removing the driver from the Device Manager on the Windows-based desktop platform. You may need to enabling viewing of hidden devices or view the devices by connection in the Device Manager.
  2. Remove any Wceusbsh* registry keys, such as HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wceusbsh.
  3. Remove any registry keys that contain the USB serial host driver Plug and Play identifier, which is {25dbce51-6c8f-4a72-8a6d-b54c2b4fc835}.
  4. Delete any Wceusbsh* files, such as Wceusbsh.inf and Wceusbsys.sys.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.