Phuket IT

Computer => IoT & Network Solutions => Topic started by: aegkaluk on 11, 03, 2013, 12:04:53

Title: Bat file Restart Network Adapter
Post by: aegkaluk on 11, 03, 2013, 12:04:53
Code: [Select]
netsh interface set interface "Local Area Connection" DISABLED
netsh interface set interface "Local Area Connection" ENABLED

"Local Area Connection" = your network adapter name

Ref : http://stackoverflow.com/questions/3926309/disable-network-connection-using-batch-file