Monday, June 29, 2009

Advanced Error Search

Did you know that, with a simple log file, you can have a clear information about all the actions and the user profiles, during a crash or any error??

Windows XP and Vista provides you with such enhanced features!!

* Click Start ==> Run ==> Type "Regedit"

* Navigate to "HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\ CurrentVersion\Winlogon"

* Right click in the right-pane and click New ==> DWord Value

* Name it as "UserEventDebugLevel"

* Double click and enter any of the Hex-Values below:

- 10001 ==> Log file with default output
- 10002 ==> Log file with extended output
- 20001 ==> Debugging file with default output
- 20002 ==> Debugging fiel with extended output


* Restart the machine and the desired information is found in the "userenv.log" in the 'Debug\User Mode' directory in the Windows folder


To stop creating the logs, either delete the entries or change the value to "0"


Please Comment!!

Have Fun!

No comments: