博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Windows关闭自动播放
阅读量:4052 次
发布时间:2019-05-25

本文共 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 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

转载地址:http://srici.baihongyu.com/

你可能感兴趣的文章
IP报文格式学习笔记
查看>>
autohotkey快捷键显示隐藏文件和文件扩展名
查看>>
Linux中的进程
查看>>
学习python(1)——环境与常识
查看>>
学习设计模式(3)——单例模式和类的成员函数中的静态变量的作用域
查看>>
自然计算时间复杂度杂谈
查看>>
当前主要目标和工作
查看>>
使用 Springboot 对 Kettle 进行调度开发
查看>>
一文看清HBase的使用场景
查看>>
解析zookeeper的工作流程
查看>>
搞定Java面试中的数据结构问题
查看>>
慢慢欣赏linux make uImage流程
查看>>
linux内核学习(7)脱胎换骨解压缩的内核
查看>>
以太网基础知识
查看>>
慢慢欣赏linux 内核模块引用
查看>>
kprobe学习
查看>>
慢慢欣赏linux phy驱动初始化2
查看>>
慢慢欣赏linux CPU占用率学习
查看>>
2020年终总结
查看>>
Homebrew指令集
查看>>