96
12.3 Command line parameters
ESET SysInspector supports generating reports using from command line using these parameters:
/gen
generate a log directly from the command line without running the GUI
/privacy
generate a log excluding sensitive information
/zip
store the resulting log directly on the disk in a compressed file
/silent
suppress the display of the log generation progress bar
/help
,
/?
display information about the command line parameters
Examples
To load a specific log directly in the browser, use:
SysInspector.exe "c:\clientlog.xml"
To generate a log to a current location, use:
SysInspector.exe /gen
To generate a log to a specific folder, use:
SysInspector.exe /gen="c:\folder\"
To generate a log to a specific file/location, use:
SysInspector.exe /gen="c:\folder\mynewlog.xml"
To generate a log excluding sensitive information directly in a compressed file, use:
SysInspector.exe /gen="c:\mynewlog.
zip" /privacy /zip
To compare two logs, use:
SysInspector.exe "current.xml" "original.xml"
NOTE:
If the name of the file/folder contains a gap, then should be taken into inverted commas.
12.4 Service Script
Service script is a tool that serves to provide help to customers that use ESET SysInspector. It is used to remove
unwanted objects from the system.
Service script enables the user to export the entire SysInspector log, or its selected parts. After the export, you can
mark unwanted objects for deletion. Then you can run the modified log to delete marked objects.
Service Script is suited for advanced users with previous experience in diagnosing system issues. Unqualified
modifications may lead to disabling the operating system.
Example:
If you have a suspicion that your computer is infected by a virus which is not detected by your antivirus program, follow
the step-by-step instructions below:
Run ESET SysInspector to generate a new system snapshot.
Select the first item in the section on the left (in the tree structure), press Ctrl and select the last item to mark all items.
Release Ctrl .
Right click the selected objects and select the
Export Selected Sections To Service Script
context menu option.
The selected objects will be exported to a new log
This is the most crucial step of the entire procedure: open the new log and change the – attribute to + for all objects
you want to remove. Please make sure you do not mark any objects required for the correct operation of the system.
Open ESET SysInspector, click
File
>
Run Service Script
and enter the path to your script
Click
OK
to run the script
12.4.1 Generating Service script
To generate a script, right-click any item from the menu tree (in the left pane) in the SysInspector main window. From
the context menu, select either the
Export All Sections To Service Script
option or the
Export Selected Sections To
Service Script
option.
NOTE:
It is not possible to export the service script when two logs are being compared.