tags:

views:

50

answers:

3

Hello,

How can I run some exe, bat,cmd application under this buildin accounts, is it possible?

A: 

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.

Simon P Stevens
A: 

thanks, but runas not working with buildin system accounts, I use runas but only with regular local/domain accounts.

Any other help/idea, please?

WinGeek
A: 

try this runas /user:Domain\UserName "program or command" eg runas /user:HQ\jdoe "notepad.exe"

Joel Kimilu