查看: 1873|回复: 0
收起左侧

[分享] 为Emergency Kit Scanner(EEK)添加右键扫描的方法

[复制链接]
paul_guo
发表于 2021-7-27 11:32:25 | 显示全部楼层 |阅读模式
本帖最后由 paul_guo 于 2021-7-29 11:48 编辑

这个原来的代码来自于EMSI官方论坛工作人员GT500-https://support.emsisoft.com/top ... to-scan-usb-drives/,方法来自于2010年的一个老分享,我算是稍微改了改参数,正好看到去年有人问到这个(工作电脑卡顿卡顿,气得够呛准备裸奔了)
添加reg文件,源代码
  1. Windows Registry Editor Version 5.00

  2. [HKEY_CLASSES_ROOT\Directory\shell\a2cmd]
  3. @="Emsisoft Commandline Scanner"

  4. [HKEY_CLASSES_ROOT\Directory\shell\a2cmd\command]
  5. @="PowerShell.exe -Command Start-Process -FilePath "C:\\Windows\\System32\\cmd.exe" -ArgumentList @('/K','\\"\\"C:\\Portable\\EEK\\bin64\\a2cmd.exe\\" /h /q="C:\\Portable\\EEK\\Quarantine" /r /n /a /pup /f=\\"%1\\"\\"') -Verb RunAs"

  6. [HKEY_CLASSES_ROOT\Drive\shell\a2cmd]
  7. @="Emsisoft Commandline Scanner"

  8. [HKEY_CLASSES_ROOT\Drive\shell\a2cmd\command]
  9. @="PowerShell.exe -Command Start-Process -FilePath "C:\\Windows\\System32\\cmd.exe" -ArgumentList @('/K','\\"\\"C:\\Portable\\EEK\\bin64\\a2cmd.exe\\" /h /q="C:\\Portable\\EEK\\Quarantine" /r /n /a /pup /f=\\"%1\\"\\"') -Verb RunAs"

  10. [HKEY_CLASSES_ROOT\*\shell\a2cmd]
  11. @="Emsisoft Commandline Scanner"

  12. [HKEY_CLASSES_ROOT\*\shell\a2cmd\command]
  13. @="PowerShell.exe -Command Start-Process -FilePath "C:\\Windows\\System32\\cmd.exe" -ArgumentList @('/K','\\"\\"C:\\Portable\\EEK\\bin64\\a2cmd.exe\\" /h /q="C:\\Portable\\EEK\\Quarantine" /r /n /a /pup /f=\\"%1\\"\\"') -Verb RunAs"
复制代码
此处隔离的C:\\Portable\\EEK和a2cmd的32/64,具体位置可以随自己的设定改动,删除也很简单,变为”[-HKEY_CLASSES_ROOT“即可

评分

参与人数 1人气 +1 收起 理由
KevinYu0504 + 1 版区有你更精彩: )

查看全部评分

您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2024-3-29 09:12 , Processed in 0.139298 second(s), 17 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表