Kicking a Windows script with a specific user

(imported topic written by mueno)

Is there any way to kick a script on a Windows client using a specific user account?

(imported comment written by SystemAdmin)

I don’t believe there is. It either runs by default as SYSTEM or you can runascurrentuser. You can however add checks in the relevance to make sure the current user is an admin or has the permissions you need.

Here’s a little more info on runascurrentuser:

https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14755262&#14755262