Jun.14

Windows Server 2012 R2 losing network connection after reboot

Many users around the internet report that Windows Server 2012 R2 loses network connection after reboot. Today I had the same problem. I have basic home network plugged into a wired TP-Link router bridged to a DSL modem. All computers on the local network are accesible, but there no internet connectivity after reboot. To fix it, I tried o disable my NIC then re-enable it and then I get internet connectivity. I’ve tried deleting and re-installing the driver, looking for updates etc.

 

So, what is a solution?

 

Create a Windows Scheduled Task (taskschd.msc or Control Panel\System and Security\Administrative Tools\Task Scheduler) with a Trigger: begin the task At start up and in the Advanced settings delay task for 10 seconds. Then add an Action to Start a program and select your .bat script.

 

.bat script content:

 

@echo on
timeout /t 10
netsh interface set interface “Local Area Connection” DISABLED
timeout /t 10
netsh interface set interface “Local Area Connection” ENABLED

Tags:
Share this Story:
  • facebook
  • twitter
  • gplus

Leave a comment