2008年10月31日 星期五

移除自動播放功能,減少USB中毒風險

開啟「記事本」,將底下的 4 列資料複製起來並貼到「記事本」內再存檔,檔案的副檔名必須是 reg ,所以完整檔名必須像這個樣子 --> DisableAutoRun.reg

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000ff
"NoWelcomeScreen"=dword:00000001

儲存後,執行DisableAutoRun.reg
按確定後即完成。

還原方法:
開啟「記事本」,將底下的 4 列資料複製起來並貼到「記事本」內再存檔,檔案的副檔名必須是 reg ,所以完整檔名必須像這個樣子 --> EnableAutoRun.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:00000000
"NoWelcomeScreen"=dword:00000000
儲存後,執行EnableAutoRun.reg
按確定後即完成。

沒有留言: