Troubleshooting Device Installation with the SetupAPI Log File

Updated: October 24, 2003
*
**
Download

Troubleshooting Device Installation with the SetupAPI Log File

DownloadSetupAPILog.doc
296 KB
Microsoft Word file
Updated: Oct 24, 2003
**

This download white paper provides information about debugging device installation for Microsoft Windows XP and later versions of the operating system. Specifically, the paper provides guidelines for driver developers and testers to interpret the SetupAPI log file.

Windows XP and later versions log system operations more extensively than previous versions of Windows do. One of the most useful log files for debugging is the SetupAPI log file (setupapi.log). This plain-text file maintains the information that SetupAPI records about device installation, service-pack installation, and hotfix installation. Specifically, the file maintains a record of device and driver changes, as well as major system changes, beginning from the most recent Windows installation. This paper focuses on using the SetupAPI log file to troubleshoot device installation; the paper does not describe the log-file sections that are associated with service-pack and hotfix installations.

Included in this white paper:

How Is the SetupAPI Log File Organized?

Windows Installation Header Section

Device-Setup Class Installation Sections

Driver-Installation Sections

Device-Removal Sections

Common Device-Installation Problems

Appendix A: Setting the SetupAPI Logging Level

Appendix B: Message Formats

Appendix C: Section Markers

Appendix D: Definition of Example Placeholders

Call to Action and Resources



Was This Information Useful?