I sometimes use psexec to connect to our windows domain users' computers from remote. What I want to do is to run some programs with non-admin domain user's account (e.g. currently logged in user) and not to enter that user's password. I did try "runas" but it does not work as I want. Note: I use the domain administrator's account to connect.
Is there a command like
$ su [username] -c "somecommand" in windows 7 or 8 or 10?.