Solved

enable/disable windows services on a per-user account basis

Posted on 2003-11-05
4
216 Views
Last Modified: 2008-03-03
I have installed Oracle on my machine at home so that I can work on some school assignments. My problem is that Oracle starts something like 10 services which eat up a lot of memory. Since I will only be using Oracle occasionally I want to create a user account on my XP Pro machine specifically for Oracle, and have these Serives only start for this user. Is this possible and how?
As a temporary solution, I created a hardware profile specifically for Oracle and enabled these services only for that hardware profile. But this adds an extra screen to prompt me for which hardware profile to use everytime I start windows. I would rather just log in with a different account to enable the Oracle services, and have these services not load with my other windows user accounts.
I was also thinking about creating a Gaming user account which disables all unessecary services for use while I'm playing games. This would free up more system resources for my games.
0
Comment
Question by:verbal11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 9689160
Services are designed for startup of the computer it doesnt depend on the user. If you wanna control the services goto control panel , administrative tools and select Services
0
 
LVL 6

Accepted Solution

by:
Zoplax earned 250 total points
ID: 9689208
I'd suggest you create a batch file with commands to manually stop and start services.

From the command prompt you can type NET START <servicename> or NET STOP <servicename> to start and stop a service, respectively.

First, determine exactly which services you want to control.

Then, make sure that each service is set to Manual (rather than Automatic, which causes them to start at each boot, and Disabled, which disables them entirely).

Finally, create two batch files, for example, START.BAT and STOP.BAT, and place shortcuts on your desktop.  Each of these files would have commands such as:

  rem  START services
  NET START telnet
  NET START "Smart Card"

Note that the services must appear in the batch file exactly as they appear in the Services control panel.  Those that are more than one word need to be enclosed in double quotes (").

I don't know of a way to make it so that a particular user would start or stop the desired services other than to add a shortcut to one of these batch files to the Startup group of the user in question.  For example, your Games user might put the STOP.BAT file in its Startup group, to stop the nonessential services when you want to do some gaming.
0
 
LVL 2

Author Comment

by:verbal11
ID: 9689424
Thanks. That is a great idea. I think I will set the services to manual by default so that they don't start. Then create this BAT file and put it in the Oracle user account's startup menu.
THanks!!!
0
 
LVL 6

Expert Comment

by:Zoplax
ID: 9689480
Glad to help!  Despite what Microsoft seems to want, the command prompt it still quite useful for some things.  :-)
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to Repair Windows XP 12 109
How to stop a Microsoft scheduled Windows 10 upgrade 16 131
Windows XP network hardware for dummies 12 117
Windows 7 and Pro update issues 5 99
Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question