Functionality
This command is used to delete the management ledger.
Record format
DTPA_DBAssetDel.exe | [/a] [/d] [/n] [/h] [/e] |
Note
Option cannot be omitted. It is required to set at least one option.
Option
Delete the management ledger uniformly. The information as object is as follows.
In addition, when specifying this option, the following information that is not related to other options will be deleted.
Device information
Contract information
Non-registered detection device information
Initialization of auto-collected information
History information
Classification/type that is not used
Results of security auditing
Consume power information
Delete the device information.
Initialize the auto-collected information.
Delete history information.
Delete classes and types not used uniformly.
Return value
0: ended normally
Other than 0: ended abnormally
Command saving location
The following folder in CS:
DTP Installation Directory \DTPA |
Authority required for execution/executing environment
Execute by using user with Administrator authority.
This command must be executed on CS.
Cautions
When using "/n" and initializing the auto-collected information, the auto-collected number will be reset as "1". If the new device is registered automatically after initialization, the auto-collected asset number and registered number may be duplicated. Therefore, when specifying this option, modify the beginning characters of auto-collected asset number in advance.
The beginning characters can be modified through CS by selecting Start > Systemwalker Desktop Patrol > Environment Setup > Management Ledger Settings, or Apps > Systemwalker Desktop Patrol > Management Ledger Settings.
It is recommended to backup asset information in advance before executing this command.
When executing this command in Windows Server(R) 2008, Windows Server(R) 2012 or Windows Server(R) 2016, select Operate as Administrator in the right click menu, and execute this command in the started command prompt.
Classes and types not used (assigned) in the device information will be deleted, even if they are planned for future use. However, the following classes and types that are registered by default will not be deleted even if not in use.
[Classes and types that are registered by default]
Class | Type |
---|---|
PC | Server |
PC | Client |
PC | Other |
It is recommended to execute this command when not in use by other users.
If this command is used to perform batch deletion while a window such as the main menu is open, inconsistencies may occur for the data displayed in that window.
Command execution example
When deleting the asset information uniformly
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\DTPA\ DTPA_DBAssetDel.exe" /a |
When deleting the auto-collected information
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\DTPA\ DTPA_DBAssetDel.exe" /n |
When deleting the device information and history information
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\DTPA\ DTPA_DBAssetDel.exe" /d /h |
When deleting classes and types not used by the device information
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\DTPA\DTPA_DBAssetDel.exe" /e |
Execution result/output format
When the asset information has been deleted uniformly
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\DTPA\DTPA_DBAssetDel.exe" /a The Total of Managed Ledger has been Deleted. |
When the auto-collected information has been deleted
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\DTPA\DTPA_DBAssetDel.exe" /n Auto-collected value in asset number: initial value is 100. |
* The auto-collected value will output the collected value before initialization.
When the device information and history information have been deleted
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\DTPA\DTPA_DBAssetDel.exe" /d /h The information specified in variable has been deleted. |
* The execution result information of each command can be output as Message Box.