0

I have to deploy some applications in a domain and would like to use WMIC for that. My problem is that I can't run the application as the profile user (without having the password), but just as admin. Is there something like "su username -c my_command" (linux), which works for windows? Thanks a lot!

Regards, Joseph

1 Answer 1

0

Don't know if that's going to fix it, but

runas /user:<username> <command>

That lets you run commands as a different user

1
  • 1
    Unfortunately that'd also ask for the user password, which is not a very good idea :) I guess I'll have to use GPOs for this.
    – JJM
    Jul 18, 2013 at 9:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .