
Configure Automatic Software Metering Rule Generation
| title | titleSuffix | ms.date | ms.prod | ms.technology | ms.topic | ms.assetid | author | ms.author | manager |
|---|---|---|---|---|---|---|---|---|---|
How to Configure Automatic Software Metering Rule Generation | 09/20/2016 | configmgr-sdk | 7b4ff9a8-096d-4830-a4fa-c76237419e8d | aaroncz |
You configure Automatic Software Metering Rule Generation settings, in Configuration Manager, by modifying the site control file.
On which basis are software metering usage data are tracked by default Jump to solution Hi, we would like to know what ´triggers the automatic collection of usage data for some applications and some other need to be created by the manual mapper process in the registry, especially for applications deployed via MSI, even if the use MSI option is enabled for the FlexNet Inventory Usage Agent. Configuration Manager Software Metering How to View File Usage Summary Information. How to Configure Automatic Software Metering Rule Generation. How to Create a Software Metering Rule. How to Delete a Software Metering Rule. How to Enable or Disable a Software Metering Rule.
[!IMPORTANT]This setting is shared across the whole hierarchy, and only can be configured on the CAS or a standalone primary site.
To configure automatic software metering rule generation
Set up a connection to the SMS Provider.
Make a connection to the Software Metering Client Agent section of the site control file by using the SMS_SCI_ClientComp class.
Loop through the array of available properties, making changes as needed.
Commit the property changes to the site control file.
Example
The following example method configures various Software Metering Rule Generation settings by using the SMS_SCI_ClientComp class to connect to the site control file and change properties.
For information about calling the sample code, see Calling Configuration Manager Code Snippets.
The example method has the following parameters:
| Parameter | Type | Description |
connection | - Managed: WqlConnectionManager- VBScript: SWbemServices | A valid connection to the SMS Provider. |
swbemContext | - VBScript: SWbemContext | A valid context object. For more information, see How to Add a Configuration Manager Context Qualifier by Using WMI. |
siteCode | - Managed: String- VBScript: String | The site code. |
enableAutoCreateDisabledRule | - Managed: String- VBScript: String | Enables or disables Software Metering auto rule creation. - 0 - Disabled - 1 - Enabled |
newAutoCreatePercentage | - Managed: String- VBScript: String | Sets the auto creation percentage. 0 - 100 |
newAutoCreateThreshold | - Managed: String- VBScript: String | Sets the auto creation threshold. |
Compiling the Code
This C# example requires:
Namespaces
System
System.Collections.Generic
System.Text
Star Toolbar Star Chromatography Workstation is a suite of applications for controlling chromatographs, collecting data from chromatograph detectors, and analyzing that data. The Star Toolbar provides quick and easy access to the Star Chromatography Workstation applications. When activated the Star Toolbar behaves very much like the Windows Taskbar.
Hello We are using Star workstation, controlling Varian HPLC system. And I cant find in manuall, how to create calibration, using it. The calibration is mentioned here and there in manual but I can't understand how to create one. That the Varian Star Chromatography Workstation software was designed, developed, and tested according to commonly accepted quality engineering practices. Our ISO 9001 certification ensures that the procedures and practices described in this manual have been carefully followed. All hardware and software design and test procedures, along.
Microsoft.ConfigurationManagement.ManagementProvider
Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine
Assembly
adminui.wqlqueryengine
microsoft.configurationmanagement.managementprovider
Robust Programming
For more information about error handling, see About Configuration Manager Errors.
.NET Framework Security
For more information about securing Configuration Manager applications, see Securing Configuration Manager Applications.
See Also

Configuration Manager Software Development Kit
About the Configuration Manager Site Control File
How to Read and Write to the Configuration Manager Site Control File by Using Managed Code
How to Read and Write to the Configuration Manager Site Control File by Using WMI
SMS_SCI_Component Server WMI Class
( 0)Do organization pay too much for your software licensing? Paying more licences than you use doesn’t make your company really effective, especially when we talk about. Do you know how much money your company spend for software licensing versus their utilization?Using inventory, SCCM detect if an application is installed, it also monitors usage using Software Metering and uninstall application using deployment mechanisms. Combining all, you can deliver a great solution to minimize licences cost to your organisation.is a great feature that is by the business. Company must take the advantage of monitoring the usage and automatically uninstalling application that are unused. For more details about Software Metering, read this post.This post shows how to automatically uninstall unused applications with SCCM witch is also part 5 of the.
Pre-RequisitesThe first thing you must do is enable. Is a feature used in SCCM to monitor and collect software usage data.
The data collected from all the devices must be present in SCCM database, otherwise it won’t works.You also need to decide what will be the grace period in days, before you consider an unused application. If you’re too aggressive, users will need to reinstall the applications more frequently and loose productivity time. On the other side, being too loose, you will overpaid your licence usage.
We will use a 120 days value. CollectionsCreate all the devices collections assigned to an application. You create collections that will:. Installed: Target devices where the application is installed.
Last Usage in last 120 Days: Target devices that use the application in last 120 days. Warning Zone: Create a warning zone to make sure the uninstaller will be executed on device that have at least run the application one time.
Last Usage over 120 Days: Target devices that use the application over 120 daysInstalledThis collection lists all devices that have the application installed. You have the possibility to use data from Add Remove Programs or Asset Intelligence, we suggest to. Using only software metering data to target the amount of installation results to not relevant information.