Cannot change host system for WinDBG

Howard Weiss 1 Reputation point
2021-09-05T15:59:24.837+00:00

Hi

I am running Qemu under Linux with a Windows 10 target. I have been using WindDBG on another computer to debug my device driver when Windows starts. To configure the connection, I used bcdedit and specified

bcdedit /dbgsettings net hostip:10.0.0.111 port:50010 key:1.2.3.4

I then run WinDBG on another windows 10 system with IP4 10.0.0.111. It wait for my windows client to connect. When it does, I can debug the device driver.

I want to change the host computer to 10.0.0.176 (I need to return 10.0.0.111 to its owner)

I tried reconfiguring the target system using bcdedit as follows

bcdedit /dbgsettings net hostip:10.0.0.111 port:50010 key:1.2.3.4

If I run bcdedit /dbgsettings it reports that the hostip is 10.0.0.176. However, if run WinDBG on system with IP 10.0.0.176, the target does not connect. It continues to connect to 10.0.0.111

I discovered the following in the registry key 8HKLM\System\CurrentControlSet\Control\SystemStartOptions

DEBUG ENCRYPTION_KEY=****** HOSTIP:10.0.0.111 HOST_PORT=50010.

Supposedly, this is irrelevant to how windows boots. Regardless, I tried changing the HOSTIP to 10.0.0.176 without effect

Even odder, the Windows 10 target connects to the host REGARDLESS of whether I set debug to OFF or ON in bcdedit.

Is the boot information being retained somehow?

Please advise

Howard Weiss

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,369 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.