how to execute a command as user in windows cmd code example Example: how to use runas in windows runas /profile /user:Admin cmd