Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Start & Stop Programs @ Session Connect & Disconnect

Reply
 
Old 08-16-2008   #1 (permalink)
Urbane Tiger


 
 

Start & Stop Programs @ Session Connect & Disconnect

Vista Business-SP1

I want to start a program when a User Connection starts and stop it when a
User Connection stops.

I have four user accounts which I switch between (they are more like
workspaces), I have a desktop application that I want to use for each
account and I want to see the same data in all four accounts.

So I planned on setting up two scheduled tasks for each account

1. triggered by "On Connect to User Session" to starts the program
2. triggered by "On DisConnect to User Session" to use KILLTASK to end the
program

Both tasks display message before taking the respective actions

I set up the tasks for one User Account with the intent of "cloning" them to
the other 3 accounts

As far as I can see the scheduled tasks are never executed.

This is my first attempt to use the Task Scheduler.




My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
programs stop working before they start. Vista performance & maintenance
How to detect session start and stop? .NET General
Network Idle Session Time to Automatically Disconnect Tutorials
Stop auto programs when windows start Vista installation & setup
why can't i stop one of the start up programs? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46