Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Start & Stop Programs @ Session Connect & Disconnect

Reply
Thread Tools Display Modes

Start & Stop Programs @ Session Connect & Disconnect

 
 
Urbane Tiger
Guest
Posts: n/a

 
      08-16-2008
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.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW to Stop STartup Programs that do not show in the "startup" folder or have options in the programs to not start at windows startup james Windows Vista Installation 3 06-30-2008 12:22 AM
Stop auto programs when windows start sake Windows Vista Installation 1 05-23-2008 10:43 AM
why can't i stop one of the start up programs? itsbigdan Windows Vista General Discussion 2 03-07-2008 02:05 AM
wireless network connect/disconnect A Call Windows Vista Networking 2 10-11-2007 05:46 AM
Getting Disconnect/Connect wave event Clark Windows Vista Performance 1 06-22-2006 02:26 PM



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 47 48 49 50 51 52 53 54 55 56 57 58 59