茫茫網海中的冷日 - 對這文章發表回應
茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1729034 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
IMG_60D_00026.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

對這文章發表回應

發表限制: 非會員 可以發表

發表者: 冷日 發表時間: 2014/7/11 7:51:57

使用Devcon 安裝 Windows Driver

Devon是Microsoft所Release的一個Tool
能夠透過下command的方法去安裝一個Driver



devcon.exe [-r] [-m:\\]  [...]
devcon /m:\\server01 =>/m 代表是remote的machine
devcon /r 代表command執行完後需要reboot


  1. 列出所有的 HWID 並存進 hwids.txt
devcon hwids * > hwids.txt 
  1. 列出符合某個 Pattern HWID
devcon hwids *floppy*

  1. 列出所有的 class
devcon classes > classes.txt
  1. class HWID( 這裡用 ports class)
devcon hwids =ports

  1. 列出某個 class device( 這裡用 net class)
devcon listclass net
  1. 列出很多個 class device

devcon listclass diskdrive cdrom tapedrive 
  1. 列出所有個 driverfile 存進 driverfiles.txt
devcon driverfiles * > driverfiles.txt 
  1. 列出 device status

devcon status * > status.txt
  1. 透過 Instance ID 列出某個 device status
devcon status "@PCI\VEN_8086&DEV_1130&SUBSYS_00000000&REV_02\3&29E81982&0&00"
  1. 找出所有的
    device 存進 findall.txt
devcon findall * > findall.txt
  1. 透過 INF file   HWID 
    update  某隻 driver
devcon update c:\windows\inf\test.inf *PNP0501 
  1. 透過
    INF file   HWID  install  某隻 driver
devcon /r install c:\windows\inf\keyboard.inf *PNP030b 

  1. 透過 Instance ID  移除 device
devcon /r remove @usb\*   

  1. 透過 class   HWID  移除特定一隻 device
devcon /r remove =net *ndiswan*  

  1. 重新 scan device
devcon rescan


原文出處:William的記事: 使用Devcon 安裝 Windows Driver
內容圖示
url email imgsrc image code quote
樣本
bold italic underline linethrough   












 [詳情...]
validation picture

注意事項:
預覽不需輸入認證碼,僅真正發送文章時才會檢查驗證碼。
認證碼有效期10分鐘,若輸入資料超過10分鐘,請您備份內容後,重新整理本頁並貼回您的內容,再輸入驗證碼送出。

選項

Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|