Creating a Component for the Custom Security Template (Windows Embedded Standard 2009)
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.
-
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 Embedded Standard Studio Help.
-
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 Embedded Standard Studio Help.
-
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 Embedded Standard Studio Help.
-
Add a component dependency to the Security Configuration Engine Command-Line Utility component. For details, see Creating a Dependency Group in Windows Embedded Standard Studio Help.
-
Create a repository for your custom security template. For details, see Creating a Repository in Windows Embedded Standard Studio Help.
-
In the details pane, select the repository you just created for your component, and then save your component.