Unable to connect to network windows OS | Network Reset
If you are unable to connect to Ethernet or WiFi on a fresh or an existing installation of windows OS, run the commands below to refresh network settings on your device.
ipconfig /release
ipconfig /renew
ipconfig /flushdns
Netsh winsock reset
net localgroup administrators localservice /add
fsutil resource setautoreset true C:\
netsh int ip reset resetlog.txt
netsh winsock reset all
netsh int 6to4 reset all
Netsh int ip reset all
netsh int ipv4 reset all
netsh int ipv6 reset all
netsh int httpstunnel reset all
netsh int isatap reset all
netsh int portproxy reset all
netsh int tcp reset all
netsh int teredo reset all
Netsh int ip reset
Netsh winsock reset
You can also reset the network in win 10 and win 11. Refer to screenshots below –

