How to change windows server’s administrator(user) password via command line – cmd option

Hi all, It’s about windows. Here is a simple way to reset the user (Admin also) password via the CMD (command line).
Let’s dash….

Command:

net user administrator $pass

Where, replace $pass with your own new password.

Step I : Connect to your server via RDP client as ADMIN.
Step II : Click on start button, then search CMD and enter.
Step III : execute the above command here, see the sample below:

cmd

That’s it! 🙂

 

Related posts:
1, The “hosts file” location in windows server.
2, How to check DDoS attack on windows server.

Post navigation

Arunlal A

Senior System Developer at Zeta. Linux lover. Traveller. Let's connect! Whether you're a seasoned DevOps pro or just starting your journey, I'm always eager to engage with like-minded individuals. Follow my blog for regular updates, connect on social media, and let's embark on this DevOps adventure together! Happy coding and deploying!

Leave a Reply

Your email address will not be published. Required fields are marked *