You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
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.
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...
admin rights
administrator
cmd
command prompt
debugging
elevate command
permissions
python
runas command
runaserror
scripting
security
system administration
user account control
user privileges
windows 8