I've got assigned an additional domain user account user2
, with a password P@ssw0rd
, that must be changed, before I can start using the account.
I don't want to log into user2
from the Windows logon screen; instead I want to change user2
's password from my current user user1
, and then use the user2
account using e.g. runas commands.
If I try to change user2
's password by net user user2 NewP@ssw0rd /domain
, I get the error:
System error 5 has occurred.
Access is denied.
How can I change user2
's password without logging into the account from Windows logon screen?