Device Metadata System
The Device Metadata System is new in Windows 7 and provides a process for defining and distributing metadata packages for devices that users connect to their computers. Device metadata is information that enriches the way that devices are displayed by and used with Windows; it consists of two types of metadata:
- Device Display XML metadata This type of metadata is conceptually similar to sleeve art for music CDs and allows a photorealistic device icon to be displayed along with additional device information, such as manufacturer, model, and description fields.
- Device Experience XML metadata This type of metadata is conceptually similar to a simple Web page and is used by the Device Stage UI. For example, such metadata can enable branding by allowing background and overlay images to be displayed and can display a large, photorealistic image of the device, provide real-time device status information, display a vendor logo and marketing information, and describe what the user can do with the device.
The device metadata system for Windows 7 delivers device metadata in the form of a package. This package consists of XML files, graphics files, and icon files and typically contains the following:
- PackageInfo.xml Contains the hardware IDs, model ID, timestamp, schemas, and index and locale information for the device
- DeviceInfo.xml Contains additional device information with an icon file for the device
- WindowsInfo.xml Contains additional information needed by Windows
If the device supports Device Stage, the following additional metadata files are included in the device metadata package:
- Behavior.xml Defines the layout of the Device Stage UI with any branding graphics included by the vendor
- Task.xml Defines the tasks that the user can perform with the device using the Device Stage interface with associated icons and commands for these tasks
- Resource.xml Contains any localized resources needed for the Device Stage interface
Note XML metadata can be associated with a device using either the hardware ID or model ID of the device, with model ID being the preferred method.
IHVs that create metadata packages for their devices must submit this metadata to Windows Quality Online Services (Winqual). This must be done to validate the quality of the metadata and digitally sign the package to guard against tampering. Once the package has been signed by Winqual, it can be distributed to users by the following methods:
- Embedding the metadata in the hardware of the device
- Including the metadata in the vendor's software that is included with the device
- Installing the metadata on user's computers as an Original Equipment Manufacturer (OEM) add-on
- Making the metadata available for download from Windows Metadata and Internet Services (WMIS)
When a device is first connected to a Windows 7 computer, Windows acquires the metadata for the device by using the following process:
- The DMRC checks the computer's local metadata cache and metadata store for metadata that applies to the device.
- If no metadata is found for the device, the DMRC visits the WMIS Web site to determine whether any metadata is available for the device.
- If no metadata is available for the device from WMIS, a standard icon is displayed for the device and descriptive information found in the device's driver is displayed. The device is then displayed in the Unspecified Device section at the bottom of the Devices And Printers folder.
- If metadata is found and downloaded for the device from WMIS, the Device Display Object feature parses the metadata and uses it to display the device in the Devices And Printers folder (and in the Device Stage interface if the device supports Device Stage).
Users can opt out of downloading metadata from WMIS by configuring the Device Installation Settings on their computers. For more information, see the section titled "Configuring Device Installation Settings" earlier in this tutorial. Administrators can also prevent the downloading of metadata from WMIS by using Group Policy. See the following section titled "Managing Device Installation Using Group Policy" for information.
Note Some older systems may display some internal devices, such CD/DVD-ROM drives, USB root hubs, and other devices, as separate devices in the Devices And Printers folder because the system is reporting these devices as removable when they actually are not. Updating the basic input/output (BIOS) on these older systems may resolve this problem.
In this tutorial:
- Managing Devices and Services
- Understanding Device Installation and Management
- Device Enhancements in Windows 7
- Display Enhancements in Windows 7
- Understanding Device Installation
- Driver Store and Driver Packaging
- Driver Staging vs Installation
- Driver Staging and Installation Process
- Detailed Installation Process
- Managing Driver Packages
- Using PnPutil.exe
- Using Dism.exe
- Driver Signing
- Driver Ranking
- Installing and Using Devices
- Enhancements to the Device Installation Experience in Windows 7
- Scenario 1: Driver found in Driver Store
- Scenario 2: Driver found on Windows Update
- Scenario 3: Driver in Driver Store, But Better Driver on Windows Update
- Scenario 5: No Driver Can Be Found for the device
- Scenario 6: Vendor -supplied media is available
- Scenario 7: Additional Device Software is Available For Download from vendor
- Configuring Device Installation Settings
- Using the Devices And Printers Folder
- Understanding Device Stage
- Understanding the Device Experience Architecture
- Device Containers
- Device display object
- Device Metadata System
- Managing Device Installation Using Group Policy
- Managing Device Installation Behavior
- Managing Driver Installation Behavior
- Blocking Installation of Removable Devices
- Managing Device Redirection Behavior
- Troubleshooting Device Installation
- Using Windows Error Reporting
- Using the SetupAPI Log File
- Using Driver INF Files
- Using Device Manager Error Codes
- Using Driver Verifier
- Repairing Driver Store Corruption
- Repairing Index File Corruption
- Understanding Power Management
- Power Management Enhancements in Windows 7
- New Power Policies in Windows 7
- Configuring Power Management Settings
- Configuring Power Management Settings Using the Power Options Utility in Control Panel
- Configuring Power Management Settings Using Group Policy
- Configuring Power Management Settings Using the Powercfg Utility
- Understanding Services
- Service Enhancements in Windows 7
- Managing Services
- Managing Services Using Task Manager
- Managing Services Using the Sc.exe Command