runas error

About this tag
The runas error occurs when attempting to run a command or program with different credentials using the runas command in Windows. A common instance is the error code 1326, which indicates that the user name or password is incorrect. This can happen even when the password is entered correctly, often due to issues with the administrator account being disabled, the account not having a password set, or the user account control (UAC) settings interfering. Troubleshooting steps include verifying the administrator account is enabled, ensuring the password is correct, and using an elevated command prompt. The runas command is frequently used to elevate commands or scripts, such as launching cmd.exe as administrator from a non-admin context.
  1. metulburr

    Windows 8 how to elevate a command via cmd.exe

    I am trying to elevate a command given (in this case just another cmd.exe) if the user is not admin. However i get the error: C:\Users\metul_000>runas /user:administrator cmd.exe Enter the password for administrator: Attempting to start cmd.exe as user "WINDOWS8\administrator" ... RUNAS ERROR...
Back
Top