Troubleshooting Device Installation with the Setupapi log File


To set the logging level for an individual device-installation program



Download 331.5 Kb.
Page42/49
Date10.02.2021
Size331.5 Kb.
#55795
1   ...   38   39   40   41   42   43   44   45   ...   49
setupapilog
To set the logging level for an individual device-installation program

  1. If the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\AppLogLevels registry subkey does not exist, create it.

  2. In the subkey, create a new entry as a REG_DWORD value, and name it with the file name of the application's executable program.

  3. Set the value of the entry to the logging level that you want.

The logging level is composed of three parts: the general logging level, the device-installation logging level, and a set of special flags. You can think of the logging level as represented by 0xSSSSDDGG. The lowest 8 bits(GG) contain the general logging level, which controls the types of messages that are logged by the Windows Setup functions. The next higher 8 bits (DD) contain the device-installation logging level, which controls the types of messages that are logged by the device-installation functions. The highest 16 bits (SSSS) contain the special flags, which apply to logging by both the Windows Setup functions and the device-installation functions.

The following table describes the general logging levels.




Download 331.5 Kb.

Share with your friends:
1   ...   38   39   40   41   42   43   44   45   ...   49




The database is protected by copyright ©ininet.org 2024
send message

    Main page