How to reset a network connection in Windows 10 with a batch file

Microsoft

Network connections in older or repurposed PCs may stop working for no apparent reason. Users can overcome this frustrating situation by running a simple batch file.