|
|
|
The RunAs parameter allows you to run a program as a different user previously set up
on the workstation. IntraLaunch 4.6 and Windows2000 or higher required.
The parameter RunAs requires the username, password and domain/workstation name. If the password is "Prompt" then IntraLaunch will prompt for the user's password first. Not all programs can be executed under another user. The user's profile is always loaded first and used for the newly executing program, including most user specific registry entries.
If you get the error The application failed to initialize properly (0xc0000142). Click on OK to terminate the application its because the domain/computer name required in the third parameter of RunAs is wrong. Try either the workstation's network name or domain name the user is a part of. Typically %computername% works fine, but ultimately depends on your network setup. Warning: RunAs will switch local workstation accounts only, to switch to a domain/network account please contact support. If your trying to run a program held on a mapped share drive you may have to use a UNC path (\\server\path\...) instead of the mapped path (X:\path\...). Warning: RunAs and Delay are incompatible. If your using the Delay parameter to run a second program it will be ignored if you use RunAs. Warning: RunAs does not handle file associations well. For example the following will not work if your using RunAs:
<PARAM NAME="Run" VALUE="G:\Data\Setup.msi">
<PARAM NAME="RunAs" VALUE="Administrator,Prompt,%computername%"> You should avoid depending on the file association as much as possible, this should be changed too:
<PARAM NAME="Run" VALUE="%sysdir%\msiexec.exe">
<PARAM NAME="RunAs" VALUE="Administrator,Prompt,%computername%"> <PARAM NAME="RunParms" VALUE="/i G:\Data\Setup.msi"> With IntraLaunch 4.8 and higher the password can be encrypted to help hide it within the HTML source. Use the included utility PwdGen.EXE to generate an encrypted version of the user's password such as F8E3AA0F8C159015. The password must be wrapped in brackets.
<PARAM NAME="Run" VALUE="%sysdir%\cmd.exe">
<PARAM NAME="RunAs" VALUE="Administrator,(F8E3AA0F8C159015),%computername%"> |
|||||||||||||||||||||||||||||
|
Web services provided by Extreme Hosting |