Set View by to Category (top right). Click Network and Internet > Network and Sharing Center .
netsh interface set interface "Ethernet" disable To enable it:
Go to Network & internet (usually the first option in the left sidebar).
netsh interface set interface "Ethernet" enable To set a static IP (example: 192.168.1.100, subnet 255.255.255.0, gateway 192.168.1.1):
Open Control Panel . (Type "Control Panel" in Windows search and select it).
In the left pane, click Change adapter settings .
ipconfig /all To disable an adapter (replace "Ethernet" with your adapter’s exact name):
