Microsoft KB Archive/160569

= SMS: Software Inventory and Audit Differences and How to Create an Audit =

Article ID: 160569

Article Last Modified on 6/14/2005

-

APPLIES TO


 * Microsoft Systems Management Server 1.1 Standard Edition
 * Microsoft Systems Management Server 1.2 Standard Edition

-



This article was previously published under Q160569



SUMMARY
This article describes some differences between software inventories and audits, and describes the procedure to create an audit.

The following are some differences between audits and software inventories:


 * A software inventory occurs during client inventory, while an audit occurs when it is run from Package Command Manager (PCM).
 * A software inventory does not need to be distributed, because distribution occurs automatically through the Package.rul file (Sms\Site.srv\Maincfg.box\Pkgrule), and is automatically copied to each Logon.srv directory as Pkg_16.cfg. You must send out an audit as a job.
 * A software inventory affects all Systems Management Server users logging in, while an audit will only be run by the clients to whom it was sent.
 * A software inventory needs to be defined, and clients will access the Pkg_16.cfg file (inventory criteria) during login from the Logon.srv directory. An audit uses the Audit.rul file to define the search criteria.
 * The Run or Share Packages commands can also be defined as software inventory packages, if you select "Inventory This Package" (this allows automatic software inventory of Systems Management Server distributed packages). Audits detect only those packages defined in the Audit.rul file.
 * A software inventory can be set to collect files, but an audit cannot.



MORE INFORMATION
To create an audit, perform the following steps:

 At the Systems Management Server site server, open a command prompt. Locate the Sms\Primsite.srv\Audit directory Run the command

Rul2cfg Audit.rul

at a command prompt. You will see the messages "Compile succeeded" and "1 file(s) copied" three times. Open File Manager and share the Sms\Primsite.srv\Audit\Package directory as "package." Run the Systems Management Server Administrator program and select the package window. On the File menu, click New. Click Import.</li> Select Sms\Primsite.srv\Import.src\Enu in the Directories box.</li> Click Audit.pdf and then click OK.</li> Click Workstation.</li> Enter the source directory (for example, \\Smsserver\Package), and click Close.</li> Click OK, and then click OK again to "Update the package at all sites."</li> On the File menu, click Open. Select the Sites window.</li> On the Window menu, click Tile Horizontally.</li> Drag the package to the site or client(s) that you intend to run the audit on. A Jobs window will open.</li> Click OK.</li> Click Schedule and change the priority to High. Click OK.</li> Type a comment (for example, "Test audit"), and click OK.</li></ol>

The package will now be pending until the next process polling cycle. You can monitor the package's progress by viewing the SCHED, DESPOOL, and LANSEND log files, as well as by monitoring the job in the Jobs window (to do this, double click on the job, click Status, and then click Details).

After the package is offered to the client's Package Command Manager, run the package. If packages are found, there will be a new icon in the Personal Computer Properties called "Audited Software."

Additional query words: prodsms

Keywords: kbdatabase kbfaq kbhowto kbnetwork kbusage KB160569

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.