WSABuilds icon indicating copy to clipboard operation
WSABuilds copied to clipboard

[DOC] Solution to the ADB bind issue without Hyper-V uninstall/reinstall

Open rileyg98 opened this issue 11 months ago • 4 comments

Please provide a clear and concise description of the changes you would like to see made to the documentation.

Hi guys, just found a way to fix the adb unable to connect issue without having to uninstall and reinstall Hyper-V. You can boot to safe mode with networking and put the port reservation in there, and it'll still persist through.

rileyg98 avatar Dec 17 '25 03:12 rileyg98

Can you please provide a full step by step guide that anyone with this issue can reference?

MustardChef avatar Dec 18 '25 18:12 MustardChef

Sure mate, I'll write one up tonight.

On Fri, 19 Dec 2025, 4:26 am MustardChef, @.***> wrote:

MustardChef left a comment (MustardChef/WSABuilds#677) https://github.com/MustardChef/WSABuilds/issues/677#issuecomment-3671583118

Can you please provide a full step by step guide that anyone with this issue can reference?

— Reply to this email directly, view it on GitHub https://github.com/MustardChef/WSABuilds/issues/677#issuecomment-3671583118, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSLB43AKBD7MODB6QBH37D4CLWWFAVCNFSM6AAAAACPIPL7B2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMNZRGU4DGMJRHA . You are receiving this because you authored the thread.Message ID: @.***>

rileyg98 avatar Dec 19 '25 05:12 rileyg98

@rileyg98 still waiting :(

kburnwall avatar Jan 05 '26 13:01 kburnwall

Sorry about that!

ADB Bind Resolution Reboot into safe mode with networking Run: netsh int ipv4 show excludedportrange tcp If there's any port ranges that cover 58526, you'll need to delete that range. I don't recall if the ranges bound in safe mode sorry so, if you do need to delete a range, this is the command netsh int ipv4 delete excludedportrange tcp [startport] [numberofports] Now startport is the first port of the range and number of ports is how many ports that range covers. So if it's 58185 to 58284, one of my excluded ranges, it's (end - start) + 1 - because the last port is inclusive - this example is 100 ports.
Then you run the command from the post-install guide netsh int ipv4 add excludedportrange protocol=tcp startport=58526 numberofports=1 Run the show command again and it should show up and have an asterisk, which marks it's an administered exclusion.

Reboot and confirm but otherwise is good. I will do a PR to update the docs

rileyg98 avatar Jan 24 '26 13:01 rileyg98