Horje
How to Change Windows Computer Password using CMD?

For security purposes, it is really important to keep your Windows computer password-protected, windows passwords changed every couple of months add more protection to the computer. It’s really quick and easy to change the password using Command Prompt (CMD) due to its efficiency. You can also change other user’s passwords, along with yours as long as you have the administrative power.

Step 1: Opening the Command Prompt on Windows

Click on the Search Menu on the Windows taskbar

Screenshot-2024-06-04-100742

Step 2: CMD in the search bar

Type cmd in the search bar and the Command Prompt (CMD) will be displayed on the Search Menu.

Screenshot-2024-06-04-101403-(1)

Step 3: Open Command Prompt as administrator

Click on the run as administrator tab and open the Command Prompt (CMD) along with administrative power.

Screenshot-2024-06-04-101451

Step 4: Confirmation

Confirm this choice by clicking Yes when prompted on the windows with a message.

Step 5: Number of users

Type following command into the Command Prompt and press Enter. Names of different account will be displayed on the screen.

net user
Screenshot-2024-06-04-101751

Step 6: Changing password

Then type the following command and press Enter:

net user [username] [newpassword]

Replace “[username]” with the username of the account whose password you want to change, and “[newpassword]” with the new password you want to set.

Screenshot-2024-06-04-101949

Step 7: Confirmation

After pressing the Enter key, there will be a message that the command completed successfully. Close Command Prompt and log in with the new password.

Screenshot-2024-06-04-102011

Using CMD to change your Windows computer password is an effective and straightforward process. By following the steps outlined in this guide, you can quickly update your password and enhance your system’s security. This method is particularly useful for users who prefer command-line solutions.

How to Change Windows Computer Password using CMD – FAQs

Do I need administrative power in Command Prompt to Change the Password?

Yes, you need to open Command Prompt as an administrator user, that will give you administrative privileges and then follow these instructions to change the password.

How to check names of the users present in the Computer to Change the Computer Password using CMD?

Type the command “net user” into the Command Prompt and press Enter. Names of different account will be displayed on the screen.

How to open CMD from Run as an administrator account?

If you are using the “Run” box to open apps, you can use that to launch Command Prompt with admin privileges. Press Windows+R to open the “Run” box. Type “cmd” into the box and then press Ctrl+Shift+Enter to run the command as an administrator.




Reffered: https://www.geeksforgeeks.org


TechTips

Related
How to Print a Password Protected PDF File with Google Drive? How to Print a Password Protected PDF File with Google Drive?
Best Disk Speed Test Apps for Accurate Performance Analysis Best Disk Speed Test Apps for Accurate Performance Analysis
How To Hard Reset Your Chromebook? How To Hard Reset Your Chromebook?
Apple Pencil Not Working! How to Fix It? Apple Pencil Not Working! How to Fix It?
How to install Boost on Ubuntu? How to install Boost on Ubuntu?

Type:
Geek
Category:
Coding
Sub Category:
Tutorial
Uploaded by:
Admin
Views:
23