New
#1
Disabling network adapters
I'm running a W7 64 bit machine and was wondering if there is an easy way to temporarily disable Network Adapters on my machine?
I'm running a W7 64 bit machine and was wondering if there is an easy way to temporarily disable Network Adapters on my machine?
Some motherboards also allow you to disable the adapter right from the BIOS. It depends on your Motherboard model. You could try the suggestion above, is faster to enable/disable. But if you consider to disable it and not enable it for a long time you could also try the BIOS setting.
In the link that archer posted - below the video - there is a screenshot showing a right-click on an adapter. In that context menu, there is the option to create a desktop shortcut. If you are going to disable/enable one or more network adapters often, then you might want to create a shortcut on your desktop to each adapter of interest.
Once you have a desktop shortcut, you can right-click on that shortcut and select Disable from the context menu. When you want to enable that network adapter, you can right-click on that shortcut and select Enable from the context menu OR simply double click on that shortcut (since Enable is the default action).
If you would rather not have shortcuts like that on you desktop, then perhaps a batch file would be more to your liking.
Enable file extensions - if need be:
File Extensions - Hide or Show
Create a new text file in whatever folder you like.
Open that new file in notepad.
Paste in this code.
Replace "Local Area Connection" with the exact text for each adapter of interest.Code:netsh interface set interface name="Local Area Connection" disable netsh interface set interface name="Local Area Connection 2" disable netsh interface set interface name="Local Area Connection 3" disable netsh interface set interface name="Local Area Connection 4" disable
Save the text file.
Exit notepad.
Rename the text file and the extension to this disable.bat
Create a shortcut to that batch file and set it to always run with elevated privileges.
(See option six of this tutorial Run as Administrator)
If desired, place that shortcut on the desktop or in the Start menu.
If desired, assign a Shortcut key to the shortcut. (e.g.Ctrl-Alt-D)
Repeat the steps above using the code/text below for enable.bat
edit:Code:netsh interface set interface name="Local Area Connection" enable netsh interface set interface name="Local Area Connection 2" enable netsh interface set interface name="Local Area Connection 3" enable netsh interface set interface name="Local Area Connection 4" enable
I have seen parents use this to keep children offline at times.
If the children use standard user accounts...
...and if the children do not know the password to an admin account
...then they cannot (easily) enable the network adapters.
IE10 and IE11 offer to enable one of the network adapters via the network troubleshooter, but it still requires an admin to do that. The parent might also have to password protect BIOS and prevent booting to CD/DVD/USB.
Last edited by UsernameIssues; 20 Jan 2014 at 12:54.
rocks911,
You picked an excellent/simple/concise title for your thread. I can guarantee you that search engines like Google will lead many other people to this thread in the future. It is good to list as much info as possible (within reason) in a thread like this - so Ccasarguedas info below is great for those that want to disable a network adapter for longer periods of time
Ccasarguedas,
Nice addition to the thread.