Because of an issue on Windows 7 making the wifi signal take priority on the LAN connection. A user could not switch between them.
This is my first script using command prompt (batch-file). Made this because I understood the user rather wanted to click on an Icon to fix this issue.
This was made in the first month of my first job.
Use this code by copying the code to a textfile and save as scriptname.bat and doubleclick to run
First one disabled the Wifi, WifiRFT is the name of the nic
Code:
netsh interface set interface <interfacename> disable
Next one enables the interface again.
Code:
netsh interface set interface <interfacename> enable
Add comment
Comments