(筆記) 如何停用Windows XP的USB autorun? (OS) (Windows)

Abstract
USB autorun原來為Windows相當貼心的功能,但隨著USB外接硬碟與隨身碟越來越大,又可借由autorun傳播病毒,所以希望能停用此功能。

Introduction
修改registry:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\的NoDriveTypeAutoRun,預設值為0x91 (145),改成0xFF就是關閉所有USB autorun。

0x1 (1) Disables Autoplay on drives of unknown type.
0x4 (4) Disables Autoplay on removable drives.
0x8 (8) Disables Autoplay on fixed drives.
0x10 (16) Disables Autoplay on network drives.
0x20 (32) Disables Autoplay on CD-ROM drives.
0x40 (64) Disables Autoplay on RAM disks.
0x80 (128) Disables Autoplay on drives of unknown type.
0xDF (223) Turns on autoplay for CD and DVD only.
0xFB (251) Turns on autoplay for flash drives and removable disks
0xFF (255) Disables Autoplay on all types of drives.

Reference
我的blog從這裡開始停用XP上的USB autorun

posted on 2009-01-16 10:23  真 OO无双  阅读(1413)  评论(0编辑  收藏  举报

导航