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

Engineer. Linux enthusiast. Traveller. DevOps learner and practitioner. I enjoy working with Linux, DevOps, automation, and technology while exploring new places along the way. I use this space to share my experiences, learnings, experiments, and things I discover along the journey. Whether you're a seasoned DevOps professional or just getting started, let's connect, learn, and grow together. Happy coding, automating, and deploying!

Leave a Reply

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