E-Mail:

Adding & Disabling Services (Windows Server 2003)

Services can be added through the Add or Remove Programs applet in the Control Panel, the Optional Networking Components option within the Network Connections applet, or by using the Manage Your Server Wizard.

Once services are installed they can be managed using the Services snap-in located under the Administrative Tools applet in the Control Panel. The snap-in allows you to stop, start, pause, resume, disable and view the status of services. You can define recovery options in the event that a service fails to start.

The steps below outline how you can add a new service through the Add or Remove Programs applet.

  1. Click Start, point to Control Panel and click Add/Remove Programs.

  2. Click Add/Remove Windows Components.
  3. Click the box next to the Indexing Service and click Next. Click Finish.
  4. Close the Add/Remove Programs applet.

If you need to disable a specific service, you can use the Services applet. The following steps demonstrate how you can disable the Indexing service.

  1. Click Start, point to Administrative Tools and click Services.

  2. Scroll through the list of services till you locate the Indexing Service. (Notice as well the services installed be default and which of them are now disabled.)
  3. Right click the Indexing Service and click Properties.
  4. From the General tab, use the arrow by the Startup Type drop down box and select disabled. Click OK.

3 Comments

HI,
I can add a new service through Add/Remove Windows Components. But How can I add a personal batch command (it starts up my web server) as a window’s service with SYSTEM rights so that the any local user cannot stop it from Task Manager.?

Thanks

I am very new to Windows services, so hope this isn’t a dumb remark.

I still don’t think this is a complete guide. If I am wanting to add a program as a service (let’s say Test_Service.exe, where in this guide does it note where you have to ‘browse’ to where the .exe is, etc.

Thanks.

To add a .exe as a service in Server 03, use instsrv.exe, which is part of the Server 03 resource kit from M$. Copy it to a pathed folder, or run it from it’s installed location with this syntax….

instsrv.exe “Pick a name for the service and insert here” X:\folder\service_you_want_to_add.exe

X=drive where the .exe you want to add as a service is located.

Now, if you did it correctly, and followed instructions, (use instsrv.exe /? for more infor), you should now have your new service listed in your service list. Set it to manual/auto/etc, start it, stop it, whatever….

Example……. to put RCMD on a 2003 server…..

Copy rcmdsvc.exe to %systemroot%\system32

Copy instsrv.exe to %systemroot%\system32

Run from cmd….

instsrv.exe “RCMD Service” %SystemRoot%\system32\rcmdsvc.exe

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense hard-earned information back to the community, stake a claim on your very own Lockergnome blog today! You can write about anything - no matter the topic. Sign-up to start blogging!

66 queries / 0.949 seconds.