Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I disable/enable specific services from starting up on windows load for specific users on my PC?

Practical example:

  1. UserA, the developer, needs to have all the services available at windows start (SQL Server, Xampp etc.);

  2. UserB, the gamer, does not need any of the database services to start for his logon.

If I use the msconfig utility it is applied to all the users.

share|improve this question
1  
In services, double click the service you wish to restrict, go to the "log on" tab and select "this account" radio button and allow the account you wish to use the particular service. –  Moab Oct 12 '12 at 16:15
    
That won't do, Moab; that'll only run the service with the given credentials, not control when it does and doesn't run. See my answer below for the best option available. –  Aaron Miller Oct 12 '12 at 18:19
add comment

2 Answers

up vote 1 down vote accepted

You can't; Windows services start at boot, not at logon. Your best option here would I think be to set the services in question to manual start, then use Group Policy Editor to define logon/logoff scripts for each user, using "net start" commands at logon and "net stop" commands at logoff to start and stop the various services a given user needs. Won't work well if more than one user is logged on at a time, but probably the best way to accomplish what you're after.

share|improve this answer
    
Thanks. Its pretty much of a long shot but I think it is the best available option other than dual boot. –  Damien Joe Oct 13 '12 at 6:07
add comment

That is easy.

  1. Press Windows key + R. The run dilogue box will open.
  2. Type msconfig and then click on startup.
  3. Here you can disable and see all the services currently available on your PC. You can refer the article in the link for more information -- Windows 7 Services You Need to Get Rid Of And Their Use
share|improve this answer
1  
Please read my question in last. –  Damien Joe Oct 12 '12 at 16:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.