Scans Do Not Complete with the GUI vs the CLI (or vice versa)
Product Name
CIS-CAT Pro Assessor v4
Product Version
All
Date/
Mar 3, 2021
Problem
CIS-CAT Pro Assessor will successfully complete a scan with the GUI but not the CLI (or vice versa)
Solution
This may be due to different memory allocation between the GUI and the CLI executables.
To solve the issue, make the Assessor-GUI.bat
and Assessor-CLI.bat
memory allocation equal.
For the Assessor-GUI.bat
Navigate to the
Assessor-v4.x.x\Assessor-CLI\misc\Windows
folderOpen the
Assessor-GUI.bat
file in an editorNear the bottom, find this line:
%JAVA% -Xmx2048M -jar "....%~dp0\Assessor-CLI.jar" %_tail% --verbose
Raise the memory allocation by raising the -XMX number to a higher number(Make sure it is a valid increment) ex:
%JAVA% -Xmx4096M -jar "....%~dp0\Assessor-CLI.jar" %_tail% --verbose
For the Assessor-CLI.bat
Navigate to the Assessor-CLI folder
Open the
Assessor-CLI.bat
file in an editorNear the bottom, find this line:
%JAVA% -Xmx2048M -jar "....%~dp0\Assessor-CLI.jar" %_tail% --verbose
Raise the memory allocation by raising the -XMX number to a higher number(Make sure it is a valid increment) ex:
%JAVA% -Xmx4096M -jar "....%~dp0\Assessor-CLI.jar" %_tail% --verbose
Keywords; Assessment Scan Not Running Working CLI GUI
Content by Label