There any way where I can run a task using another admin ID. We have a situation where we are not able to get desired output using default action hence its must to run that task to a specific ID & passwd but not sure how to insert it or run it with that task.
To perform this task user must have that application’s admin, now here system user cant. And I am not aware how to do it with current user, as per my understanding if we go for current user then that user has to be logged in all endpoints where we are trying to run this task, is it ?
There is a way to use runas command but not sure how to use that in this task.
You can use the runas=currentuser to run it as the user that is logged in (so this can be different users on different machines, make sure they have enough rights etc). Remember that, when you send the action, to select in the tab “users” to run only the action when a user is logged on.
It is best if you can get it to work from the System account, but you can do exactly what you are asking using PSExec.
You specify the user name, and you can provide the password using a secure parameter so it is encrypted throughout the system with a key only available on the targeted endpoints.
The username and password you use must already be on the endpoint, or perhaps an AD user.