Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

U 碟被系統停用無法弹出?DevCon 批次檔一鍵重置啟用

編輯:Win8 系統應用技巧

U 碟顯示「已停用」無法安全移除,利用微軟命令列工具 DevCon 撰寫批次檔自動化重置:

  1. 下載 DevCon (Windows Driver Kit 附屬) → 解壓取 devcon.exe (32 位用 i386,64 位用 ia64);
  2. 新建文字檔貼入以下碼,存為 reset_usb.bat 與 devcon.exe 同目錄:
@echo off
devcon disable @"USB\ROOT_HUB20\4&1A2797B1&2"
devcon enable @"USB\ROOT_HUB20\4&1A2797B1&2"
  1. 裝置管理員 →「通用序列匯流排控制器」→ USB Root Hub 右鍵「內容」→「詳細資料」→「裝置執行個體識別碼」複製替換上述引號內字串(保留 @ 與雙引號);
  2. 雙擊批次檔即可完成「停用→啟用」重置,U 碟恢復正常,以後拔除前點一下即可。

支援萬用字元 *,如 devcon disable @"USB*" 會禁用所有 USB 裝置(含鍵盤滑鼠),謹慎使用。

Copyright © Windows教程網 All Rights Reserved