I recently had to do this on a 2012 R2 system.
Here’s what worked for me:
At a command line run:
bcdedit /debug ON
In regedit, add a key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug
Print Filter
Under that , add a DWORD value named IHVDRIVER with a value of 0xFFFF
Reboot the machine.
Run DbgView and under the capture menu, check “Capture Kernel” if it’s not
already.
If your driver is being loaded during boot up, click the “Log Boot” option
under the capture window and then reboot.
See this article for info on the debug filter settings:
https://msdn.microsoft.com/windows/hardware/drivers/devtest/reading-and-filt
ering-debugging-messages
See this article for info on the bcdedit /debug setting:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff542191(v=vs.85).
aspx
Hope that helps.
Erik
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Daryl Fowlkes
Sent: Thursday, December 29, 2016 3:39 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Problems with Sysinternals DebugView Tool showing debug
output…
I’m building a NDIS driver using Visual Studio 2015 and Windows 10 WDK. I
placed several “KdPrint()” calls into my DriverEntry routine. When I run
DebugView to see the prints, they do not appear.
The driver is running on a Windows Server 2012 R2 system. I have already
created the “Debug Print Filter” registry key and rebooted several times to
no avail. I also double-checked that I am building the CHK’d version of the
driver. This used work for me on Windows 7 and earlier operating systems
without any issues. I see other system output listed in DebugView but don’t
see the prints I inserted. I have verified that the driver is loading by
checking the registry “Services” key.
Any thoughts on how I can get the prints to show in DebugView? Thanks in
advance for your help!
NTDEV is sponsored by OSR
Visit the list online at:
http:
MONTHLY seminars on crash dump analysis, WDF, Windows internals and software
drivers!
Details at http:
To unsubscribe, visit the List Server section of OSR Online at
http:</http:></http:></http:>