I want to get DbgPrint messages in windows7.
But WinDbg said a following message.
"Fail to read
system\currentcontrolset\services\Lmhosts\Parameters\EnableUserMode,
error=2"
Please tel me what I should go.
My target Target PC is windows7 professonal.
My host Target PC is windows XP SP2.
WinDbg version is 6.11.0001.404 X86.
I write 8 to next regstry key in Target PC
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug
Print Filter\DEFAULT.
If DEFAULT key value was 0, the following message was not appeared.
If DEFAULT key value was 8, the following message was appeared.
"Fail to read
system\currentcontrolset\services\Lmhosts\Parameters\EnableUserMode,
error=2"
WinDbg said following messages in all.
Connected to Windows 7 7600 x86 compatible target at (Fri Jan 15
14:44:51.343 2010 (GMT+9)), ptr64 FALSE
Kernel Debugger connection established.
Symbol search path is:
D:\work\symbols\vista_sp1_x86;D:\Symbols\win7_x86_Retail
Executable search path is:
Windows 7 Kernel Version 7600 MP (1 procs) Free x86 compatible
Built by: 7600.16385.x86fre.win7_rtm.090713-1255
Machine Name:
Kernel base = 0x8301d000 PsLoadedModuleList = 0x83165810
System Uptime: not available
Intel Storage Driver Ver: 8.6.2.1012
KDTARGET: Refreshing KD connection
KDTARGET: Refreshing KD connection
Fail to read
system\currentcontrolset\services\Lmhosts\Parameters\EnableUserMode, error=2
Thanks in advance
shinji
>
> If DEFAULT key value was 0, the following message was not appeared.
Most likely because most of the debug prints were turned off.
> If DEFAULT key value was 8, the following message was appeared.
You turn on some of the debug prints that's why start getting some
messages.
And I'm sorry.
When DEFAULT key was 8 or 0xffffffff,
I catched DbgPrint message.
Shinji