Windows 10: W10 network reset - Anniverdary build

  1.    13 Feb 2017 #1

    W10 network reset - Anniverdary build


    Hi all,

    As we all know, if we select the Start button, then select Settings > Network & Internet > Status > Network reset.
    On the Network reset screen, select Reset now > Yes to confirm, this will uninstall your network card and prompt you to reboot the pc. Upon Windows starting up again, the network card you just installed will install again, and your connection will be live once more.

    My question is this: Does any one know the command to do this from the command line ?

    I building a pc, where the end user will not need to know how to do this, or why it has to be done. All I want them to do is click on an icon on the desktop that runs a batch file and does it all for them.

    TIA
      My System SpecsSystem Spec

  2.    13 Feb 2017 #2

    This might help.
      My System SpecsSystem Spec

  3.    13 Feb 2017 #3

    Thanks swarfega, but that tells me how to uninstall the network card, after all other options are exhausted.

    I wish to know how to run the equivalent of the network reset from the command line... surely it is possible ????
      My System SpecsSystem Spec

  4.   My System SpecsSystem Spec

  5.    13 Feb 2017 #5

    fantom105 said: View Post
    Thanks swarfega, but that tells me how to uninstall the network card, after all other options are exhausted.
    I wish to know how to run the equivalent of the network reset from the command line... surely it is possible ????
    If you read the whole article it shows you how to use the netsh command.
      My System SpecsSystem Spec

  6.    13 Feb 2017 #6

    Swarfega, are you thinking that I start with netsh winsock reset and press Enter?

    To me, following all the commands listed will do all the resets but to the best of my knowledge it won't 'uninstall' the network card.... but maybe I'm wrong??
      My System SpecsSystem Spec

  7.    13 Feb 2017 #7

    What are you trying to do?

    Network reset (as you describe in your first post) is not going to "uninstall your network card" as you put it. It doesn't do that. Nothing short of physically pulling the card out will "uninstall" it.

    You can use the netsh command to reset various things but it isn't going to uninstall it the card. You could uninstall the drivers using pnputil or dsim but I can't imagine for the life of me why you would want to so perhaps I'm misunderstanding your question.

    It would help if you explained what your goal was and why do you want to make a batch file to change networks without the user knowing.
      My System SpecsSystem Spec

  8.    14 Feb 2017 #8

    Thanks all for replies.

    Maybe I'm not wording this correctly.

    In w10 there is a bug where at a some random stage you won't be able to browse the internet. You can reset your TCP/IP, flush dns etc etc as many times as you wish but it won't fix the problem.

    The manual solution is goto device manager,and uninstall your active network card wifi/lan, reboot and let windows reinstall it again.

    That is what the network reset button does. It's a known fault and the network reset button is the MS way to fix it.

    It has happened to me, and on machines belonging to friends (inc machines upgraded to w10 and machines that were bought new with w10 preinstalled)

    Quite simply, I wish to run 'network reset' from a batch file.
      My System SpecsSystem Spec

  9.    14 Feb 2017 #9

    I see. From swarfega's link you could put these in a batch file to reset the network adapter.

    Code:
    netsh winsock reset
    netsh int ip reset
    ipconfig /release
    ipconfig /renew
    ipconfig /flushdns
    I'm not sure how you'd do the last step of automatically removing the network adapter.

    It looks like you could download devcon and use that but it seems you need to specify the device.

    Something like
    Code:
    devcon -r 
    remove "@PCI\VEN_10B7&DEV_9200&SUBSYS_00D81028&REV_78\4&19FD8D60&0&58F0" 
    but you'd have to replace the bit in red with your device which you can get from devcon listclass net Source

    Can't think of a better way I'm afraid. Perhaps someone else can.
      My System SpecsSystem Spec


 

Related Threads
Network & Sharing Network Data Usage - Reset in Windows 10 in Tutorials
How to Reset Network Data Usage in Windows 10 Windows 10 includes a feature to let you view the network data usage of the PC from the last 30 days. The data usage is itemized per type of network (ex: Wi-Fi or Ethernet), and by app usage. This...
How to Cleanup and Reset Network Adapters in Windows 10 The netcfg d command can help solve connection problems you might have after upgrading from a previous version of Windows to Windows 10, as well as fix problems where you can connect to the...
One or more network protocols are missing on this computer Restore network protocols to default settings Yesterday I upgraded my previous build of Win 10 Pro (64bit) to the new 1155 build. I had failed to uninstall either bitdefender or...
How to reset network statistics in Network and Sharing
hello recentrly i upgraded from windows seven to 10 and i noticed a little feature that i want to disable: the network bytes received/sent do not reset after a system shutdown like it happens in windows seven. I would like the network...
I can no longer see my Network Attached Storage in this build(10049) Enterprise. I have Network Discovery enabled and can get to the device by IP Address in a browser but am unable to map a drive to any share. Anyone else having these issues. I have...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 06:43.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums