ItemKey (microsoft-windows-microsoftedgebrowser-favoritebaritems-favoritebaritem-itemkey)

ItemKey specifies a unique key to associate with a FavoriteBarItem.

Values

Value Description
ItemKey Specifies a unique string value (key) to represent the FavoriteItem in the unattended installation answer file. ItemKey must be unique for each FavoriteBarItem. ItemKey is a string.

Valid Configuration Passes

specialize

Parent Hierarchy

Microsoft-Windows-MicrosoftEdgeBrowser | FavoriteBarItems | FavoriteBarItem | ItemKey

Applies To

To determine whether a component applies to the image you’re building, load your image into Windows SIM and search for the component or setting name. For information on how to view components and settings, see Configure Components and Settings in an Answer File.

XML Example

<FavoriteBarItems>
    <FavoriteBarItem wcm:action="add">
        <ItemFavIconFile>C:\Windows\favlink1.ico</ItemFavIconFile>
        <ItemKey>Favorite1</ItemKey>
        <ItemName>Bing News</ItemName>
        <ItemUrl>https://bing.com/news</ItemUrl>
    </FavoriteBarItem>
    <FavoriteBarItem wcm:action="add">
        <ItemFavIconFile>C:\Windows\favlink2.ico</ItemFavIconFile>
        <ItemKey>Favorite2</ItemKey>
        <ItemName>Bing Maps</ItemName>
        <ItemUrl>https://www.bing.com/maps</ItemUrl>
    </FavoriteBarItem>
</FavoriteBarItems>

FavoriteBarItem