Compartir a través de


Gadget5

Applies To: Windows 7, Windows 8.1, Windows Server 2012 R2, Windows Vista

Warning

This setting has been deprecated in Windows® 8. The information about this deprecated setting is provided for reference only.
Gadgets are not available in Windows® 8.

Gadget5 specifies the path of a gadget (.gadget) folder. The gadget folder has a .gadget extension.

You can enable built-in Windows® 7 gadgets in the C:\Program Files\Windows Sidebar\Gadgets folder, or you can enable your own custom gadgets. We recommend that you install custom gadgets in the C:\Program Files\Windows Sidebar\Shared Gadgets\ folder.

Values

Path_to_gadget

Specifies the path of a .gadget folder. Path_to_gadget is a string.

Note

In Windows Vista® installations, it was necessary to add a comma (,), and true or false for the state of the gadget. This is not required for Windows 7 installations.

Parent Hierarchy

Microsoft-Windows-Sidebar | Gadget5

Valid Configuration Passes

oobeSystem

Applies To

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

XML Example

The following XML output shows how to set three built-in Windows 7 gadgets, and two customized gadgets.

<Gadget1>%PROGRAMFILES%\Windows Sidebar\Gadgets\Clock.Gadget</Gadget1>
<Gadget2>%PROGRAMFILES%\Windows Sidebar\Gadgets\Weather.Gadget</Gadget2>
<Gadget3>%PROGRAMFILES%\Windows Sidebar\Gadgets\Calendar.Gadget</Gadget3>
<Gadget4>%PROGRAMFILES%\Windows Sidebar\Shared Gadgets\FabriKam1.Gadget</Gadget4>
<Gadget5>%PROGRAMFILES%\Windows Sidebar\Shared Gadgets\FabriKam2.Gadget</Gadget5>

See Also

Concepts

Microsoft-Windows-Sidebar