Solved

Delete a Service when there is no exe

Posted on 2016-09-28
6
24 Views
Last Modified: 2016-10-19
I have to delete a service that is not deleting when I use InstallUtil /u. I need another way to delete the service from the system.
0
Comment
Question by:folsomPM
  • 2
6 Comments
 
LVL 20

Expert Comment

by:n2fc
ID: 41820887
1) Run Microsoft Management Console (mmc.exe)
2) Select Services
3) Find the service you no longer need
4) Right-click & select Properties
5) Stop it, if running
6) Change startup type to DISABLED
1
 
LVL 24

Accepted Solution

by:
Dr. Klahn earned 250 total points (awarded by participants)
ID: 41820899
n2fc has got the right of it.  So far as I know, the only way to permanently delete a service is less than safe:

  • Use Autoruns or msconfig to remove its startup run entry
  • Edit the Registry.  Since Services appears in every control set, it's easy to overlook occurrences.
0
 
LVL 68

Assisted Solution

by:Qlemo
Qlemo earned 250 total points (awarded by participants)
ID: 41821209
You can use the sc utility to remove a service. You'll need to know the internal service name. not the display name:
sc stop YourService
sc delete YourService

Open in new window

1
 
LVL 68

Expert Comment

by:Qlemo
ID: 41843392
The question isn't about disabling a service, but removing it, so the first comment does not apply.

My comment is correct and a solution.

Dr. Klahn's comment is correct in most parts: msconfig does not remove, but move the service entries to a different registry path. Same for AutoRuns if you uncheck the service (instead of removing). Superficially that is "the same" as removing the service, as it does not appear in the service manager anymore.
AutoRuns indeed allows to remove the service permanently, so this is an answer.

The registry edit is a valid solution, too, but you only need (and should) care about CurrentControlSet and leave the other ControlSetXXX keys as-is.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SBS 2011 wireless nic? & dynamic VPN. 3 64
Windows RAID5 explanation 3 67
Snapshot of Resource Monitor data 2 27
GPO to disable Windows Firewall 2 28
Table of Contents: Lesson 1 - Installing Windows Server 2012 (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2012/A_11592-Become-an-Administrator-Installing-Windows-Server-2012.html) Lesson 2 - Configuring Ser…
The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now