Показать сообщение отдельно
Старый 29.02.2016, 10:50   #316
Lexx09
Старший Пользователь
 
Регистрация: 18.04.2009
Город: Краснодар
Регион: 23, 93
Машина: Приора хэтчбек
Сообщений: 977
Lexx09 has much to be proud ofLexx09 has much to be proud ofLexx09 has much to be proud ofLexx09 has much to be proud ofLexx09 has much to be proud ofLexx09 has much to be proud ofLexx09 has much to be proud ofLexx09 has much to be proud ofLexx09 has much to be proud ofLexx09 has much to be proud ofLexx09 has much to be proud of
По умолчанию

seriousstas, вариантов много:
  1. С помощью devcon:
    devcon enable/disable <hardware id>
  2. С помощью netsh:
    netsh interface set interface "Local Area Connection" DISABLE
    netsh interface set interface "Local Area Connection" ENABLE
  3. Прописать то же самое в Autoit-скрипт:
    #include<Process.au3>
    _RunDOS('netsh interface set interface "Local Area Connection" DISABLE') ; выкл "Local Area Connection"
    _RunDOS('netsh interface set interface "Local Area Connection" ENABLE') ; вкл "Local Area Connection"
Посмотри тут и тут.

Погугли на тему включения/отключения сетевого адаптера...
__________________
Приора хэтчбек
Win7 x64 Pro, Intel Core i3-3240 Ivy Bridge 2x3.4GHz HT, DDR3 2x4Gb, SSD SiliconPower Ace A55 128GB SATAIII, ASRock B75M-ITX, M2-ITX rev.2F, GPS Beitian BN-808, Logitech Wireless Touch Keyboard K400r, ИК-пульт Prology RCD-350, круиз-контроль...
Lexx09 вне форума   Ответить с цитированием