Troubleshooting Device Installation with the SetupAPI Log File
Updated: October 24, 2003
File name: SetupAPILog.doc
About This Download
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: