Subscribe to Windows IT Pro
August 04, 2000 12:00 AM

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

Windows IT Pro
InstantDoc ID #15426
Rating: (0)

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

To enable the extra logging you have to create the value HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\LogLevel and set to 0xFFFF but obviously you can't create this using REGEDIT.EXE during setup 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,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup","DriverCachePath",0x00020002,"%SystemRoot%\Driver Cache" 
  3. Below the line listed in the previous step, add the following line:
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup","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,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup","DriverCachePath",0x00020002,"%SystemRoot%\Driver Cache"
    ; added the following line
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup","LogLevel",0x00010003,0xFFFF
    ; ends here 
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\BaseWinOptions",,0x00000012 
  5. Save the file and quit the text editor.

The extra logging will now be enabled to the Setupapi.log file. This file will 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 and use Regedt32.exe to verify that the value has been created.


Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.