Quick Tips



General
#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

Debugger
#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"

Vista
#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