I need to run the "runas" command for log on automatically an Application User, on an Active Directory. Then I need run an executable file.
Can I do this in some way or work around to do not type the password?
Runas might not be supported but you could use a freeware utility CPAU http://www.joeware.net/freetools/tools/cpau/index.htm
This utility will allow you to launch an application using a different set of credentials then the current user. The neat advantage with CPAU over runas is that you can specify both the username and password at runtime. With the runas command you'd first have to configure a cached credential or be prompted for password at each run.
Using CPAU to launch iexplore.exe you could use a statement like:
from cmd prompt:
from powershell script:
what about RUNASSPC? You create an certificate for needed program, the password et. is saved as encrypted file so for example guest user can run only the particular software as administrator.
and the license: