Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/IT Desktop Management Configuration Guide


8.1 Executing commands

To execute JP1/IT Desktop Management commands, you can use either the dedicated command prompt (JP1ITDM Utility Console) or the Windows command prompt.

JP1ITDM Utility Console is useful when you execute commands on the management server or database server. JP1ITDM Utility Console allows you to skip specification of a storage folder for the command execution file when entering a command. By default, when JP1ITDM Utility Console starts, the storage folder used by the command is set to the current folder. You can also use the Windows command prompt to execute commands.

Execute commands other than the getinv.vbs command as a user who has administrator permissions. In Windows 8, Windows Server 2012, Windows 7, Windows Server 2008, or Windows Vista, if User Account Control (UAC) is enabled, use a right-click to open JP1ITDM Utility Console or the Windows command prompt, and then select Run as administrator. Execute the getinv.vbs command as a user who has full control permissions over the folder in which the getinv.vbs command is stored.

To execute commands on the site server or an agent, use the Windows command prompt.

To execute commands on the management server or database server:

  1. From the Windows Start menu, select All programs, JP1_IT Desktop Management - Manager, and then Command.

  2. In the window that appears, enter the command that you want to execute.

The command is executed.

To execute commands on the site server or an agent:

  1. Open the Windows command prompt.

  2. In the window that appears, enter the command that you want to execute.

The command is executed.

Tip

JP1/IT Desktop Management commands can be run as a scheduled task by registering them as a Windows task.

When backing up, restoring, and reorganizing the database with commands, services on the management server and database server must be stopped. Make sure to check which day of the week or time of the day JP1/IT Desktop Management is not running when you register these commands as a Windows scheduled task.

Note

Do not perform the operations listed below on a management server, site server, or database server on which a command is executing. If you perform one of these operations while a command is executing, the command is forcibly terminated. Depending on the timing, the database and important data might be corrupted, the agent control service might be suspended, and the command might output incorrect return values.

If you perform one of these operations while a command is executing, check the messages in the log file. If a message indicating that the command finished successfully does not appear, re-execute the command as necessary. If a message indicating that the agent control service was suspended appears, restart the agent control service.

Note that the above notes do not apply to the following commands: