admin管理员组文章数量:1516870
组策略关闭:
开始-运行”,在“打开”框中,键入“gpedit.msc”,打开“组策略”窗口
本地计算机策略-->计算机配置-->管理模板-->系统-->右窗格的“设置”标题下-->双击“关闭自动播放”-->单击“设置”选项卡-->选中“已启用”复选钮-->在“关闭自动播放”框中单击“所有驱动器”-->“确定”按钮,最后关闭组策略窗口。
注册表关闭:
开始-运行”,在“打开”框中,键入“regedit”,
打开HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer,在侧找到NoDriveTypeAutoRun
值为95,为关闭自动播放移动硬盘
相关技术信息
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.
版权声明:本文标题:Server 2012里的秘密武器:如何关闭自动播放功能 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.betaflare.com/biancheng/1772664551a3276321.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论