Microsoft KB Archive/931069

= How to use a combination of items and filters in Desktop Standard Profile Maker Professional to run a configuration one time per day =

Article ID: 931069

Article Last Modified on 3/2/2007

-

APPLIES TO


 * Profile Maker Professional 8.0

-



INTRODUCTION
This article describes how to use a combination of items and filters in Desktop Standard Profile Maker Professional to run a configuration one time per day.



MORE INFORMATION
To use a combination of items and filters to run a configuration one time per day, follow these steps:  Use a Profile Maker Professional script item to create an environment variable that has a value that contains the current date. To do this, follow these steps:  Obtain the OncePerDay.xml file. To do this, visit the following Desktop Standard Web site:

http://www.desktopstandard.com/kb/docs/OncePerDay.xml

Note This .xml file contains a sample Microsoft Visual Basic Scripting Edition script that creates the Today environment variable. Drag the .xml file to the configurations node in the Profile Maker Management Console. Put this script item at the top of the configuration.  Create a registry item as the last item in the configuration. This registry item creates a registry key that contains the current date. This date is defined by the environment variable that is created by the script. To do this, follow these steps:  Under Configurations, right-click the item, and then click New. Click Properties, and then click Registry Setting.</li> Click the Registry tab. In the Hive list, select HKEY_CURRENT_USER to apply this configuration to each user. Or, select HKEY_LOCAL_MACHINE to apply this configuration to each computer.</li> Enter a value in the Key Path box. To do this, click the ellipsis button (…). In the Registry Item Browser dialog box, expand HKEY_CURRENT_USER \SOFTWARE\AutpProf or HKEY_LOCAL_MACHINE \SOFTWARE\AutpProf, and then click Select.

Note The value that you select depends on the value that you selected in step b.</li> Under Value name, type OncePerDay in the Default box.</li> In the Value type box, type REG_SZ.</li> In the Value data box, type, and then click OK.</li></ol> </li> Apply a Registry Match filter to each item or to each configuration that you want to run one time per day. To do this, follow these steps:  Under Configurations, click the item.</li> In the Filtering pane, click Registry Match.</li> Click Or, and then click Not.</li> In the Match Type box, click Match value data. In the Hive list, select HKCU or HKLM.

Note The value that you select depends on the value that you selected in step 2b.</li> Enter a value in the Key Path box. To do this, click the ellipsis button (…). In the Registry Item Browser dialog box, expand HKEY_CURRENT_USER \SOFTWARE\AutpProf or HKEY_LOCAL_MACHINE \SOFTWARE\AutpProf, and then click Select.

Note The value that you select depends on the value that you selected in step 2b.</li> In the Value name box, type OncePerDay. In the Value type box, click REG_SZ. In the Value data box, type %Today% .</li> Save the configuration, and then close the Profile Maker Management Console.</li></ol> </li></ol>

Additional query words: execute

Keywords: kbhowto kbexpertiseinter kbinfo KB931069

-

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

© Microsoft Corporation. All rights reserved.