Step 1: First of all, Press Windows Key + I button on your keyboard to open the Windows 10 Settings app.
Step 2: On the Settings app, open the ‘Network & Internet’ option.
Step 3: Note down the network adapter name you are connected to.
Step 4: Right-click on your desktop and select ‘New > Shortcut’
Step 5: On the Shortcut dialog box, enter the script:
C:\Windows\System32\netsh.exe interface set interface name="XXXX" admin = disabled
Replace the XXXX with your network adapter name that you have noted in Step 3.
Step 6: Once done, click on the Next button. Next, enter a suitable name for the shortcut. You can name it anything you want, like Kill Switch, Stop Internet, etc.
Step 7: Now right click on the shortcut file and select ‘Properties.’
Step 8: Next, click on the ‘Advanced‘ button.
Step 9: Enable the ‘Run as administrator’ option on the Advanced Properties and click on the ‘Ok‘ button.
That’s it! You are done. Now, whenever you want to disconnect the internet, use this desktop shortcut.