Skip to content
Related Articles

Related Articles

Improve Article

How to Create a Virus to Open Multiple CMD Windows Automatically ?

  • Last Updated : 21 Apr, 2021
Geek Week

The virus that we are going to create in this article will automatically open up multiple CMD windows in the victim’s Windows PC.

This is an annoying type of Virus because as per the heading this is capable of opening multiple CMD window screen in front of the user without allowing the user to open any other file that he/she wants to work after the activation of this virus file, and also freeze the PC.

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:

:A
START
goto A

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 opened by the user once.

To Resolve this problem the user must restart the PC. 

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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :