我組織中的所有 Windows 7 64 位元企業版電腦都無法安裝之前安裝沒有問題的大量印表機驅動程式。這只發生在印表機驅動程式上。並非所有印表機驅動程式都如此。一些。網路驅動、視訊驅動等都沒有問題。
setupapi.dev.log
以下是無法安裝的 Dymo LabelWriter 印表機驅動程式的一部分:
dvi: {Plug and Play Service: Device Install for USBPRINT\DYMOLABELWRITER_450_TURBO\6&538F51D&0&USB001}
ump: Creating Install Process: DrvInst.exe 09:36:58.071
ndv: Infpath=C:\Windows\INF\oem0.inf
ndv: DriverNodeName=dymo.inf:DYMO.NTamd64.6.0:LW_450_TURBO_VISTA:8.1.0.363:usbprint\dymolabelwriter_450_aa08
ndv: DriverStorepath=C:\Windows\System32\DriverStore\FileRepository\dymo.inf_amd64_neutral_3a631b118b7a5828\dymo.inf
ndv: Building driver list from driver node strong name...
dvi: Searching for hardware ID(s):
dvi: usbprint\dymolabelwriter_450_aa08
dvi: dymolabelwriter_450_aa08
inf: Opened PNF: 'C:\Windows\System32\DriverStore\FileRepository\dymo.inf_amd64_neutral_3a631b118b7a5828\dymo.inf' ([strings])
dvi: Selected driver installs from section [LW_450_TURBO_VISTA] in 'c:\windows\system32\driverstore\filerepository\dymo.inf_amd64_neutral_3a631b118b7a5828\dymo.inf'.
dvi: Class GUID of device changed to: {4d36e979-e325-11ce-bfc1-08002be10318}.
dvi: Set selected driver complete.
ndv: {Core Device Install} 09:36:58.133
inf: Opened INF: 'C:\Windows\INF\oem0.inf' ([strings])
inf: Saved PNF: 'C:\Windows\INF\oem0.PNF' (Language = 0409)
dvi: {DIF_ALLOW_INSTALL} 09:36:58.164
dvi: Using exported function 'ClassInstall32' in module 'C:\Windows\system32\ntprint.dll'.
dvi: Class installer == ntprint.dll,ClassInstall32
dvi: No CoInstallers found
dvi: Class installer: Enter 09:36:58.164
dvi: Class installer: Exit
dvi: Default installer: Enter 09:36:58.180
dvi: Default installer: Exit
dvi: {DIF_ALLOW_INSTALL - exit(0xe000020e)} 09:36:58.180
ndv: Installing files...
dvi: {DIF_INSTALLDEVICEFILES} 09:36:58.180
dvi: Class installer: Enter 09:36:58.180
inf: Opened INF: 'C:\Windows\System32\DriverStore\FileRepository\dymo.inf_amd64_neutral_3a631b118b7a5828\dymo.inf' ([strings])
inf: Opened INF: 'C:\Windows\System32\DriverStore\FileRepository\dymo.inf_amd64_neutral_3a631b118b7a5828\dymo.inf' ([strings])
!!! dvi: Class installer: failed(0x00000490)!
!!! dvi: Error 1168: Element not found.
dvi: {DIF_INSTALLDEVICEFILES - exit(0x00000490)} 09:37:22.063
ndv: Device install status=0x00000490
ndv: Performing device install final cleanup...
! ndv: Queueing up error report since device installation failed...
ndv: {Core Device Install - exit(0x00000490)} 09:37:22.063
dvi: {DIF_DESTROYPRIVATEDATA} 09:37:22.063
dvi: Class installer: Enter 09:37:22.063
dvi: Class installer: Exit
dvi: Default installer: Enter 09:37:22.063
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 09:37:22.063
ump: Server install process exited with code 0x00000490 09:37:22.063
ump: {Plug and Play Service: Device Install exit(00000490)}
特別注意這些行:
!!! dvi: Class installer: failed(0x00000490)!
!!! dvi: Error 1168: Element not found.
dvi: {DIF_INSTALLDEVICEFILES - exit(0x00000490)} 09:37:22.063
ndv: Device install status=0x00000490
據我所知,「找不到元素」錯誤應該伴隨著一個描述未找到元素的事件。
裝置管理員中出現的錯誤是“無法安裝驅動程序,因為它未經過數位簽章或未以適當的方式進行簽署。”
不過看起來簽名很好。它有一個隨附的 .CAT 檔案並且之前可以運行。安裝時,會記錄以下訊息setupapi.dev.log
:
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE} 09:36:56.277
inf: Opened INF: 'C:\Windows\System32\DriverStore\Temp\{272e2305-961c-7942-9ede-966f01047043}\dymo.inf' ([strings])
sig: {_VERIFY_FILE_SIGNATURE} 09:36:56.292
sig: Key = dymo.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp\{272e2305-961c-7942-9ede-966f01047043}\dymo.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp\{272e2305-961c-7942-9ede-966f01047043}\DYMO.CAT
sig: Success: File is signed in catalog.
sig: {_VERIFY_FILE_SIGNATURE exit(0x00000000)} 09:36:56.355
sto: Validating driver package files against catalog 'DYMO.CAT'.
sto: Driver package is valid.
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE exit(0x00000000)} 09:36:56.402
sto: Verified driver package signature:
sto: Digital Signer Score = 0x0D000005
sto: Digital Signer Name = Microsoft Windows Hardware Compatibility Publisher
現在事情變得奇怪了。如果我將其從網域中刪除,它就可以正常安裝。但這似乎與組別策略沒有任何關係。我將計算機移至阻止繼承的 OU,運行 a gpupdate
,運行rsop.msc
驗證,然後重試。但它仍然不起作用。同樣,我從網域中刪除了一台計算機,手動設置了所有網域組策略設置gpedit.msc
,並嘗試了這種方法,效果很好。因此,群組原則設定似乎無關緊要。還有哪些與網域相關的問題可能導致此問題?
任何有關下一步嘗試的想法將不勝感激。我不知道從這裡該去哪裡。
謝謝!
答案1
當然,這是我以前處理過的更奇怪的問題之一。我們有一個網路共享,其中填充了添加到DevicePath
下的值的驅動程式檔案HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion
。最近新增的驅動程式包之一ntprint.inf
中有一個檔案。失敗的驅動程式安裝有一個包含行ntprint.inf
,而不是使用本地的C:\Windows\INF
,而是在我們的網路驅動程式儲存中選擇一個。我重命名了其他ntprint.inf
文件以強制它使用C:\Windows\INF
.
答案2
您是否為 Vista / Windows 7 設定了「指向和列印限制」策略設定?您需要停用它,或啟用並新增授權的列印伺服器。
群組策略,電腦配置和使用者配置:策略、管理範本、控制面板、印表機、指向和列印限制。
您將需要 2008 DC 或匯入更新的範本才能看到此選項。