大网数据广告活动
启动与系统组件

Use or reference Usbser.sys driver from USB modem .inf files

· 52CE 我爱测

Describes how to use or reference the system-supplied Usbser.sys driver file from a third-party modem .inf file. We recommend different configurations, depending on how the driver is distributed.

This article describes how to use or reference the system-supplied Usbser.sys driver file from a third-party modem .inf file.

Applies to:   Windows 10 - all editions
Original KB number:   837637

Summary

Universal serial bus (USB) modem .inf files can both use the Usbser.sys driver and directly reference the Usbser.sys driver from the .inf file. However, we don't recommend this.

Instead, we recommend the following:

  • Drivers that are distributed with the operating system use the Usbser.sys driver.
  • Drivers that are not distributed with the operating system use the Include directive or the Needs directive. The Include directive is described in the More Information section.

More information

To reference the Usbser.sys driver, we recommend that USB modem .inf files reference the Mdmcpq.inf file.

For example, the DDInstall section of an .inf file uses the Include directive and may be similar to the following:

[DDInstall.NT]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection

[DDInstall.NT.Services]
include=mdmcpq.inf
AddService=usbser, 0x00000000, LowerFilter_Service_Inst

[DDInstall.NT.HW]
include=mdmcpq.inf
AddReg=LowerFilterAddReg

The following sections appear in the Mdmcpq.inf file:

  • FakeModemCopyFileSection
  • LowerFilter_Service_Inst
  • LowerFilterAddReg

References

For more information, see the "Device Installation" topic in the Microsoft Windows Driver Development Kit documentation.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for deployment-related issues.

Source: Microsoft Learn / IT Pro troubleshooting 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.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。