Here's the code:
Code: Select all
^f5::
run, *runas %comspec% /c netsh interface set interface name="[NETWORK ADAPTER NAME]" admin=disabled,,hide
return
^f6::
run, *runas %comspec% /c netsh interface set interface name="[NETWORK ADAPTER NAME]" admin=enabled,,hide
return