Hello,
How can I run some exe, bat,cmd application under this buildin accounts, is it possible?
Hello,
How can I run some exe, bat,cmd application under this buildin accounts, is it possible?
I presume you are talking about Windows. You can use runas command, or you can check out the sudo for windows project over at source forge which adds a sudo command.
Syntax:
runas [{/profile|/noprofile}] [/env] [/netonly] [/smartcard] [/showtrustlevels] [/trustlevel] /user:UserAccountName program
Just run:
runas /noprofile /user:AccountName cmd
Also, see this question on SuperUser.
thanks, but runas not working with buildin system accounts, I use runas but only with regular local/domain accounts.
Any other help/idea, please?
try this runas /user:Domain\UserName "program or command" eg runas /user:HQ\jdoe "notepad.exe"