KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
This Stack Overflow question suggests a command which looks as if it should work, but it doesn't (that answer is deleted now, though): Single line command for Run as a different user on Window 7 that contains a password also The command would be: echo PaSsWoRd | runas /user:Administrator cmd However it says: unknown user name or bad password. The details are definitely correct though. For example, if I was to run: runas /user:Administrator ...and on the next line, if I typed in PaSsWoRd , it would work no problem.
Tags (comma-separated)
Save Edits
Cancel