Welcome Guest ( Log In | Register )



2 Pages V   1 2 >  
Reply to this topicStart new topic
> How To Delete A Service
TavoxPeru
post Jan 16 2007, 07:03 AM
Post #1


Super Member
Group Icon

Group: [HOSTED]
Posts: 763
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579



Hi, does anybody knows how to delete a service from the system??? that's it, deletes it from the services management console and from the device manager, especially those left behind by software or hardware uninstallation.

Best regards,
Go to the top of the page
 
+Quote Post
turbopowerdmaxst...
post Jan 16 2007, 08:00 AM
Post #2


Premium Member
Group Icon

Group: [HOSTED]
Posts: 392
Joined: 16-February 06
From: Kolkata, India
Member No.: 11,322



Open regedit and browse to the following key
'HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services'

Locate the service and delete it. You'll have to restart the machine for the changes to take effect.

Go to the top of the page
 
+Quote Post
TavoxPeru
post Jan 16 2007, 08:37 AM
Post #3


Super Member
Group Icon

Group: [HOSTED]
Posts: 763
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579



QUOTE(turbopowerdmaxsteel @ Jan 16 2007, 03:00 AM) *

Open regedit and browse to the following key
'HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services'

Locate the service and delete it. You'll have to restart the machine for the changes to take effect.

Thanks, tell me something, i notice that there are more ControlSets -ControlSet002, ControlSet003 and ControlSet004- with the same Services key, do i need to delete these keys from the ControlSet002, ControlSet003 and ControlSet004 too???

Best regards,
Go to the top of the page
 
+Quote Post
mastercomputers
post Jan 16 2007, 09:09 AM
Post #4


PESTICIDAL MANIAC
Group Icon

Group: Members
Posts: 626
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



Easier to do it in command prompt, well from my point of view.

The command is SC which is Service Control. These commands should be typed as is, spaces, characters etc, keep it like that.

To see a list of all service:
CODE
sc query state= all | findstr "SERVICE_NAME"


To delete a service:
CODE
sc delete service_name


Where service_name is the name of the service, which is why I gave you the command to output all the service names.

I'm glad to see things where command line can be used.

Cheers,

MC
Go to the top of the page
 
+Quote Post
saneax
post Jan 16 2007, 09:31 AM
Post #5


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 72
Joined: 1-September 05
Member No.: 8,237



Hi,

QUOTE(TavoxPeru @ Jan 16 2007, 12:33 PM) *

Hi, does anybody knows how to delete a service from the system??? that's it, deletes it from the services management console and from the device manager, especially those left behind by software or hardware uninstallation.

Best regards,


please look into the reg key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\]

and try to find your application name.. (some times though its not easy, since it may have a alpha numeric no.)

if you get it, delete it.
if you don't then I guess its easier to download a registry cleaner
check this out http://www.pctools.com/registry-mechanic/?ref=google_rm

Hope this helps


Hi mastercomputers,

that was really cool what you said..
Did not know this..

thanks
Go to the top of the page
 
+Quote Post
Jaskaran
post Jan 16 2007, 08:28 PM
Post #6


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 22
Joined: 13-January 07
Member No.: 19,476



QUOTE(TavoxPeru @ Jan 15 2007, 11:03 PM) *

Hi, does anybody knows how to delete a service from the system??? that's it, deletes it from the services management console and from the device manager, especially those left behind by software or hardware uninstallation.

Best regards,

This is how you delete a service

Normally it should not be necessary to manually delete a service. Uninstalling an application should remove its associated service (if any).

However, should it be necessary to manually remove a service:

Run Regedit or regedt32.

Find the registry entry:

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services

Find the service there and delete it.
You may wish to look at the keys and see what files the service was using and perhaps delete them also.
Note:

You will have to reboot before the list gets updated in server manager.

