When your lan needs to be repaired, you need to right click on the Local Area Connection and then select Repair.
![repair-lan-connection Repair LAN Connection](https://i0.wp.com/techdiscuss.net/wp-content/uploads/2008/12/repair-lan-connection.jpg?resize=276%2C125)
However doing it frequently is bit annoying. You can have a command interface through a batch file or thru Start > Run and then put the below command to repair your net connection through command interface.
netsh winsock reset catalog
or
netsh lan reconnect