Page 1 of 1

runas when user has no password

Posted: 2023-Dec-15, 11:21 am
by justjason
Is there a way to execute the runas command ( from a current admin account ) on an account that has no defined password.
Runas asks for the account password, and if left black, the command fails with

Code: Select all

RUNAS ERROR: Unable to acquire user password
In a similar fashion , ssh in to such an account ? same issue

Re: runas when user has no password

Posted: 2023-Dec-28, 7:25 am
by Pranav
justjason wrote: 2023-Dec-15, 11:21 am Is there a way to execute the runas command ( from a current admin account ) on an account that has no defined password.
Runas asks for the account password, and if left black, the command fails with

Code: Select all

RUNAS ERROR: Unable to acquire user password
In a similar fashion , ssh in to such an account ? same issue
Executing the "runas" command on an account with no defined password is difficult since leaving the password blank causes the command to fail. Consider creating a password for the account to ensure proper execution.