Do you want the task to run when any user logs on or just when the current user logs on? If you're doing something like having some code check for updates or ensure something is running in the user session, then I would suggest you create the task as part of your installation that will run with elevate permissions.
↧