BTNInventory Quick Start



Quick Start:

Assuming your PCs have all the requirements such as WMI and IP Addresses.

 

1. Install the database program on a computer that has Microsoft Access 2000.

2. Edit the BTNIP.INI file with the IP address of the PC with the database, the port number to use and the sending delay. Usually you only have to change the IP address. (See Setting the IP Info section)

3. Start the BTNDBW program. If the IP address of the database server and the IP address in the BTNIP.INI file don’t match, you will get the configuration screen to enter the BTNIP.INI data.

 

4. Install the client on a computer. It can be the same one that has the database, but another one would be better for test purposes.

5. Copy the modified BTNIP.INI file from the server to the BTNINV directory on the client, or edit the file on the client to match the one on the server.

6. Edit the BTNXFILE.TXT for the files you want to search for on the hard disk. (See Search for Extra Files section.). There is a menu option in the database program for editing the BTNXFILE.TXT file.

7. Start the BTNINVW program.

Your database should be populated with the data from the client.

 

Setting the IP info:

Edit the BTNIP.INI file (located in the BTN program install directory) to have the same IP address of the system, which is running the database program. Make sure that the port number the client is using matches the port number for the BTNIP.INI the database program is using.

 

BTNIP.INI - both the client and server programs use this file. The format is the same, so you can use the same file for both programs. You can use the Database server program to edit one file, then copy it to the clients when you install the client program.

 

IP address: The first line contains the IP address of the system running the database server program. The database server program ignores this line.

 

IP port: The second line is the port number that Winsock will use to communicate. This needs to be the same on both the client and the server.

 

Delay: The third line is the delay for sending the data. If data is being dropped, then you can increase this number (the delay) to slow down the send rate. You will notice a difference in the send tick count displayed on the client.

 

International users may need to enter the delay amount starting with a comma instead of a period.

 

 

 

Search for Extra Files:

You can search for specific files by adding them to the BTNXFILE.TXT file. The BTNXFILE.TXT file is located in the client install directory.

 

This is the format:

 

c:\program files\internet explorer\iexplore.exe

c:\*.doc;*.xls;*.ppt

c:\ntdetect.com;

c:\ntdetect.com

 

By including the “;” (semi colon) in lines 2 and 3, the program will search the entire hard disk for the files.

 

With line 2 you can search for multiple files by separating them on the same line with a “;” (semi colon). You will get a combined count of how many times the files on that line were found (not how many of each file). This is useful for finding files users shouldn’t have, like mp3’s and mpeg’s.

 

To improve the search speed you could combine lines 2 and 3. However, you will get a combined total of all the files on that line.

c:\*.doc;*.xls;*.ppt;ntdetect.com

 

If you want a total for each file type, they need to be listed on separate lines. This search will be slower, since it searches the entire hard disk once for each line.

c:\*.doc;

c:\*.xls;

c:\*.ppt;

c:\ntdetect.com;

 

Lines 1 and 4 will only search the specified directory. If the file is found the database will show the version, size and date of the file.

 

If there are zero or more than one file that matches the criteria, you will have a count of how many files were found in the database. If there is only one then you will have the version, size and date of the file.