How to enable verbose logging on a Windows XP-based computer


When you troubleshoot installation issues or setup issues, sometimes you must review registry entries that are listed in the Setupapi.log file. By default, the Setupapi.log file does not contain registry information. To record registry information in the Setupapi.log file, you must enable verbose logging on a Microsoft Windows XP-based computer.


Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

To enable verbose logging on a Windows XP-based computer, follow these steps:
  1. Click Start, click Run, type regedit in the Open field, and then click OK
  2. Locate and then double-click LogLevelunder the following registry subkey:
  3. On the Edit DWORD Value window, click to select
    Hexadecimal on the Base pane.
  4. Type 0000FFFF in the Value data box.
  5. Click OK.
Note When you enable verbose logging, the size of the Setupapi.log file grows to approximately 4 megabytes (MB). To reset the registry value after you troubleshoot, follow these steps again. However, set the DWORD value to 0 in step 4.

Article ID: 906485 - Last Review: May 6, 2009 - Revision: 1