Having a one-click switch to turn off or kill internet connectivity in Windows PC is a lifesaver, especially in situations where something suspicious starts on your computer on its own. Creating a custom kill switch on your Windows 10 will assure you that you can instantly turn off the internet connectivity.
In this post, we will guide you on how to create a kill switch in Windows 10 and 11. Letโs get started.
Why Do You Need a Kill Switch on Windows PC?
There are several benefits of having a shortcut to instantly turn on or off your internet. This will help you save your valuable data whenever you feel like something suspicious is happening with your system. By โsuspicious activityโ we mean when your computer starts downloading files on its own, or it starts displaying too many pop-up ads.
You can also consider the kill switch as a panic button that you can use so that you donโt have to get into the hassle of pulling out network cables or turning off your WiFi or even the router itself.
Related: How to Reset Network Settings on Windows 11
Create a Kill Switch in Windows PC
Windows PCs do not come with an instant way to turn off your internet connection. With this workaround, you can turn off your network adaptor so that your PC automatically gets disconnected from the internet. So, letโs check out how itโs done.
Open the Windows 10/11 Settings by pressing the Windows + I shortcut key, and go to โNetwork & Internetโ.
Note the name of the Network Adaptor mentioned under the Network Status. In my case, it is โBKAT Airtel_5Gโ which is the WiFi network I connected to. If you use a wired connection, then your network adaptor name might be โEthernet.โ

Now, go to the Desktop and right-click on a blank area. Select New, and then click on Shortcut.

n the location box that pops up, enter the following address. Remember to replace the โNETโ with the name of your network adaptor. C:\Windows\System32\netsh.exe interface set interface name="NET" admin = disabled
. As mentioned my network adaptor name is โ BKAT Airtel_5Gโ, so for me, the code will be C:\Windows\System32\netsh.exe interface set interface name=" BKAT Airtel_5G" admin = disabled
.

The above code will only work for you if your Windows is installed in the โCโ drive. If it is installed in some other drive, replace โCโ with the drive letter.
Click on Next, and give some appropriate names to your shortcut. For example, โKill Switchโ, โDisconnect internetโ or something of your choice. After that, click on Finish.

Once you are done with the above method, right-click on the newly created shortcut and select Properties.

In the Properties window, click the Advanced button.

On the pop-up screen, check the option Run as administrator. After that click on โOKโ, and then โApplyโ to finish the process.

Now you just created the internet kill switch for your PC. But hang on. Do not use the kill switch yet, as you will first have to create a reconnect switch so that you can instantly enable an internet connection on your computer.
Related: Upgraded to Windows 11? Here are the Best Windows 11 Tips and Tricks
Create an Internet Reconnect Switch in Windows PC
Now you created a kill switch to instantly get disconnected from the Internet. But a kill switch is incomplete if you donโt have a shortcut to re-enable the internet. Letโs take a look at how to create a reconnect switch.
Right-click on a blank area on your desktop and click on New > Shortcut.

In the location dialogue box that pops up, enter the following code: C:\Windows\System32\netsh.exe interface set interface name="NET" admin = enable
Again, make sure to replace โNETโ with your network adaptor name.
Now click Next, and give an appropriate name to your shortcut like โEnable Internetโ. Then click on Finish.
Right-click on the newly created shortcut, i.e โEnable Internetโ and then go to Properties > Advanced.
Check the option Run as administrator for this shortcut as well. Complete the process by clicking on โOKโ and then โApplyโ.

Thatโs it. Now you have both, kill switch, as well as internet enabling the switch. It is time to test the internet kill switch and reconnect the switch on your Windows 10/11 PC.
Related: How to Get Airdrop on Android & Windows
How to Use Internet Kill Switch in Windows PC
To kill the internet of your computer or laptop in one click, here is how you can do it with the shortcuts we just made.
Go ahead and double-click on the kill switch shortcut to turn off your internet. Click on โYesโ to the permission asked by Network command Shell. Thatโs it, the kill switch will turn off your network connectivity.
If you want to reconnect your internet, just double click on the โreconnectโ shortcut And click on โYesโ to the permission act by Network Command Shell.
We had created the kill switch for one network that we regularly use. If you are the kind of person who switches places or travel often and connects to multiple WiFi networks at home or office, you need to create a kill switch for each of these networks. Thatโs very much the same way and simple to do. You only need to replace the โNETโ part in the above-mentioned codes with the network name you want to create a kill switch for.
So, this was all about the internet kill switch on Windows PC. We hope this trick will help you to instantly turn on-off your internet connection. In case you get stuck with something, do let us know through the comments below.