| Home | General | Debugger | Vista |
| #1 | Creating service entry for a kernel mode driver |
|---|---|
sc create NAME type= kernel start= demand error= normal binPath= System32\Drivers\DRIVER.sys DisplayName= DESCRIPTION |
| #1 | WinDBG command line for Virtual PC Kernel Debugging on COM1 |
|---|---|
"C:\Porgram Files\Debugging Tools for Windows\windbg.exe" -Q -k "com:port=\\.\pipe\COM1,pipe,resets=0,reconnect" |
| #1 | Enabling Administrator Account on Windows Vista and setting up a password |
|---|---|
net user administrator password /active:YES |
|
| #2 | Enable debugging in the current boot loader entry |
bcdedit /debug ON |
|
| #3 | Enable debug over Serial Port in the current boot loader entry |
bcdedit /dbgsettings SERIAL debugport:1 baudrate:115200 |
|
| #4 | Enable debug over 1394 Port in the current boot loader entry |
bcdedit /dbgsettings 1394 channel:5 |
|
| #5 | Enable debug print output to appear in Vista |
In the key "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter" Set the value "DEFAULT=(DWORD)0xffffffff" Reboot |
Copyright (c) 1999-2007 CodeMachine Incorporated. All Rights Reserved. Last Updated Jan 8th, 2007.