Windows关闭自动播放

组策略关闭:

开始-运行”,在“打开”框中,键入“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 Hex

You 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
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值