|
autorun病毒也不多解释了,只是通过硬盘或者移动设备的"自动播放"功能交叉感染的病毒,是不是常常见到pagefile.pif,sxs.exe,autorun.inf,等类似的。
直接入主题,关闭硬盘的autorun。- Windows Registry Editor Version 5.00
- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
- "NoDriveTypeAutoRun"=dword:000000ff
- [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
- "NoDriveTypeAutoRun"=dword:000000ff
复制代码 保存为reg文件, 运行。
也可以运行"gpedit.msc",分别到"计算机配置(对应注册表的local_machine)"和"用户配置(对应注册表的current_user)"下的“管理模块"-->“系统"-->"关闭自动播放"。
关闭移动设备等。- Windows Registry Editor Version 5.00
- [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ShellHWDetection]
- "Start"=dword:00000004
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ShellHWDetection]
- "Start"=dword:00000004
复制代码 保存reg文件,运行。
也可以运行"services.msc",停止并禁用"Shell Hardware Detection"服务。
如果盘符的右键菜单应由auto等,可以到
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2]下删除所有子项的子项。
右键打开盘符,删除autorun.inf,重启。
当然del /f /a autorun.inf也可以的。(理想状态)。
写的有点乱。 |
|