Run As |
Pro Mode is required to use Run As This feature allows you to tailor how packages and their respective steps are executed with respect to credentials. Deploy User This is the most common setting. This means that the package will be executed using the credentials specified during deployment. The Deploy User setting will run each step from a non-interactive Windows process. When to use this setting:
Deploy User (Interactive) This is the same setting as Deploy User with one important exception. The Windows process running the deployment (or Package Step) will be run in interactive mode.
When to use this setting: Do not use this setting if a process needs to modify specific user settings for the logged on user.
Local System This setting will run the deployment (or package step) as the built in System account for the target computer. It is rare that this setting will need to be used. When it is specified the credentials used for the deployment will connect to the target computer, copy any Install Files or Additional Files specified, then run the actual deployment service using the Local System credentials. At this point if the package requires additional access to network resources (such as a File Server) it will, most likely, fail. This is because a remote system will not grant access to a System account of another machine unless that machine has been specifically granted access.
When to use this setting:
Logged On User This setting is similar to Deploy User (Interactive) in that it runs in an interactive process. The main difference here is that the process will executed as the logged on user. If the installation requires permissions or access that the logged on user does not have then the deployment will fail or hang.
When to use this setting: When you need to deploy an application that is installed PER USER. Also, use this setting if you need to modify the HKEY_CURRENT_USER registry hive for the logged on user or when you need to access user specific settings such as %APPDATA% or the logged on user's User directory. Use this setting if the logged on user needs to provide information for the deployment to succeed (such as a license key, a user defined path, etc.)
Where to set Run AsThe list below shows where the Run As can be set in order from lowest to highest precedence.
See Also |