SMS_NT_INVENTORY_FILE_COLLECTOR:
Inventory File Collector

SMS_NT_INVENTORY_FILE_COLLECTOR is a service that collects inventory files from clients. You can run SMS_NT_INVENTORY_FILE_COLLECTOR on SMS logon servers to collect inventory files from clients that are not logged on frequently enough to ensure accurate site database updating. (Normally, inventory files are collected from a client each time a user logs onto the client.) The clients from which to collect are specified in an initialization file, INVCOLCL.TXT.

SMS_NT_INVENTORY_FILE_COLLECTOR must run under a user account (such as the SMS service account) that has rights to administrative shares on all clients from which it is collecting inventory files.

Installing: INSTPOLL.EXE

INSTPOLL.EXE installs SMS_NT_INVENTORY_FILE_COLLECTOR on x86-based computers. For Alpha computers, use the following procedure:

To install the inventory file collector on Alpha computers

On the SMS 1.2 logon server on which you wish the service to run, copy the following files to installation directory\helper.srv\alpha.bin, or to the directory of your choice:

Find and note the installation directory value in the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Setup

Create the following key in the registry:

HKEY_LOCAL_MACHINE\
SOFTWARE\
Microsoft\
SMS\
TRACING\
SMS_NT_INVENTORY_FILE_COLLECTOR

The key SMS_NT_INVENTORY_FILE_COLLECTOR must have precisely this spelling, since this is the name of the service that will be created.

Define a value, TraceFilename, in the key SMS_NT_INVENTORY_FILE_COLLECTOR. This value is used to provide the Inventory File Collector with the path of its log file. Assign it the value installation directory\LOGS\invcolcl.log, where installation directory is the pathname of the installation directory, followed by the path of the log file.

In the key SMS_NT_INVENTORY_FILE_COLLECTOR, give Enabled a value of 1.

In the key SMS_NT_INVENTORY_FILE_COLLECTOR, set the Poll Interval value to the number of hours you want between inventory collections. The default is 24.

Install the service with the following command:

pollreg.exe -path pollinv_path -serviceacct service_acct -password password

where

pollinv_path

is the absolute path of POLLINV.EXE

service_acct

is the name of the SMS service account

password

is the password on the SMS service account

For example, if POLLINV.EXE is in the directory C:\SMS\Helper.srv\Alpha.bin and the service account name is myservacct with the password mypasswd, the command would be:

pollreg -path C:\SMS\helper.srv\alpha.bin\pollinv.exe -serviceacct myservacct -password mypasswd

Deregistering: REMVPOLL.EXE

REMVPOLL.EXE deregisters SMS_NT_INVENTORY_FILE_COLLECTOR (removes it from Windows NT Service Control Manager [SCM]). SMS_NT_INVENTORY_FILE_COLLECTOR and all its files remain on the computer, but SCM does not consider it an active service.

Deregistering is useful if you want to register SMS_NT_INVENTORY_FILE_COLLECTOR with the SCM under a new account name or password, which you would do if you changed the name or password of the SMS service account.

Reregistering: POLLREG.EXE

POLLREG.EXE reregisters SMS_NT_INVENTORY_FILE_COLLECTOR with SCM on x86-based computers. For Alpha computers, use the procedure provided under Installing: INSTPOLL.EXE.

Runs On

Alpha, x86

Files Required for SMS_NT_INVENTORY_FILE_COLLECTOR

INSTPOLL.EXE
INVCOLCL.TXT
POLLINV.EXE
POLLREG.EXE
REMVPOLL.EXE

Syntax for Installing and Starting SMS_NT_INVENTORY_FILE_COLLECTOR

instpoll net start SMS_NT_INVENTORY_FILE_COLLECTOR

Syntax for Deregistering and Reregistering SMS_NT_INVENTORY_FILE_COLLECTOR

remvpoll pollreg -serviceacct "account" -password "password" -path "POLLINV_path"

-serviceacct "account"

Specifies the new SMS service account under which SMS_NT_INVENTORY_FILE_COLLECTOR will run.

-password "password"

Specifies the password for account.

-path "POLLINV_path"

Specifies the path for POLLINV.EXE.

Registry Entries for SMS_NT_INVENTORY_FILE_COLLECTOR

A polling interval for SMS_NT_INVENTORY_FILE_COLLECTOR can be specified through the PollInterval in the following registry key:

HKEY_LOCAL_MACHINE\
SOFTWARE\
Microsoft\
SMS\
Components\
SMS_NT_INVENTORY_FILE_COLLECTOR

PollInterval is of type REG_DWORD and specifies the polling interval in hours. The default is 24.

Administrator privilege is required to change this value. Changes are not sent to SMS_NT_INVENTORY_FILE_COLLECTOR; changes are picked up at the end of each processing cycle. Therefore, a change in the registry takes effect for the next interval between processing cycles but does not cause the service to wake up and start a new processing cycle.

INVCOLCL.TXT: the SMS_NT_INVENTORY_FILE_COLLECTOR Initialization File

A file containing a list of clients to be processed by SMS_NT_INVENTORY_FILE_COLLECTOR must be located in SMS\SITE.SRV\MAINCFG.BOX\CLIENT.SRC\INVCOLCL.TXT on the SMS site server on which SMS_NT_INVENTORY_FILE_COLLECTOR is run. INVCOLCL.TXT will be copied to all SMS logon servers by Maintenance Manager.

INVCOLCL.TXT contains one client per line. Lines starting with semicolons (;) or pound signs (#) are ignored. The list can be separated into sections. Each section is named for the computer that will collect the inventory from the clients in that section. Section names are surrounded by brackets. For example, consider the following INVCOLCL.TXT:

ClientA
ClientB
[Server1]
ClientC
ClientD
[Server2]
ClientE
[Server3]

The SMS_NT_INVENTORY_FILE_COLLECTOR service running on Server1 collects inventory from ClientA, ClientB, ClientC, and ClientD.

The SMS_NT_INVENTORY_FILE_COLLECTOR service running on Server2 collects inventory from ClientA, ClientB, and ClientE.

The SMS_NT_INVENTORY_FILE_COLLECTOR service running on Server3 collects inventory from ClientA, and ClientB. The section for Server3 is unnecessary.