Microsoft Windows エクスプローラーのコンテキストメニューから、1 つまたは複数のファイルのオンデマンドスキャンタスクの開始を有効にできます。
コンテキストメニューからオンデマンドスキャンタスクの開始を有効にするには:
Windows Registry Editor Version 5.0.0
[HKEY_CLASSES_ROOT\Directory\shell\kess\command]
@="C:\\Temp\\scan.cmd \"%1\""
[HKEY_CLASSES_ROOT\*\shell\kess\command]
@="C:\\Temp\\scan.cmd \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\kess]
@="Scan with Kaspersky Embedded Systems Security for Windows\"
"Icon"="\"C:\\Program Files (x86)\\Kaspersky Lab\\Kaspersky Embedded Systems Security\\kavtrayr.dll\",0"
[HKEY_CLASSES_ROOT\Directory\shell\kess\DefaultIcon]
@="\"C:\\Program Files (x86)\\Kaspersky Lab\\Kaspersky Embedded Systems Security\\kavtrayr.dll\",0"
[HKEY_CLASSES_ROOT\*\shell\kess]
@="Scan with Kaspersky Embedded Systems Security for Windows\"
"Icon"="\"C:\\Program Files (x86)\\Kaspersky Lab\\Kaspersky Embedded Systems Security\\kavtrayr.dll\",0"
[HKEY_CLASSES_ROOT\*\shell\kess\DefaultIcon]@="\"C:\\Program Files (x86)\\Kaspersky Lab\\Kaspersky Embedded Systems Security\\kavtrayr.dll\",0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Program Files (x86)\\Kaspersky Lab\\Kaspersky Embedded Systems Security\\kavshell.exe"="~ RUNASADMIN"
Kaspersky Embedded Systems Security for Windows インストールフォルダーの実際の場所を指定する必要があります。
scan.cmd を次の内容で作成します:@echo offset LOGNAME=%RANDOM%
"C:\Program Files (x86)\Kaspersky Lab\Kaspersky Embedded Systems Security\kavshell.exe" scan "%~1" /W:c:\temp\%LOGNAME%.txt
echo Scanning is in progress...type c:\temp\%LOGNAME%.txtdel c:\temp\%LOGNAME%.txt
timeout /t -1
ファイル scan.cmd には、次の情報を含める必要があります:
kavshell.exe の場所。KAVSHELL SCAN コマンドのパラメータ。scan.cmd を、REG ファイル [HKEY_CLASSES_ROOT\Directory\shell\kess\command] で指定されたフォルダーにコピーします。例では、フォルダー C:\Temp を使用しています。
オペレーティングシステムを再起動する必要はありません。
ページのトップに戻る