#1
  1. No Profile Picture
    Certified Genius
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Location
    over there
    Posts
    77
    Rep Power
    13

    selective startup based on login


    how do i go about having certain apps or services run at startup based on the login?

    for example if i login as myself the normal stuff will load, but if i login as a developer then iis, sql server, etc will startup but nothing else...thanks, rob
  2. #2
  3. Wiking
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Sep 2000
    Location
    Sweden
    Posts
    3,608
    Rep Power
    26
    I don't hink you can configure the service itself to start depending on who's logging in. But an alternative could be to create some scripts to start/stop those services. Then you would have to set those services to startup manually, and when you log in as developer, create a script with net start IIS, net start SQL etc, and place it in your startup folder. You might also wanna throw in a few net stop service in that script as well...
    And have another similar script which starts/stops services when you log in as a normal user...

    //NoXcuz
    UN*X is sexy!
    who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep

IMN logo majestic logo threadwatch logo seochat tools logo