Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
    
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
up vote 1 down vote accepted

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

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .