Debugging Device Metadata Packages By Using Event Viewer
Starting with Windows 7, the Event Tracing for Windows (ETW) service supports the DeviceMetadata/Debug channel for events that are related to the processing of device metadata packages.
The DeviceMetadata/Debug channel stores error and informational events that occur during the download or processing of device metadata packages. This channel also stores warning and informational events that provide additional status about the detection and query of device metadata packages within the device metadata store.
Viewing Device Metadata/Debug ETW Events through Event Viewer
You use Event Viewer to view events that are logged for device metadata packages. Follow these steps to open the DeviceMetadata/Debug ETW channel in Event Viewer to view these events:
On the Start menu, right-click Computer, and then click Manage.
Expand the System Tools node.
Expand and then click the Event Viewer node.
On the View menu, click Show Analytic and Debug Logs.
Expand the Applications and Services Logs node.
Expand the Microsoft node.
Expand the Windows node.
Expand the UserPnP node.
Click the DeviceMetadata/Debug node.
Note You must first enable logging on the DeviceMetadata/Debug ETW channel to receive and view events. To do this, right-click the DeviceMetadata/Debug node and select Properties. Then, click Enable Log.
Device Metadata/Debug ETW Events
The operating system logs the following error, warning, and informational events during the download or processing of a device metadata package:
Event ID: 7900 Error: Device metadata package error
An error was detected with one of the components of a device metadata package.
This event log message contains the following information:
A description of the error, which includes a description of the source of the error. The error source is either the device metadata store or the device metadata cache.
The name of the device metadata package.
An application-specific error code. For more information about these error codes, see Device Metadata Error Codes.
A Win32 error code.
Event ID: 7901 Information: Device metadata package downloaded from WMIS.
A device metadata package was downloaded from the Windows Metadata and Internet Services (WMIS) by the Device Metadata Retrieval Client (DMRC), which extracts the components from the package and saves them within the device metadata cache.
This event log message contains the following information:
A description of the event.
The location of the unpacked device metadata package within the device metadata cache.
The name of the device metadata package.
Event ID: 7902 Error: Device metadata package not signed.
An installed device metadata package was not signed by the Windows Quality Online Services (Winqual).
Note The signature of the device metadata package is verified only when it is downloaded from WMIS.
This event log message contains the following information:
A description of the error.
The name of the device metadata package.
An application-specific error code. For more information about these error codes, see Device Metadata Error Codes.
A Win32 error code.
Event ID: 7950 Information: New device metadata package discovered in the local metadata store.
The DMRC has detected a new device metadata package that is installed on the local computer.
This event log message contains the following information:
A description of the event.
The source of the device metadata package, which is either the device metadata store or the device metadata cache.
The name of the device metadata package.
Event ID: 7951 Information: Query for metadata packages in progress.
The DMRC queries installed device metadata packages for a particular device.
This event log message contains the following information:
A description of the event.
A device lookup key, such as the device's hardware ID or model ID. For more information, see HardwareID and ModelID.
Note Only the most specific hardware ID is logged when a list of hardware IDs are passed as a parameter.
Event ID: 7952 Warning: Network-related errors.
The DMRC encountered a network error during the download of a device metadata packaged from the WMIS.
Note This warning is not generated when the network is not available.
This event log message contains the following information:
A detailed description of the error.
An application-specific error code. For more information about these error codes, see Device Metadata Error Codes.
The HTTP status code at the time of the network error.