I am trying to execute this command which allows me to switch between Lan line and wireless .
C:\Windows\system32>netsh interface set interface name="Ethernet" admin=DISABLED
I have tried
"runas /user:administrator C:\Windows\system32>netsh interface set interface name="Ethernet" admin=DISABLED"
when I execute it using notepad as double click, nothing happens, but when I go to cmd, execute CMD as ADMIN and copy and paste
"netsh interface set interface name="Ethernet" admin=DISABLED"
then lan gets disabled,
I wanna double click the notepad(.BAT) file and want it to execute but something is not allowing it to execute. any ideas?