Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Sept/Oct 2019 Issue of The NT Insider available

Download PDF here:

It’s a particularly BIG issue, too: 40 pages of technical goodness, ranging from WDF to Minifilters. Check it out.
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

Windbg won't attach

rstruempfrstruempf Member Posts: 103

I'm trying to get a test VM working again at home without having to start from scratch and build a new VM. My problems started with the 1803 Windows update, when Microsoft removed homegroup. All of my network permissions, sharing, etc. were based on homegroup. This is my home laptop, which I don't use a lot for kernel debugging, so I've drug my feet on fixing it, but I'm to the point where I need to consider building a new VM, and I'm hoping you all have some ideas.

I'm using Hyper-V to host the up-to-date Windows 10 VM. I can ping the machine by name, so discovery and ICMP are working, although the ping results default to the IPv6 address of the machine instead of the IPv4 address. If I use -S to specify the source address, that problem goes away, though, and Windbg is using the correct, IPv4 host address.

I tell it to attach, it says "Waiting to reconnect..." and then nothing. So I don't have much to go on.

I ran bcdedit /dbgsettings, and it used the port and key it displayed. Host IP is correct.


  • rstruempfrstruempf Member Posts: 103

    I think I found at least part of it. After trying to connect, and getting just "Waiting to reconnect...", I tried restarting the VM while leaving Windbag trying to connect, and it eventually displayed:
    Connected to target on port 50096 on local IP
    So even though both systems are setup for dhcp, and acquire addresses in the / subnet, the debugger appears to be assigning a static ip to the VM. I'm going to make sure dhcp is on both with bcdedit and for the VM itself, and if I don't find something there, I'm just going to build a new VM.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Writing WDF Drivers 21 Oct 2019 OSR Seminar Space & ONLINE
Internals & Software Drivers 18 Nov 2019 Dulles, VA
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 27 Apr 2020 OSR Seminar Space & ONLINE