So there are 2 users in local PC: "bob" (unprivileged; member of group Users) and "foo" (privileged; member of both Users and Administrators). I log in with "bob", right-click CMD and "Run as Administrator". So I'm running the entire CMD console as user "foo". How can I get into a variable the user "bob" from here, so I could run some commands such as "runas"? Thanks.