Verbose Logging

Verbose logging tracks all changes and settings applied using Group Policy and its extension to the local computer and to users who log on to the computer. The log file is located at SystemDrive \Debug. This folder is a hidden folder. Enabling verbose logging involves adding the registry key for verbose logging. By performing the following steps, you can enable verbose logging for Group Policy and its extensions.

To enable verbose logging (Userenv.log)

  1. Log on as the local administrator.

  2. Click Start , and then click Run .

  3. In the Open text box, type regedit , and then click OK .

  4. Open the HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/Current Version/Winlogon key, and then click Edit on the toolbar.

  5. Click Add Value , and enter the value name UserenvDebugLevel .

  6. Set the Data Type to REG_DWORD, click OK , and then under Value , enter the number 30002 . Set the option button to Hex .

  7. Log off and then log on again.

note-iconNote

30002 is for verbose logging, 30001 is for errors and warnings only, and 30000 logs nothing. The log will be found at %windir%\debug.

To enable verbose logging using a different method

  1. Log on as local administrator.

  2. Copy the file Envdebug.ini to the root of the system drive (C:\Temp)

  3. Click Run , type Regini C:\envdebug.ini , and then click OK .
    You must refer to Regini.exe in the path.

You can remove the registry key for verbose logging by taking the following steps.

To disable verbose logging

  1. In a registry editor, navigate to the following registry subkey:
    HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/Current Version/Winlogon

  2. Delete UserenvDebugLevel entry.

Software Installation and Maintenance Logging

Follow the steps mentioned earlier to use Regedit to add the following key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Diagnostics\Appmgmtdebuglevel

REG_DWORD

Value: = 0xF (15)

Windows Installer Logging

Follow the steps listed earlier to use Regedit to add the following key:

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\Logging

REG_SZ = vicewarmup

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\Debug

REG_DWORD = 3

caution-iconCaution

Do not use a registry editor to edit the registry directly unless you have no alternative. The registry editors bypass the standard safeguards provided by administrative tools. These safeguards prevent you from entering conflicting settings or settings that are likely to degrade performance or damage your system. Editing the registry directly can have serious, unexpected consequences that can prevent the system from starting and require that you reinstall Windows 2000. To configure or customize Windows 2000, use the programs in Control Panel or Microsoft Management Console (MMC) whenever possible.