本文共 1550 字,大约阅读时间需要 5 分钟。
组策略关闭:
开始-运行”,在“打开”框中,键入“gpedit.msc”,打开“组策略”窗口
本地计算机策略-->计算机配置-->管理模板-->系统-->右窗格的“设置”标题下-->双击“关闭自动播放”-->单击“设置”选项卡-->选中“已启用”复选钮-->在“关闭自动播放”框中单击“所有驱动器”-->“确定”按钮,最后关闭组策略窗口。
注册表关闭:
开始-运行”,在“打开”框中,键入“regedit”,
打开HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer,在侧找到NoDriveTypeAutoRun
值为95,为关闭自动播放移动硬盘
相关技术信息
Additional Technical Info The first byte defines which drive types to EXCLUDE from Autorun behavior. The hex value of the byte is the sum of all of the drive type values to exclude + 128. DRIVE_UNKNOWN 1 DRIVE_NO_ROOT_DIR 2 DRIVE_REMOVABLE 4 (floppy disks and removable cartridges) DRIVE_FIXED 8 (hard disks) DRIVE_REMOTE 16 (network drives) DRIVE_CDROM 32 (CD-ROMs) DRIVE_RAMDISK 64 The default configuration excludes UNKNOWN (1), REMOVABLE (4) and REMOTE (16) which would be 16 + 4 + 1 + 128 = 149, which is hex 95. If you take out REMOVABLE you get 16 + 1 + 128 = 145, which is hex 91. The calculation for this value is 1 + 4 + 16 + 128 = 149. 149 Decimal is 95 Hex The new calculation is 1 + 16 + 128 = 145. 149 Decimal is 91 HexYou may have to restart for the system to recognize a floppy or Zip as an Autoplay drive. If your floppy drive does not show a custom icon or AutoPlay in the menu when right-clicked, double-click on the icon for your computer on the desktop and press F5 to refresh the information in the Explorer window. Zips and floppies will not autolaunch when media is inserted. You must double-click their icon or right-click and choose AutoPlay from the menu.
参考:http://autorun.moonvalley.com/enable.htm转载地址:http://srici.baihongyu.com/