Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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