AnatoliyTkachev

Untitled

Jun 22nd, 2014
2,213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 0 0
  1. Windows Registry Editor Version 5.00
  2.  
  3. ; Считаем, что путь к CIS: C:\\Program Files\\Comodo\\COMODO Internet Security
  4. ; Путь к sfx-архиву: c:\\ContextMenu\\RunCmdAsInst.exe
  5. ; Заменить везде, если отличаются;
  6. ; слэши ставить двойные: \\
  7.  
  8. ; Внимание! Рекомендуется предварительно сохранить удаляемые ключи:
  9. ; нажать Win+R, набрать regedit, запустить;
  10. ; выбрать «HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Comodo Antivirus»;
  11. ; вызвать контекстное меню, нажать «Экспортировать» и сохранить в файл;
  12. ; аналогично сохранить в файлы другие ветви:
  13. ; HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Comodo Antivirus
  14. ; HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\Comodo Antivirus
  15. ; HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\Comodo Antivirus
  16. ; HKEY_LOCAL_MACHINE\SOFTWARE\Classes\file\ShellEx\ContextMenuHandlers\Comodo Antivirus
  17.  
  18. ; удаляем 'родное' контекстное меню CIS:
  19.  
  20. [-HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Comodo Antivirus]
  21.  
  22. [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Comodo Antivirus]
  23.  
  24. [-HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\Comodo Antivirus]
  25.  
  26. [-HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\Comodo Antivirus]
  27.  
  28. [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\file\ShellEx\ContextMenuHandlers\Comodo Antivirus]
  29.  
  30. ; добавляем пункт сканирования:
  31.  
  32. [HKEY_CLASSES_ROOT\*\shell\ComodoAntivirus]
  33. "MUIVerb"="Сканировать антивирусом Comodo"
  34. "Icon"="C:\\Program Files\\Comodo\\COMODO Internet Security\\cavshell.dll,0"
  35.  
  36. [HKEY_CLASSES_ROOT\*\shell\ComodoAntivirus\command]
  37. @="C:\\Program Files\\COMODO\\COMODO Internet Security\\cavscan.exe \"%1\""
  38.  
  39. [HKEY_CLASSES_ROOT\Directory\Shell\ComodoAntivirus]
  40. "MUIVerb"="Сканировать антивирусом Comodo"
  41. "Icon"="C:\\Program Files\\Comodo\\COMODO Internet Security\\cavshell.dll,0"
  42.  
  43. [HKEY_CLASSES_ROOT\Directory\Shell\ComodoAntivirus\command]
  44. @="C:\\Program Files\\COMODO\\COMODO Internet Security\\cavscan.exe \"%1\""
  45.  
  46. [HKEY_CLASSES_ROOT\Drive\Shell\ComodoAntivirus]
  47. "MUIVerb"="Сканировать антивирусом Comodo"
  48. "Icon"="C:\\Program Files\\Comodo\\COMODO Internet Security\\cavshell.dll,0"
  49.  
  50. [HKEY_CLASSES_ROOT\Drive\Shell\ComodoAntivirus\command]
  51. @="C:\\Program Files\\COMODO\\COMODO Internet Security\\cavscan.exe \"%1\""
  52.  
  53. ; добавляем пункт виртуализации:
  54.  
  55. [HKEY_CLASSES_ROOT\*\shell\ComodoSandbox]
  56. "MUIVerb"="Открыть в песочнице Comodo"
  57. "Icon"="C:\\Program Files\\Comodo\\COMODO Internet Security\\cavshell.dll,1"
  58.  
  59. [HKEY_CLASSES_ROOT\*\shell\ComodoSandbox\command]
  60. @="C:\\Program Files\\COMODO\\COMODO Internet Security\\virtkiosk.exe -v \"%1\" %*"
  61.  
  62. [HKEY_CLASSES_ROOT\Directory\Shell\ComodoSandbox]
  63. "MUIVerb"="Открыть в песочнице Comodo"
  64. "Icon"="C:\\Program Files\\Comodo\\COMODO Internet Security\\cavshell.dll,1"
  65.  
  66. [HKEY_CLASSES_ROOT\Directory\Shell\ComodoSandbox\command]
  67. @="C:\\Program Files\\COMODO\\COMODO Internet Security\\virtkiosk.exe -v \"%1\" %*"
  68.  
  69. [HKEY_CLASSES_ROOT\Directory\Background\Shell\ComodoSandbox]
  70. "MUIVerb"="Открыть в песочнице Comodo"
  71. "Icon"="C:\\Program Files\\Comodo\\COMODO Internet Security\\cavshell.dll,1"
  72.  
  73. [HKEY_CLASSES_ROOT\Directory\Background\Shell\ComodoSandbox\command]
  74. @="C:\\Program Files\\COMODO\\COMODO Internet Security\\virtkiosk.exe -v \"%V\""
  75.  
  76. ; добавляем пункт запуска с правами 'доверенного инсталлятора'
  77.  
  78. [HKEY_CLASSES_ROOT\exefile\shell\RunAsInstaller]
  79. "MUIVerb"="Запустить как установщик"
  80. "Icon"="C:\\Program Files\\Comodo\\COMODO Internet Security\\virtkiosk.exe,7"
  81. "Extended"=""
  82.  
  83. [HKEY_CLASSES_ROOT\exefile\shell\RunAsInstaller\command]
  84. @="c:\\ContextMenu\\RunCmdAsInst.exe -sp\"/c \"\"%1\"\"\""
  85.  
  86. ; добавляем пункт занесения в 'доверенные'
  87.  
  88. [HKEY_CLASSES_ROOT\exefile\shell\AddToTrusted]
  89. "MUIVerb"="Добавить в «доверенные»"
  90. "Icon"="C:\\Program Files\\Comodo\\COMODO Internet Security\\virtkiosk.exe,7"
  91. "Extended"=""
  92.  
  93. [HKEY_CLASSES_ROOT\exefile\shell\AddToTrusted\command]
  94. @="c:\\ContextMenu\\RunCmdAsInst.exe -sp\"/c (cd /d c:\\ContextMenu) && (attrib -r -s -h temp /s /d) && (rd temp /s /q) && (md temp) && (xcopy \"\"%1\"\" temp /h /y /s)\""
  95.  
  96. [HKEY_CLASSES_ROOT\Directory\Shell\AddToTrusted]
  97. "MUIVerb"="Добавить в «доверенные»"
  98. "Icon"="C:\\Program Files\\Comodo\\COMODO Internet Security\\virtkiosk.exe,7"
  99. "Extended"=""
  100.  
  101. [HKEY_CLASSES_ROOT\Directory\Shell\AddToTrusted\command]
  102. @="c:\\ContextMenu\\RunCmdAsInst.exe -sp\"/c (cd /d c:\\ContextMenu) && (attrib -r -s -h temp /s /d) && (rd temp /s /q) && (md temp) && (xcopy \"\"%1\"\" temp /h /y /s)\""
Advertisement
Add Comment
Please, Sign In to add comment