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

Google 自訂搜尋

Goole 廣告

隨機相片
IMG_00034.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

微軟帝國 : [轉貼]另一種方法來 「 裝置管理員 」 之 DevCon 命令列公用程式函式

發表者 討論內容
冷日
(冷日)
Webmaster
  • 註冊日: 2008/2/19
  • 來自:
  • 發表數: 15771
[轉貼]使用 Devcon 安裝 Windows Driver

使用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
前一個主題 | 下一個主題 | | | |

討論串




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