All warmth and beaver.
Nakodil a program, changes MAC on the local PC.
But the MAC is applied either after a reboot or after an on / off network connection.
The question on which could not find information on the network.
So the question is: how to make the network connection on / off?

    1 answer 1

    Run the command line:

    netsh interface set interface name="Имя сетевого адаптера" disable netsh interface set interface name="Имя сетевого адаптера" enable 

    If there are questions about how this is done, see the help for the CreateProcess function.

    • something like that about wmic wrote ... - I_CaR
    • more on this topic: Wmic nic get name, index //(получим Х) Wmic path win32_networkadapter where index=[X] call disable Wmic path win32_networkadapter where index=[X] call enable - I_CaR