Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Windows 7 禁止 USB 裝置自動安裝驅動程式:修改 inf 資料夾權限

編輯:關於 Windows

插入 USB 裝置時系統自動安裝驅動,若想從源頭阻擋(如防止未授權裝置),可利用 Windows 7 權限控制,拒絕 SYSTEM 對關鍵 INF 檔案的存取。

操作步驟

  1. 進入 C:\Windows\inf(C 為系統盤),找到 usbport.PNF 與 usbstor.PNF。
  2. 右鍵 usbport.PNF → 「內容」→ 「安全性」→ 「編輯」→ 選取「SYSTEM」→ 勾選「完全控制」下的「拒絕」→ 確定。
    對 usbstor.PNF 重複相同操作。

建議變通做法

此法會導致所有使用者(含管理員)無法自動安裝 USB 驅動。建議:
• 為常用帳戶單獨授予「完全控制」允許。
• 僅對「Users」群組或「Everyone」設定拒絕。
達到「管理員可用、一般使用者受限」的彈性管控。

Copyright © Windows教程網 All Rights Reserved