Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

As shown in the picture below, I want to delete MyNewService, but when I type in

sc delete MyNewService

I simply can't delete it because there is no such servic, due to "the Specified service does not exist as an installed service" error

Any ideas how to solve this problem?

Edit: as far as the service panel is concerned, the MyNewService is there all the time; I restarted the pc a few times, and it's there.

share|improve this question
    
@Ngu Soon Hui: Please edit your question so that it contains the error message in text form - this makes it easier to find the solution with search engines, and may therefore help other people with the same problem. Thanks. :) –  Tomalak May 2 '09 at 12:01

1 Answer 1

up vote 8 down vote accepted

View the properties of the service and you'll see a "Service Name" and "Display Name". The display name is the one you see in services.msc, you need to use the service name with the net command however. Sometimes they're very different for example "Extensible Authentication Protocol Service" is the display name and "EapHost" is the service name.

share|improve this answer
    
Excellent, I needed this to alter my instance of sql server but couldn't get it to work! I was trying it with "SQL Server (SQLEXPRESS)" but needed MSSQL$SQLEXPRESS! –  JLWarlow Feb 24 '11 at 10:33

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.