Open In App

How to Create a Virus that Disables the Internet Connection of Windows System?

Last Updated : 01 Nov, 2022
Like Article

In this article, we will discuss the process of creating a Virus file that can disable the internet connection in a Windows Computer System. For this, we don’t have to download any specific software we can start coding in Notepad and save the file as .bat Extension

Now to create the virus follow the below steps:

Step 1: Press the Window + R Button from the Keyboard. This will open the Run Dialog book will Open in front of us. 


Step 2: Type Notepad in the Dialog Box and press Enter. This will open the notepad for us.

Step 3: Type in the below-mentioned code in the Notepad:

@echo off 
IPconfig /release

Step 4: After typing in all the code save the file with the name of your choice. But remember to save the file with .bat extension.

The Virus has been Successfully Created by you but this will only work when it is open by the user.

Note: If the system is affected by this virus then there is only two option left They are as follows:

  1. By using the additional Ethernet Port or the Converter (USB to Ethernet Port & NIC Card).
  2. Restore the Backup of the Computer this will help to restore the NIC Card Driver.
  3. Reinstall the Operating System.

Disclaimer: GeeksforGeeks does not support the spread of ransomware/viruses and if you intend to use this information for malicious purposes, we are in no way responsible. This information is intended to be used for educational purposes only. If the virus file is clicked or opened by the user, resultantly the user won’t be able to connect to the internet.

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads