阅读:1739回复:2
windows 2000 安装驱动失败 1058错误
各位好;
前两天刚在大家的帮助下解决了一个问题,又来叨唠大家了!问题还是出在之前的卷级过滤驱动,之前在IT Sailor 和版主的提点下采用hook的方式,解决了不重启系统情况下windows xp - windows 2012系统下卷I/O的过滤。现在的问题是:该驱动,在windows 2000系统上安装不上,出现1058错误。 具体如下: 该卷过滤驱动(kfence)挂载在Volume上,用来过滤卷的I/O,采用WDK模式编写,用inf文件安装;在不重启的情况下,通过sc start kfence启动驱动的时候出现1058错误:无法启动服务,原因可能是已被禁用或与其相关联的设备没有启动。但是,重启系统的话,驱动可以自动起来,也可以正常工作。通过观察服务控制台面板(services.msc)也没有发现重启前后有什么特别的服务启动了;windows 2000系统算是老古董了,有了解的朋友么, 请指点! inf文件内容如下: [Version] Signature = "$Windows NT$" Class = Volume ClassGUID = {71A27CDD-812A-11D0-BEC7-08002BE2092F} Provider = %msft% DriverVer = 10/24/2011,7.6.2600.0 ; ; General installation section ; [DefaultInstall] CopyFiles = @kefence.sys Addreg = kfence.AddReg [DestinationDirs] DefaultDestDir = 12 [kfence.AddReg] HKLM, SYSTEM\CurrentControlSet\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}, UpperFilters, 0x00010008, kfence ; ; Service installation section ; [DefaultInstall.Services] AddService = kfence, , kfence.Service.Install, kfence.EventLog.Install [kfence.Service.Install] DisplayName = %service_desc% ServiceType = 1 StartType = 0 ;SERVICE_BOOT_START ErrorControl = 1 ServiceBinary = %12%\kefence.sys LoadOrderGroup = "System Bus Extender" [kfence.Eventlog.Install] Addreg = kfence.Eventlog.AddReg [kfence.Eventlog.AddReg] HKR, ,EventMessageFile,0x00020000, "%%SystemRoot%%\System32\drivers\kefence.sys" HKR, ,TypesSupported,0x00010001, 7 ;bitwise OR of EVENTLOG_SUCCESS, EVENTLOG_ERROR_TYPE, EVENTLOG_WARNING_TYPE, and EVENTLOG_INFORMATION_TYPE, without setting the EVENTLOG_AUDIT_XXX bits. ; ; Localizable Strings ; [Strings] msft = "My Corporation" service_desc = "TEST CDP Filter Driver" diskid1 = "My Corp. Installation Disk #1 (Kefence)" |
|
沙发#
发布于:2013-08-03 10:32
有了解的朋友吗?请指教啊!
|
|
板凳#
发布于:2013-08-05 08:50
windows 2000系统确实太古董了,还是想知道是否有了解的朋友呢!求帮忙!
|
|