Windows Gadget

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Add categories)
(Categories)
 
Line 22: Line 22:
 
* [https://learn.microsoft.com/en-us/previous-versions/windows/desktop/sidebar/-sidebar-entry Windows Sidebar documentation]
 
* [https://learn.microsoft.com/en-us/previous-versions/windows/desktop/sidebar/-sidebar-entry Windows Sidebar documentation]
  
 +
[[Category:Microsoft]]
 +
[[Category:Windows]]
 +
[[Category:Miscellaneous File Formats]]
 
[[Category:XML based file formats]]
 
[[Category:XML based file formats]]
 
[[Category:ZIP based file formats]]
 
[[Category:ZIP based file formats]]

Latest revision as of 20:02, 2 May 2026

File Format
Name Windows Gadget
Ontology
Extension(s) .gadget
MIME Type(s) application/x-windows-gadget
Developed By Microsoft
Released 2007

A Windows Gadget file, also known as a Windows Sidebar Gadget, is the format used to distribute gadgets used by the Windows Sidebar, available in Windows Vista, then renamed Windows Gadget Platform in Windows 7 and Windows Server 2008.

It is either a ZIP or CAB archive which always contains a manifest describing the gadget, named gadget.xml. The archive also contains HTML, CSS, JavaScript files that power the gadget, as it is not much more than a web page with some extra ActiveX APIs.

Gadgets are installed (extracted) under two directories:

  • %SYSTEMROOT%\Program Files\Windows Sidebar\Gadgets (all users)
  • %LOCALAPPDATA%\Microsoft\Windows Sidebar\Gadgets (only this user)

Because the APIs allow, among many other things, arbitrary command execution through System.Shell.execute, Microsoft published a security advisory in 2012 that recommends disabling gadgets entirely.

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox