Creating a Component for the Custom Security Template

5/10/2007

Use Component Designer to create a component that includes a custom security template (.inf) file, as well as the First Boot Agent (FBA) Generic Command resource that calls the Secedit interface.

To create a component for the custom security template

  1. In Component Designer, create a new component and set the appropriate group memberships. For details, see Creating a Component and Assigning an Object to a Group, in Windows XP Embedded Studio Help.

  2. Add your custom security template to the component as a file resource. Set the destination path to the Windows\INF (%17%) directory. For details, see Component Files in Windows XP Embedded Studio Help.

  3. Add an FBA Generic Command resource to your component. In the Extended Properties box, set the properties in the following table.

    Property Value

    ARGUMENTS

    /configure /db sectemp.sdb /cfg %17%\<name of custom .inf file>

    FILEPATH

    %11%\secedit.exe

    PHASE

    4500

    For more information, see Adding a Custom Resource to a Component and Extended Properties, in Windows XP Embedded Studio Help.

  4. Add a component dependency to the Security Configuration Engine Command-Line Utility component. For details, see Creating a Dependency Group in Windows XP Embedded Studio Help.

  5. Create a repository for your custom security template. For details, see Creating a Repository in Windows XP Embedded Studio Help.

  6. In the details pane, select the repository you just created for your component, and then save your component.

  1. In Component Designer, create a new component and set the appropriate group memberships. For details, see Creating a Component and Assigning an Object to a Group, in Windows XP Embedded Studio Help.

  2. Add your custom security template to the component as a file resource. Set the destination path to the Windows\INF (%17%) directory. For details, see Component Files in Windows XP Embedded Studio Help.

  3. Add an FBA Generic Command resource to your component. In the Extended Properties box, set the properties in the following table.

    Property Value

    ARGUMENTS

    /configure /db sectemp.sdb /cfg %17%\<name of custom .inf file>

    FILEPATH

    %11%\secedit.exe

    PHASE

    4500

    For more information, see Adding a Custom Resource to a Component and Extended Properties, in Windows XP Embedded Studio Help.

  4. Add a component dependency to the Security Configuration Engine Command-Line Utility component. For details, see Creating a Dependency Group in Windows XP Embedded Studio Help.

  5. Create a repository for your custom security template. For details, see Creating a Repository in Windows XP Embedded Studio Help.

  6. In the details pane, select the repository you just created for your component, and then save your component.

See Also

Concepts

How to Create a Custom Security Template

Other Resources

Custom Resources
Predefined System Environment Variables