如何解决在 Windows Server 上安装移动宽带时找不到对象名称

问题描述 投票:0回答:0

我正在使用 Microsoft 对 Mobile Broadband Adapter on Windows Server 进行故障排除:

netwmbclass.inf
cxwmbclass.sys

我复制了Windows 10中的inf和sys,然后在Windows server上选择它作为驱动,但是出现如下错误:

Windows cannot initialize the device driver for this hardware. (Code 37)
Object Name not found.

出于测试目的,我修改了原来的netwmbclass.inf,只保留“AddReg”部分:

;-------------------------------------------------------------------------------
; netwmbclass.inf
;
; Copyright (c) Microsoft Corporation.  All rights reserved.

[version]
Signature               = "$Windows NT$"
Class                   = Net
ClassGUID               = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider                = %Msft%
DriverVer = 01/29/2021,10.0.19041.789

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
cxwmbclass.sys         = 3426

[DestinationDirs]
DefaultDestDir=12

[Manufacturer]
%Msft% = Msft,NTamd64

[Msft.NTamd64]
 ; DisplayName           Section        DeviceID
 ; -----------           -------        --------
%wmbclass.DeviceDesc%    = wmbclass.ndi, USB\MS_COMP_MBIM

;-------------------------------------------------------------------------------
; Adapter DDInstall and Services section
; for NetAdapter drivers
[wmbclass.ndi]
AddReg          = wmbclass.Reg

; For mobile broadband drivers
[wmbclass.Reg]
HKR, Ndi,                         Service,             0, %ServiceName%
HKR, Ndi\Interfaces, UpperRange, 0, "flpp4, flpp6"
HKR, Ndi\Interfaces, LowerRange, 0, "ppip"
HKR, , AllowDriverToOverrideDeviceName, 0x00010001, 1

;-----------------------------------------------------------------------------
; Non-localizable Strings
;
[Strings]
ServiceName            = "cxwmbclass"

;-----------------------------------------------------------------------------
; Localizable Strings
;
Msft                         = "Microsoft"
wmbclass.DeviceDesc          = "Test Driver for Troubleshooting Object Name Not Found"
wmbclass.Service.DispName    = "USB Mobile Broadband Adapter Driver"
Disabled                     = "Disabled"
Enabled                      = "Enabled"
SelectiveSuspend             = "Selective Suspend"

但是即使只有inf中的“AddReg”部分,错误仍然是一样的。

我想知道“Object Name not found”是什么?

什么东西不见了?

是跟“netwmbclass.inf”里面的对象相关还是跟其他dll文件相关的对象?

如何找出与“Object Name not found”相关的实物?

windows networking driver windows-server inf
© www.soinside.com 2019 - 2024. All rights reserved.