i want to change my domain password with an automation tool. since windows blocks the "ctrl+alt+del" keys to be automated or scripted, i am searching for a command line tool to call out of my automation-script. some suggestions what command line tools i should try?

link|improve this question

0% accept rate
Please consider the security implications of this before doing it. In order to set the password from a script, you would need to have the password in plaintext in the script, which is a really bad idea. – nhinkle Aug 18 '10 at 22:34
the script will be used to set a bunch of domainpasswords back to a default password, and it is for testing purposes anyway – Simiil Aug 19 '10 at 7:08
feedback

1 Answer

Quick google nets this: http://teamwork.jacobs-university.de:8080/confluence/display/ircit/How+to+change+the+Windows+domain+password+from+the+command+line

net user username * /domain

link|improve this answer
permission denied – Simiil Jul 7 '10 at 10:33
Needs to be done with administrator privileges. Quote from support.microsoft.com/kb/149427: "Only administrators can change domain passwords at the Windows command prompt." – Joakim Johansson Jul 7 '10 at 11:51
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.