Error using Run Script Task
Hi,
I am trying to create a job that uses the Run Script task and I want to run it as a specific user. However when I add the user an error comes up saying "Network path was not found".
When I run as System it installs fine. DS 6.5
I am not experienced at all with DS so please be patient. Also we have many packages that either contact a database for License and database server details and some that copy files from network location during installation. If we deploy under system context they fail. What is the best practice way of setting up this scenario? Do we create a domain service account that has local admin to install to the PC and user access to the domain so it can access databases and File shares?
Any advice would be appreciated.
I think you answered your own question...
What you suggested about creating a service account that is an admin of the workstations and a user of the domain is perfect. Just make sure the service account doesn't have any more rights than it needs on the domain or you could have a security issue. Also, you will need to ensure that during the installs, no one logs on or your scripts can fail, especially if part of your logon script maps to the servers that you are trying to run (multiple users to the same server from the same client machine does not work).
Thanks for that info. So can
Thanks for that info.
So can the service account get added at a global level in DS so all scripts and Software deployments use this account or is it when each job is created?
Or does the DS Agent run as this user?
Default is the System User
I believe the default setup is to use the System User account of the target computer. If you want something different than that, you will need to do it on a job by job or task by task basis.
Would you like to reply?
Login or Register to post your comment.