Partager via


Gadget2

Gadget2 specifies a clock. Corporations can replace the clock with a customized gadget. If you set a customized gadget, the value is the full path to the customized gadget, a comma (,), and true or false for the enabled state of the gadget.

Values

Clock

Specifies a clock. Clock is a string. The default value is %PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true.

Parent Hierarchy

Microsoft-Windows-Sidebar | Gadget2

Valid Passes

oobeSystem

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Sidebar.

XML Sample

The following sample XML output shows how to set customized gadgets.

<SidebarOnByDefault>false</SidebarOnByDefault>
<Gadget1>PathToCustomGadget1,true</Gadget1>
<Gadget2>PathToCustomGadget2,true</Gadget2>
<Gadget3>PathToCustomGadget3,true</Gadget3>
<Gadget4>PathToCustomGadget4,true</Gadget4>
<Gadget5>PathToCustomGadget5,true</Gadget5>

See Also

Concepts

Microsoft-Windows-Sidebar