Hightower Posted February 18, 2011 Posted February 18, 2011 Anyone know how to load the change password screen from a run command? Instead of pressing control-alt-delete and clicking change password I was hoping there would be some kind of command like password.cpl that allows the user to change their password? Any ideas?
JoeBloggs Posted February 18, 2011 Posted February 18, 2011 not sure about bringing up the actual screen but; net user user_name new_password
Hightower Posted February 18, 2011 Author Posted February 18, 2011 not sure about bringing up the actual screen but; net user user_name new_password Does that work for domain passwords? i.e. net user DOMAIN\User password
JoeBloggs Posted February 18, 2011 Posted February 18, 2011 To change a user's password at the command prompt, log on as an administrator and type: net user user_name * /domain When you are prompted to type a password for the user, type the new password, not the existing password. After you type the new password, the system prompts you to retype the password to confirm. The password is now changed. Alternatively, you can type the following command: net user user_name new_password When you do so, the password changes without prompting you again. This command also enables you to change passwords in a batch file. Non-administrators receive a "System error 5 has occurred. Access is denied" error message when they attempt to change the password. How to Change User Password at Command Prompt
MK-2 Posted February 18, 2011 Posted February 18, 2011 use something like autoit (that is quite simple) to knock up a GUI that will use the current persons username and just ask for new password in a box and do the net command from it. pretty sure the net command works on domain if you tell it to
Hightower Posted February 18, 2011 Author Posted February 18, 2011 Ah, it says it fails when non-admin tries it. I need it to do this for non-admin users.
MK-2 Posted February 18, 2011 Posted February 18, 2011 what you could do (altho starting to involve more work) is tell the autoit program to run as admin. it will only change the current logged on user so can't be abused, but would run as admin privileges
X-13 Posted February 18, 2011 Posted February 18, 2011 Ah, it says it fails when non-admin tries it. I need it to do this for non-admin users. You can do it FOR a non-admin, but not FROM a non-admin. If you want to change the passwords of non-admin users you still can, as long as you do it on an account with admin rights.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now