【轉貼】USB 儲存裝置(隨身碟, 外接式硬碟)自動執行 Autorun - PCZONE 討論區

返回   PCZONE 討論區 > ▲ -- 電 腦 軟 體 討 論 區 > -- Windows 討 論 版


PCZONE 討論區



通知

-- Windows 討 論 版 包括 Windows 95/98/ME、Windows NT/2000/XP/Server 2003 等的疑難雜症解答與經驗分享。

FYI
會員
【轉貼】USB 儲存裝置(隨身碟, 外接式硬碟)自動執行 Autorun
USB Storage - FAQ for Driver and Hardware Developers
Q: What must I do to trigger Autorun on my USB storage device?
The Autorun capabilities are restricted to CD-ROM drives and fixed disk drives. If you need to make a USB storage device perform Autorun, the device must not be marked as a removable media device and the device must contain an Autorun.inf file and a startup application.

The removable media device setting is a flag contained within the SCSI Inquiry Data response to the SCSI Inquiry command. Bit 7 of byte 1 (indexed from 0) is the Removable Media Bit (RMB). A RMB set to zero indicates that the device is not a removable media device. A RMB of one indicates that the device is a removable media device. Drivers obtain this information by using the StorageDeviceProperty request.
不同的Windows 版本似乎對 "卸除式(DRIVE_REMOVABLE)" 裝置有不同的處理, 如僅就WinXP 來說, WinXP 不支援卸除式裝置的自動執行, 其中包含了絕大多數的USB 讀卡機和隨身碟, 這是和韌體設計有關, 解決的方法是安裝第三方軟件, 例如APO USB Autorun 或者購買包含附加功能的USB 隨身碟, 例如U3 的U3 Smart Drive

另外要注意的是, 一旦USB 儲存裝置能夠自動執行(例如USB 外接式硬碟), 那麼拔除前最好能 "安全地移除硬體", 因為固定式和卸除式磁碟機的差異之一就是寫入快取, Windows XP 預設為固定式磁碟機啟用寫入快取, 如果未經正常卸除, 則可能會造成資料遺失

Tips for USB pen drives
Troubleshooting for USB pen drives under Windows XP

卸除式與 USB 儲存裝置
Enabling and Disabling AutoRun
Using and Configuring AutoPlay
Preparing Hardware and Software for Use with AutoPlay
NoDriveTypeAutoRun
NoDriveAutoRun
CDROM Autorun
CDROM AutoRunAlwaysDisable


此篇文章於 2008-05-06 03:04 AM 被 FYI 編輯。. 原因: 修正不存在的連結
回覆


類似的主題
主題 主題作者 討論版 回覆 最後發表
【轉貼】如何避免 Windows Messenger 自動執行 FYI -- 網 路 軟 體 討 論 二 版 (網路其他軟體) 0 2006-10-09 08:28 AM
【求助】xp下無法 autorun jansonch -- 光 碟 燒 錄 討 論 版 0 2002-11-07 01:05 PM
製作自動執行檔(autorun) ccpeng -- 光 碟 燒 錄 討 論 版 1 2002-01-31 12:21 AM
autorun.inf的語法問題 lenbo -- 光 碟 燒 錄 討 論 版 2 2001-12-08 11:40 PM






 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。