@(#) Troubleshoot tools for SVP install/update
################ Troubleshoot tools for SVP install/update ####################
#                                                                             #
#                Troubleshoot tools for SVP install/update                    #
#                                                                             #
#                  Ver. 01-00-00/00                                           #
#                                                                             #
#  Copyright (C) 2017, Hitachi,Ltd. All rights reserved                       #
###############################################################################


1. Introduction
   This document explains the following programs. 

   DllsCheck.bat
   PortsCheck.bat

 DllsCheck.bat enables you to search all services/processes in PC in which 
DLL of SVP software is loaded and forcibly terminate them.
 PortsCheck.bat enables you to see the port number that is used by the 
installed SVP software, search services/processes that use the port number, and 
forcibly terminate them.  


2. Prerequisite operating system and Applying Processor
  - Windows (64Bit/32Bit)


3. Installation

 < Installation >
 To install this program, follow the following procedure. 
 
- Select the following directory from the media and copy it to a directory in PC. 
 X:\tool\install_trbl\  ('X:' is CD or DVD drive letter)

 (*) The target directory needs to be writable. 

 < Removal >
If you install a new version of the program, you do not have to delete the existing 
program. To delete the program, follow the following procedure. 

 - Delete the directory that was copied at the time of installation. 


4. Usage

<DllsCheck.bat>
(1) Open a command prompt with administrator permissions.

(2) Move to the directory in which the tool is installed by running the cd command. 

(3) Run the following command. 
> DllsCheck.bat

(4) Immediately after the command is started, the processing of detecting the 
directory in which the SVP software is installed in SVP is performed. 
When the processing is performed normally, go to (5). 
If it fails, you are prompted to enter the directory in which the SVP software is installed.  
If you know the directory, enter it. 
If the SVP software is not installed, or if you do not know the directory, enter the 
directory name or the file name of DLL you want to investigate. 

(5) Select whether to forcibly terminate the target process/service or to display it only. 
 If you enter Y, the target process/service is displayed and forcibly terminated. 
 If you enter N, the target process/service is only displayed. 

(Caution!)  The purpose of this tool is to forcibly terminate other applications that 
interfere SVP installation/update. 
If you run it carelessly, applications that are already running could have a problem.
Do not select to forcibly terminate process carelessly. 

 Parameters
> DllsCheck.bat  <Wait time> : At the time of forced termination, stopping the service 
                                is requested. Specify the wait time until the process is forcibly 
                                terminated in seconds. 


<PortsCheck.bat>
(1) Open a command prompt with administrator permissions. 

(2) Move to the directory in which the tool is installed by running the cd command. 

(3) Run the following command. 
> PortsCheck.bat

(4) Immediately after the command is started, the processing of detecting the directory 
in which the SVP software is installed in SVP is performed. 
When the processing is performed normally, go to (5). 
If it fails, you are prompted to enter the directory in which the SVP software is installed. 
If you know the directory, enter it. 
If the SVP software is not installed, or if you do not know the directory, enter .(current directory). 

(5) Select whether to forcibly terminate the target process/service or to display it. 
If you enter Y, the target process/service is displayed and forcibly terminated. 
If you enter N, the target process/service is only displayed. 

(Caution!)  The purpose of this tool is to forcibly terminate other applications that 
interfere SVP installation/update. 
If you run it carelessly, applications that are already running could have a problem.


These tools create the log directory under the installation directory and store logs. 
A log file is given the name of the started tool and date and time of execution and 
is automatically created by the tool. 
In the log file, the contents that are displayed in the window and the status of 
the port/process immediately after the tool ran are output. 


 Parameters
> PortsCheck.bat  <Wait time> : At the time of forced termination, stopping the service 
                                is requested. Specify the wait time until the process is forcibly 
                                terminated in seconds. 
