New
#1
Shortcut to enable/disable network (wired)
Sorry if I missed it but it seems there is none posted under Shortcuts nor Internet & Network. I've tried searching for a solution but found no proper for Win10.
There was at least one working in Win7 but it seems to have changed in Win10.
I'm not looking for Wireless or Airplane just simple wired Ethernet LAN.
Thanks in advance
ifive
Solved by T0mmy1977
- Create a batch file to execute the command below:
- netsh interface set interface name="Local Area Connection" admin=disabled
- Subsitute the actual network connection name if it isn't "Local Area Connection".
- Copy the batch file and change "disabled" to "enabled" for reactivation.
- Use "Create shortcut" on both, right-click and set "Shortcut" > "Advanced..." > "Run as administrator".
- Proper icons can be changed using "%SystemRoot%\system32\imageres.dll" in "Shortcut" > "Change Icon...".
- If you prefer white use "%SystemRoot%\system32\pnidui.dll" instead.
Last edited by ifive; 17 Mar 2016 at 07:28. Reason: Solution