Table of contents
TOC
Collapse the table of content
Expand the table of content

SetupAPI Logging (Windows Server 2003, Windows XP, and Windows 2000)

Last Updated: 7/30/2016

The Windows Setup and Device Installer Services, also known as SetupAPI, include the Windows functions that control Setup and device installation. As Setup proceeds, the general Setup functions (SetupXxx functions) and device installation functions (SetupDiXxx functions) create a log file that provides useful information for troubleshooting device installation problems.

SetupAPI logs to the file %systemroot%\setupapi.log. The log file is a plain text file. To reset the log, rename or delete the file.

This section includes the following information:

Setting SetupAPI Logging Levels

Interpreting a Sample SetupAPI Log File

© 2016 Microsoft