Jump to content

Recommended Posts

Posted

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?

Posted
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

Posted
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

Posted

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

Posted
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
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...