eriku Posted October 10, 2005 Share Posted October 10, 2005 I want to load certain services by which user is logged in. Is there an app or batch file someone has that will do this?Basically, my laptop is for development, so I have Databases, CVS, IIS, ASP.NET and all sorts of network crap running in the background. I have a user I created for playing Warcraft , but when I log in with this user I want the services to be turned off to save resources.Anyone have any other idea besides dual boot? Link to comment Share on other sites More sharing options...
agonified Posted October 10, 2005 Share Posted October 10, 2005 I dont use win xp for now on, but I remember that, one can create different hardware profiles. Right click my computer an open properties. Goto to hardware tab and you'll see harware profiles. Just copy the "profile 1". Select profile 2 and click properties. Select the option "Always include this profile as an option when windows starts".Then goto services, double-click the service you want to disable for second hardware profile, goto to 'Log On' tab and disable it for second profile. Now you will have an option on start up, to select and boot with desired hardware profile. Hope it is what you want... Link to comment Share on other sites More sharing options...
eriku Posted October 10, 2005 Author Share Posted October 10, 2005 I'll give it a shot, it seems like that might be what I wanted. Link to comment Share on other sites More sharing options...
eriku Posted October 10, 2005 Author Share Posted October 10, 2005 Well I gave it a try and it worked just like I needed. I was hoping for a runtime solution but this is just as great.As a summary: Allow a user to specify which services load depending on which user is logged in. While this wasn't the solution, Adding a profile allows the system to prompt user with a selection at startup (or reboot). This will load services for all users depending on your selection. Combing this with msconfig or spybot's startup tool, you can log into one user with a certain profile and have almost no services or startup apps loaded, then reboot and select the second profile and log into the other user with all service started and full startup apps.It's nice for gamers who want a super slim windows enviroment sometimes, but need all the junk running for work or normal usage. Link to comment Share on other sites More sharing options...
agonified Posted October 10, 2005 Share Posted October 10, 2005 It's nice for gamers who want a super slim windows enviroment sometimes, but need all the junk running for work or normal usage.This was my best solution before I got my new pc 6 months ago... Link to comment Share on other sites More sharing options...
Yzöwl Posted October 10, 2005 Share Posted October 10, 2005 (edited) Here is a batch file example@echo offset tostop=servicename1 servicename2 servicename3for %%? in (%tostop%) do sc query %%?|find /i "4 running" >nul&&sc stop %%?Just make a space delimited list of all the services you wish to turn off like the examples 'servicename1 servicename2 servicename3'. Make sure that the names are the 'Service Names' as opposed to the 'Display Names' Edited October 10, 2005 by Yzöwl Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now