Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Disabling network adapters

20 Jan 2014   #1
rocks911

Windows 7 home premium 64 bit
 
 
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?


My System SpecsSystem Spec
.
20 Jan 2014   #2
archer

Windows 7 ultimate x64
 
 

Hey rocks911,

Hope this small tutorial can help you and you get what you are desiring to do.
My System SpecsSystem Spec
20 Jan 2014   #3
Ccasarguedas

Windows 7 Ultimate SP1 64 Bits
 
 

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.
My System SpecsSystem Spec
.

20 Jan 2014   #4
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by rocks911 View Post
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?
Quote   Quote: Originally Posted by archer View Post
Hey rocks911,

Hope this small tutorial can help you and you get what you are desiring to do.
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.

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
Replace "Local Area Connection" with the exact text for each adapter of interest.
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)

Disabling network adapters-disable.png

Repeat the steps above using the code/text below for enable.bat
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
edit:
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.


My System SpecsSystem Spec
20 Jan 2014   #5
UsernameIssues

W7 Pro SP1 64bit
 
 

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 :-)


Quote   Quote: Originally Posted by Ccasarguedas View Post
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.
Ccasarguedas,
Nice addition to the thread.
My System SpecsSystem Spec
Reply

 Disabling network adapters




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Different network adapters
Hi all, Besides the basic Ethernet and Wifi adapter, what are the other adapters used for. Microsoft Virtual WiFi Miniport Adapter #1 Microsoft Virtual WiFi Miniport Adapte #2 Thanks
Network & Sharing
Unidentified Network; No Network Access - Powerline Adapters
Hello 7Forums. I'll start off with the scenario that brings me here. Today, I managed to redecorate my bedroom; where my computer sat on top of a shaky, wooden desk. That desk is now gone, caput, and replaced by a much bigger, sturdier and prettier glass replacement. Before I dissasembled...
Network & Sharing
Use different powerline adapters on same network?
Hi. At the moment I'm using Netgear AV200 powerline adapters and need to add 2 more adapters to my setup. Do I have to stick with Netgear or can I use another brand if they are both compliant with HomePlug AV1 standard and the same speed (200Mbps)? Edit: Well apparently all powerline...
Network & Sharing
Problem with network adapters
I can see my network adapters having problems. I don't know why this happened but its worrying me. But I can still connect to the Internet. There is about a hundred devices under "network adapters" in the Device Manager that has this yellow warning sign. All of them had this except the SiS91...
Hardware & Devices
Many Network Adapters
Hi, I just noticed I had over 200 adapters but everytime I reboot it creates new ones Its the 6to4 adapter ... I have a red cross on the network icon on the right clock toolbar and everytime I try and open up a browser it freezes but I can get onto skype and update windows Any ideas ...
Network & Sharing
Need network adapters
I've reinstalled Windows 7 HP 32-bit on my mates Acer Aspire 5551 laptop. Everything is fine with the exception of the network adapters. Both the Ethernet and Network controller listed in the Device Manager have the yellow exclamation mark. As there is no Internet connection listed how do I...
Drivers


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:05.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App