How to Enable Verbose Logging in Windows 2000 GUI-Mode Set-up?

John Savill

August 3, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. If you are having problems with the installation ofWindows 2000 its possible to enable extensive logging to aid in the diagnosticsof this.

To enable the extra logging you have to create the value HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetupLogLeveland set to 0xFFFF but obviously you can't create this using REGEDIT.EXE duringsetup so we need to update a setup file to create the value for us.

  1. On the distribution share or local hard disk containing the Windows 2000 files, locate the Hivesft.inf file in the I386 folder.

  2. Using any text editor (such as Notepad), locate the following line in the Hivesft.inf file:
    HKLM,"SOFTWAREMicrosoftWindowsCurrentVersionSetup","DriverCachePath",0x00020002,"%SystemRoot%Driver Cache" 

  3. Below the line listed in the previous step, add the following line:
    HKLM,"SOFTWAREMicrosoftWindowsCurrentVersionSetup","LogLevel",0x00010003,0xFFFF 
    NOTE: The two lines listed above may be wrapped for readability, but are each a separate single line.

  4. When you are done, the file should look like the following example. Verify this before saving the file to disk:
    HKLM,"SOFTWAREMicrosoftWindowsCurrentVersionSetup","DriverCachePath",0x00020002,"%SystemRoot%Driver Cache"
    ; added the following line
    HKLM,"SOFTWAREMicrosoftWindowsCurrentVersionSetup","LogLevel",0x00010003,0xFFFF
    ; ends here 
    HKLM,"SOFTWAREMicrosoftWindowsCurrentVersionSetupBaseWinOptions",,0x00000012 

  5. Save the file and quit the text editor.

The extra logging will now be enabled to the Setupapi.log file. This filewill probably be around 4MB larger with logging enabled.

To check that logging is enabled via the GUI then press SHIFT+F10 to start a command prompt anduse Regedt32.exe to verify that the value has been created.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like