Troubleshooting
Problem
Software scan fails with exit code 1
Symptom
No scan data gathered for software scans
Cause
It can be two reasons:
1. Windows 'cscript' is not recognized as an internal or external command, operable program or batch file.
2. Windows 'VBScript.dll" is not registered
Environment
Windows
Diagnosing The Problem
- Check BESClient logs for the following statement:
Command succeeded (Exit Code=1) waithidden cmd /c cscript //Nologo ...
- Please go to endpoint, open a command prompt and type: cscript
Expected error 1:
'cscript' is not recognized as an internal or external command, operable program or batch file.
Expected error 2:
CScript Error: Can't find script engine "VBScript" for script ...
Resolving The Problem
Error 1:
Likely the Environment PATH does not have the location of the cscript executable at
- Going to the control panel.
- Clicking on system
- Clicking on the advanced tab
- Click on the environment button at the bottom of the page.
- Append
";C:\windows\system32" (no quotes)
The bigfix client will have to be restarted for the corrected variable to be read in.
Error 2:
- Click on start button, type cmd. In the search result right-click on cmd and select Run as administrator.
- Type cd %windir%\system 32 (Note: there is a space between system and 32) and press enter.
- Type regsvr32 vbscript.dll in command prompt and press enter.
- Type regsvr32 jscript.dll in command prompt and press enter.
If the registration was successful, you should now see the following message:
DllRegisterServer in vbscript.dll succeeded.
Document Location
Worldwide
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JFY","label":"IBM License Metric Tool"},"Component":"scanner","Platform":[{"code":"PF033","label":"Windows"}],"Version":"LMT9.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
More support for:
IBM License Metric Tool
Software version:
LMT9.2
Operating system(s):
Windows
Document number:
1071610
Modified date:
29 January 2020
UID
ibm11071610
Manage My Notification Subscriptions