I have an application which is installed for each user, I mean in %localappdata%\Programs.
Then I have created activities, one for each user which starts its own application (the one in %localaapdata%).
I want the activity starts when user insert his password.
But it happens this, I have two users A and B. I switch off computer, log A and App starts. Switch off /on computer log on B and both the activities in the task scheduler runs even if I specified the activity to run when user logs.
Is there a way to achieve my goal, have two activities, and run the one the user logged.