Monday, September 15, 2008

Create or Delete a Service in Windows Server 2003

I need to delete a service was installed by a software that was already uninstalled. I search and came across various method, like manual registry editing, using of inssvr.exe and etc. Finally I found the this piece information to use the build in sc.exe. The instruction is for Windows XP but it works great for Server 2003.

Services are added from the Command Prompt. You need to know the actual service name as opposed to what Microsoft calls the Display Name. For example, if you wanted to create or delete the Help and Support service, the name used at the Command Prompt would be "helpsvc" rather than the Display Name of "Help and Support". The actual service name can be obtained by typing services.msc in Run on the Start Menu and then double clicking the Display Name of the service. Once you know the name;

To Create A Service
  • Start | Run and type cmd in the Open: line. Click OK.
  • Type: sc create <service name>
  • Reboot the system


Fig. 01

To Delete A Service
  • Start | Run and type cmd in the Open: line. Click OK.
  • Type: sc delete <service name>
  • Reboot the system

No comments:

Post a Comment