I have had it pointed out that some programs are cunning and prevent you from removing their service easily. (For example the spyware\malware called ‘Command Service’ - "cmdService".) These change the permissions to make it more difficult for you to delete them. For these you will have to right click on the ‘service’ in regedit (regedt32), go to permissions and grant the administrator full control before the service can be deleted.

Go to the top of the page
 
+Quote Post
TavoxPeru
post Jan 16 2007, 10:50 PM
Post #7


Super Member
Group Icon

Group: [HOSTED]
Posts: 763
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579



Thanks everybody for your help, actually i remove the problematic left behind services simply by delete the related keys from the registry and from the HD, but i still have it in the other keys -ControlSet002,ControlSet003 and ControlSet004- that i assume that there are simply backups keys, am i right????? hope yes.

MC, where can i find the sc tool that you mention in your post??? because i search it in my computer and i can't find it. Sorry, I don't mention earlier but i'm working with Win 2k Prof. SP4 maybe this tool don't exists in this version.

Best regards,
Go to the top of the page
 
+Quote Post
WeaponX
post Jan 16 2007, 11:59 PM
Post #8


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,086
Joined: 21-June 05
From: New York
Member No.: 6,440



Don't have a Windows 2000 machine in front of me now, but I don't think the sc command was in there. From what I found here, you might have to use the delsrv.exe command in the Windows 2000 Developer Kit.

When it all comes down to which method to use, try the one that avoids the registry (mastercomputers' method smile.gif). You want to avoid doing anything in the registry if you don't have to. So use the sc command if you have XP and try using delsrv.exe instead if you have Windows 2000.
Go to the top of the page
 
+Quote Post
mastercomputers
post Jan 17 2007, 04:39 AM
Post #9


PESTICIDAL MANIAC
Group Icon

Group: Members
Posts: 626
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



Sorry the command above was for WinXP.

If you use Win2K then you'll need delsrv.exe.

You will then have to do:
CODE
delsrv service_name


To get the lists of services, I think SCLIST was the command, but again these may be in the Resource Kit, which you should get if you administrate the computer.

Cheers,

MC
Go to the top of the page
 
+Quote Post
TavoxPeru
post Jan 17 2007, 09:50 PM
Post #10


Super Member
Group Icon

Group: [HOSTED]
Posts: 763
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579



QUOTE(mastercomputers @ Jan 16 2007, 11:39 PM) *

Sorry the command above was for WinXP.

If you use Win2K then you'll need delsrv.exe.

You will then have to do:
CODE
delsrv service_name


To get the lists of services, I think SCLIST was the command, but again these may be in the Resource Kit, which you should get if you administrate the computer.

Cheers,

MC

Thanks, i just downloaded the delsrv command line tool and test it, and only to say that it works perfectly, the only problem with it is the html page that came with it, it's outdated and show wrong examples.

Anyway, the important thing here is that it WORKS wink.gif

BTW, some time ago i downloaded a fine tool to get all the services installed in my pc, its name is serviwin, this tool not only shows the services, it also shows all the drivers you have installed, you find it at http://www.nirsoft.net.

Best regards,

This post has been edited by TavoxPeru: Jan 17 2007, 09:51 PM
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. What Is The Use Of Service Packs For Windows?(16)
  2. Microsoft Service Pack 2 Cd (free)(17)
  3. What Is Generic Host Service?(3)
  4. What Is Generic Host Service?(0)
  5. Avg7 Update Service Hardware!(1)
  6. Xp Service Pack 2(25)
  7. Office 2003(4)
  8. Xp Service Pack 3(18)
  9. Delete Any File On Xp(18)
  10. How To Delete Files And Folders Directly(10)
  11. How Can I Delete Old Files In Windows Xp ?(21)
  12. Problem Deleting Empty Folder In Win XP(13)
  13. Deleting A Corrupt File(26)
  14. Q: How Can I Delete Installation Entries?(8)
  15. Windows Xp Service Pack 3 - Updates(11)
  1. Xp Service Pack 3(3)


 



- Lo-Fi Version Time is now: 13th October 2008 - 07:20 PM