Resetting the TCP/IP stack fails


Rooibos

New member
Local time
7:30 AM
Posts
3
OS
Windows 11
When I try to reset TCP/IP using cmd: netsh int ip reset, it shows error:
Resetting Unicast Address, OK!
Resetting Neighbor, OK!
Resetting Path, OK!
Resetting , failed.
Access is denied.

I googled and found the solution, to give permissions to a key in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi. It works.
But when I restart, & try to reset the TCP/IP, the same problem occurs. I have to again go through Registry Editor to give the permissions. I have to do it every time my system restarts. How to make the permissions stick? Or what is the reason behind resetting of those permissions in regedit?

Thank you
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    CPU
    11th Gen Intel i5
Are you just trying to fix connectivity issues? To reinstall TCP/IP run the following...

Powershell:
SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

SYSTEM\CurrentControlSet\Services\DHCP\Parameters

If you are still having connectivity issues, run the following...

Powershell:
ipconfig /release

ipconfig /renew

ipconfig /flushdns

ipconfig /registerdns

Let me know how that works.
 

My Computer

System One

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Alienware M15 Ryzen Edition
    CPU
    AMD Ryzen 9 5900HX
    Memory
    16 GB DDR4
    Graphics Card(s)
    Nvidia RTX 3070
    Hard Drives
    1TB SSD
    Browser
    Edge
    Antivirus
    Defender
Are you just trying to fix connectivity issues? To reinstall TCP/IP run the following...

Powershell:
SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

SYSTEM\CurrentControlSet\Services\DHCP\Parameters

If you are still having connectivity issues, run the following...

Powershell:
ipconfig /release

ipconfig /renew

ipconfig /flushdns

ipconfig /registerdns

Let me know how that works.
I am just trying to fix the connectivity issues. I don't know why it happens. Everytime when I download a lot, connection stops after sometime. Other devices on the same network works properly. That's why I try to reset TCP/IP everytime when this happens. It works but I have to do all those procedures again each time.

After giving permissions and working with netsh like I mentioned on my 1st post, I always execute those ipconfig commands too.
The only problem with me is that, I have to give permissions in Registry Editor to that key everytime... and have to do the rest of the steps with ipconfig.

How to reinstall TCP/IP? What should I do with those Regkeys?

How to troubleshoot this problem? How can I know what makes my connection stop after some downloads?

How to make the permissions in the registry editor stick? so that atleast I don't have to do that one step again & again.

Thanks for helping
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    CPU
    11th Gen Intel i5
I see... You shouldn't have to fix that each time. Have you tried updating your network driver? If you have, have you tried to completely blowing away your network driver and reinstall?

I would download the driver from the manufacture and follow option 3 in this tutorial....


If that doesn't work, when you don't have networking, if you run an ipconfig, what is the output you get? Also, could you provide a screenshot from Control Panel > View Network status and task?

We can figure this out.
 

My Computer

System One

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Alienware M15 Ryzen Edition
    CPU
    AMD Ryzen 9 5900HX
    Memory
    16 GB DDR4
    Graphics Card(s)
    Nvidia RTX 3070
    Hard Drives
    1TB SSD
    Browser
    Edge
    Antivirus
    Defender
I see... You shouldn't have to fix that each time. Have you tried updating your network driver? If you have, have you tried to completely blowing away your network driver and reinstall?

I would download the driver from the manufacture and follow option 3 in this tutorial....


If that doesn't work, when you don't have networking, if you run an ipconfig, what is the output you get? Also, could you provide a screenshot from Control Panel > View Network status and task?

We can figure this out.
I think it's solved for now. I reset my Windows. This time I didn't change any default settings for Networking & didn't remove any Windows features. Before, I changed few networking settings like randomizing hardware address, changed it to Private.
Also before, I turned off all Windows features in Turn Windows features On or Off. I thought all those features are not required for me. I just download & browse internet through Wifi.
From these, I don't know what actually caused to stop Wifi after few downloads. I had reset before but I had the same problem.
This time, I didn't change much settings or turned off any Windows features.

I can only verify if this issue gone only while downloading. It's not happening last 2 days, after reset and I downloaded 200GBs.

One last question: What all Windows features can I turn off safely? I just browse Internet, download and do data science... that's all I do.
Thank you
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    CPU
    11th Gen Intel i5
One last question: What all Windows features can I turn off safely? I just browse Internet, download and do data science... that's all I do

I would just leave the base features which are enabled. I don't really mess with those.
 

My Computer

System One

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Alienware M15 Ryzen Edition
    CPU
    AMD Ryzen 9 5900HX
    Memory
    16 GB DDR4
    Graphics Card(s)
    Nvidia RTX 3070
    Hard Drives
    1TB SSD
    Browser
    Edge
    Antivirus
    Defender
Are you just trying to fix connectivity issues? To reinstall TCP/IP run the following...

Powershell:
SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

SYSTEM\CurrentControlSet\Services\DHCP\Parameters

If you are still having connectivity issues, run the following...

Powershell:
ipconfig /release

ipconfig /renew

ipconfig /flushdns

ipconfig /registerdns

Let me know how that works.
My problem is slightly different - I have network connectivity but internet intermittently does not work. Everything from router out is fine with another computer using the same wire. But this computer will intermittently have no internet despite being hooked up. Does not matter if it is a wired or Wi-Fi connection - which makes me think it is not the physical connection or the Ethernet card, since WiFi also does not work (tried a USB WiFi adapter - no change).

So I think my problem is software. I have upgraded from Win 10 to 11, r then reset the network settings in Windows 11, and run all of the above CMD line instructions BUT - curiously, when I run System\CurrentControlSet\Services\TCPIP\Parameters it says that it cannot find the path even though I cut and past it from RegEdit!

I did all the other things - flushed the DNS, etc - the only thing I have not done is to reinstall TCP/IP - is there any other way to do it or do you have any idea why it is saying cannot find that path? I am running it from the C: prompt in CMD line.

Thanks!!!
 

My Computer

System One

  • OS
    Windows 11
Back
Top Bottom