17.34 getinv.vbs (collecting information about offline computers)
Functionality
This command collects device information about offline computers following the settings defined in the Information Collection Tool. The following operations are performed before collecting the information:
-
The End User Form view is displayed.
-
A software search is performed according to the software search conditions.
-
Information about the latest antivirus security products is collected.
The following are the pre-requisitions for this command:
-
The services on the agent are already started.
-
The agent version is 10-01 or later.
-
The process of collecting device information is not already running.
-
The End User Form view is closed.
-
The command is stored in a folder on a local drive.
-
The length of the full path name to the folder where the command is stored is 128 characters or less.
This command must be executed directly on an offline computer, using external storage media.
Format
getinv.vbs[ /u][ /s][ /silent]
Argument
- /u
-
Prevents displaying the End User Form view from the end-user's computers. When /silent is specified, the End User Form view is not displayed on the end-user's computer regardless of whether /u is specified.
- /s
-
Does not collect the installed software details set in the Software Search Conditions view in the Settings module.
- /silent
-
Prevents displaying the view from an end-user's computer.
Set this argument when performing background execution using task scheduler.
Storage location
Same storage location as the Information Collection Tool (where the tool is extracted to).
Notes
-
You first need to re-create the Information Collection Tool before collecting device information in the following cases:
-
When you changed which antivirus software performs authorization by the security policy.
-
When you change custom field settings
-
-
To collect 64-bit OS machine (device) data by executing the Information Collection Tool, do not place the Information Collection Tool in the path (example: C:\Windows\system32) where the file system redirector is run by OS.
Return value
The following table shows the return values of the getinv.vbs command.
Return value |
Description |
---|---|
0 |
The command finished normally. |
10001 |
The information collecting process has been canceled on the end-user's computer. |
10011 |
The format for specifying the command arguments is invalid. |
10031 |
An information collecting process using the Information Collection Tool is already being executed. |
10032 |
A temporary error occurred. |
10033 |
An information collecting process is in progress in the background. |
10034 |
The End User Form view is displayed. |
10051 |
The process was aborted due to the path to the storage folder being too long. |
10052 |
The Information Collection Tool is not installed on the local disk. |
10101 |
Failed to collect information. |
10102 |
You do not have read/write permissions to the folder in which this command is stored. |
10103 |
An agent is not installed on the computer. |
10104 |
The version of the agent installed on the computer does not support offline management. |
10105 |
The Information Collection Tool might be corrupted. |
10106 |
The agent environment is corrupted. |
Example
The following example shows use of this command to collect information without displaying the End User Form view on the end-user's computer.
getinv.vbs /u