Batch password change
Greg3039
-
little boy62 Posted messages 4393 Registration date Status Member Last intervention -
little boy62 Posted messages 4393 Registration date Status Member Last intervention -
Hello, I’d like to know if it’s possible to create a batch script (.bat) that changes the PC’s password. I know it can be changed via cmd but with a .bat I don’t know how to proceed...
I have a second question: Is it possible to retrieve the password with a batch script and automatically send it by email once retrieved
Thanks in advance
I have a second question: Is it possible to retrieve the password with a batch script and automatically send it by email once retrieved
Thanks in advance
1 answer
-
Hello,
Yes, it’s possible with the NET USER command, here’s an example:
net user Greg3039 cocorico
This is to change the password of the account Greg3039 to cocorico.
For the second question the answer is no, we can certainly send an email but we cannot retrieve a password.
“Artificial intelligence is defined as the opposite of natural stupidity.”-
-
Lu'
Par contre, supprimer un mot de passe, c'est relativement simple. https://www.malekal.com/ajouter-modifier-supprimer-mot-de-passe-utilisateur-windows-7-8-windows-10/#En_ligne_de_commandes
Le récupérer, c'est le contraire.
-