Skip to content
Archive of posts tagged debugging

Lets learn Windbg: the !cpuid extension

Its an effort to learn and document windbg extensions.. So here is the first one !cpuid lkd> !cpuid CP  F/M/S  Manufacturer     MHz  0  6,23,6  GenuineIntel    2394  1  6,23,6  GenuineIntel    2393 the first lkd> means the current debug session is a local kernal debugging. How do we do that ? Open Windgb; Select File -> Kernal Debug and [...]

How to enable user environment debug logging in retail builds of Windows

To troubleshoot issues with user log on and Group policy issues, enabling tracing of log on activity is helpful. Make the following changes to enable tracing. Use Registry Editor to add or to modify the following registry entry: Subkey: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WinlogonEntry: UserEnvDebugLevelType: REG_DWORDValue data: 10002 (Hexadecimal)UserEnvDebugLevel can have the following values: NONE 0×00000000NORMAL 0×00000001VERBOSE 0×00000002LOGFILE 0×00010000DEBUGGER [...]

Configuring Windbg to use MS Symbol server.

Using the MS Symbol Server for windbg and other tools loadTOCNode(2, ‘moreinformation’); The Microsoft Symbol Server is built by using the SymSrv technology (SymSrv.dll) that is provided with the Debugging Tools for Windows package. SymSrv builds a local symbol cache for fast, automatic symbol resolution. It is as simple to use the Symbol Server as [...]