SMS: Software Inventory Does Not Report Last Accessed Date

ID: Q229973


The information in this article applies to:


SYMPTOMS

Software inventory in Systems Management Server 2.0 does not report the Last Accessed Date attribute of the files being inventoried. There is a command-line tool called Swinv.exe that will inventory the files you specify for file attributes including the Last Accessed Date and report its information as a .csv file or a .mif file.

This utility works for both Systems Management Server 1.2 and 2.0.


RESOLUTION

To resolve this problem, obtain the latest service pack for Systems Management Server 2.0. For additional information, please see the following article in the Microsoft Knowledge Base:

Q236325 SMS: How to Obtain the Latest Systems Management Server 2.0 Service Pack


STATUS

Microsoft has confirmed this to be a problem in Systems Management Server 2.0. This problem was first corrected in Systems Management Server 2.0 Service Pack Service Pack 1.


MORE INFORMATION

The syntax for Swinv.exe is:


swinv [/format:{csv|idmif|noidmif}] [/detail:{both|software|file}] [/drive:{a-z}*] 
[/path:[path] [/yield:<delay>] [/output:drive:\[path\] [file].ext | * 
Where: NOTES: The following sample usage provides some examples for how to use SWINV:

C:\>swinv /format:idmif /detail:software .exe .com
C:\>swinv /drive:m /output:c:\nwsys .exe .com .dll .ocx
C:\>swinv /format:noidmif /path:"My Documents" .doc
C:\>swinv /format:noidmif doom.exe


SWINV is completely silent unless the /? switch is used. It logs messages to the Swinv.log file, located in the root of drive C.

After running SWINV and creating a noidmif file, in order for the information to be reported to the Systems Management Server database, hardware inventory (not software inventory) must run to pick up the noidmif file.

After the noidmif has been processed, you will be able to view the data by using Resource Explorer in Systems Management Server 2.0 or by opening Machine Properties in Systems Management Server 1.2. The file attribute information (/detail:file) will be reported in the Inventory Files Group under Hardware Inventory. The file header information (/detail:software) will be reported in the Audited Software Group also under Hardware Inventory.

Additional query words: prodsms sinv


Keywords          : kbSMS200 kbSMS200bug kbInventory kbSMSUtil 
Version           : winnt:2.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: July 25, 1999