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

USB 隨身碟 Autorun.inf 病毒防範三招:群組原則、登錄檔、疫苗工具

編輯:系統常見問題解答

隨身碟插入即中毒多半利用 Autorun.inf 自動執行機制。三種防範等級:

招一:群組原則全域關閉 AutoRun(適合新手)

  1. Win+R → gpedit.msc。
  2. 電腦設定 → 系統管理範本 → 系統 → 「關閉自動播放」→ 「已啟用」→ 「所有磁碟機」→ 確定。

招二:登錄檔精準關閉 AutoRun(進階)

Win+R → regedit → 定位 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer → NoDriveTypeAutoRun 值預設 95 (0x95) → 修改為 FF (0xFF) 禁用所有裝置類型(含隨身碟、光碟、網路磁碟、RAM 磁碟等)。

位元對照:Bit 0=未知裝置、Bit 2=可移動裝置、Bit 4=網路磁碟、Bit 5=光碟機、Bit 7=保留。0xFF 即全部禁用。

招三:USB 疫苗工具(被動防護)

使用 Panda USB Vaccine、Bitdefender USB Immunizer 等工具在隨身碟根目錄建立唯讀 Autorun.inf 資料夾,佔據自動執行入口,病毒無法寫入惡意 Autorun.inf。

建議策略:電腦端啟用群組原則/登錄檔雙重防護 + 隨身碟打疫苗 + 習慣「右鍵 → 開啟」而非雙擊開啟隨身碟,三層防護將感染風險降至最低。
Copyright © Windows教程網 All Rights Reserved