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

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging

The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.

Check out The OSR Learning Library at:

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. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 13-17 May 2024 Live, Online
Developing Minifilters 1-5 Apr 2024 Live, Online
Internals & Software Drivers 11-15 Mar 2024 Live, Online
Writing WDF Drivers 20-24 May 2024 Live, Online