Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (14 April 2014 - 05:28 PM) By The Way, This Could Be An Interesting Subject For A Topic, What About Posting This Question? Let's See If Other People Have The Same Feeling Concerning Bootlists!
@  yordan : (13 April 2014 - 09:36 AM) Boot Order : Cd, [Usb,] Hard Drive :D
@  yordan : (11 April 2014 - 07:23 PM) I Simply Let The Bios Do That
@  Ritesh : (11 April 2014 - 10:23 AM) Is It Possible To Launch Fedora Live Cd Or Installation Disk From Hard Drive On Windows Platform Using Grub Mbr File.
@  Ritesh : (11 April 2014 - 10:21 AM) No U Are Not.. Btw.. I Have Question For You.
@  yordan : (10 April 2014 - 08:02 AM) You Are Partially Right.
I Was Not.
Nevertheless, I Am Again :)
@  Ritesh : (09 April 2014 - 07:33 PM) :P
@  Ritesh : (09 April 2014 - 07:33 PM) I Think U R Not..
@  yordan : (09 April 2014 - 09:28 AM) I'm The Master Of The Shoutbox!
@  yordan : (05 April 2014 - 10:32 PM) He-He
@  Ritesh : (04 April 2014 - 06:59 PM) Ha Ha Ha ....
@  yordan : (04 April 2014 - 11:15 AM) Welcome Back, Starscream!
@  yordan : (03 April 2014 - 02:31 PM) And I Hope That He Will Come Back Soon :)
@  yordan : (01 April 2014 - 02:53 PM) Nice, Ritesh Came, I'm Not Home Alone Today.
@  Ritesh : (01 April 2014 - 08:51 AM) Oh!!! Poor Dear Yordan..
@  yordan : (31 March 2014 - 10:02 AM) I'm A Poor Lonesome Cow-Boy
@  yordan : (27 March 2014 - 02:22 PM) He Is Unpatient Due To His Patients!
@  Ritesh : (27 March 2014 - 10:46 AM) :(
@  Ritesh : (27 March 2014 - 10:46 AM) He Is Busy With His Patients.
@  yordan : (26 March 2014 - 08:12 PM) Ahsani, Where Are You?

Photo
- - - - -

How To Delete A Service


12 replies to this topic

#1 TavoxPeru

TavoxPeru

    Super Member

  • [HOSTED]
  • 876 posts
  • Gender:Male
  • Location:Lima - Peru
  • Interests:Web and Software development, Internet, Computers, Electronic music, music, soccer.
  • myCENTs:13.21

Posted 16 January 2007 - 07:03 AM

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,

#2 turbopowerdmaxsteel

turbopowerdmaxsteel

    Premium Member

  • [HOSTED]
  • 449 posts
  • Gender:Male
  • Location:Kolkata, India
  • Interests:Programming, Gaming, Cricket, Listening to Music and watching action cartoons.
  • myCENTs:30.99

Posted 16 January 2007 - 08: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.

#3 TavoxPeru

TavoxPeru

    Super Member

  • [HOSTED]
  • 876 posts
  • Gender:Male
  • Location:Lima - Peru
  • Interests:Web and Software development, Internet, Computers, Electronic music, music, soccer.
  • myCENTs:13.21

Posted 16 January 2007 - 08:37 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,

#4 Guest_mastercomputers_*

Guest_mastercomputers_*
  • Guests

Posted 16 January 2007 - 09:09 AM

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:
sc query state= all | findstr "SERVICE_NAME"

To delete a service:
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

#5 saneax

saneax

    Member [ Level 2 ]

  • Members
  • 72 posts

Posted 16 January 2007 - 09:31 AM

Hi,

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.c.../?ref=google_rm

Hope this helps


Hi mastercomputers,

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

thanks

#6 Jaskaran

Jaskaran

    Newbie [ Level 2 ]

  • Members
  • 22 posts

Posted 16 January 2007 - 08:28 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.

#7 TavoxPeru

TavoxPeru

    Super Member

  • [HOSTED]
  • 876 posts
  • Gender:Male
  • Location:Lima - Peru
  • Interests:Web and Software development, Internet, Computers, Electronic music, music, soccer.
  • myCENTs:13.21

Posted 16 January 2007 - 10:50 PM

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,

#8 WeaponX

WeaponX

    Way Out Of Control - You need a life :)

  • Members
  • 1,086 posts
  • Location:New York
  • myCENTs:86.41

Posted 16 January 2007 - 11:59 PM

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 :)). 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.

#9 Guest_mastercomputers_*

Guest_mastercomputers_*
  • Guests

Posted 17 January 2007 - 04:39 AM

Sorry the command above was for WinXP.

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

You will then have to do:
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

#10 TavoxPeru

TavoxPeru

    Super Member

  • [HOSTED]
  • 876 posts
  • Gender:Male
  • Location:Lima - Peru
  • Interests:Web and Software development, Internet, Computers, Electronic music, music, soccer.
  • myCENTs:13.21

Posted 17 January 2007 - 09:50 PM

Sorry the command above was for WinXP.

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

You will then have to do:

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 :)

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,

Edited by TavoxPeru, 17 January 2007 - 09:51 PM.


#11 Guest_FeedBacker_*

Guest_FeedBacker_*
  • Guests

Posted 30 October 2007 - 01:12 AM

I have windows xp and granted the admin. full permissions, but there is an error when I try to delete the key. How do I restore the key so that it can be deleted?

#12 Guest_(G)_*

Guest_(G)_*
  • Guests

Posted 08 October 2009 - 08:51 PM

Well, you can use SC.EXE command from command line to delete any windows service forcefully if by any chance application doesnt deletes after uninstall.

Read more on "MS Techno Blogging" http://mstechnoblogg...fully-from.Html

Replying to TavoxPeru



#13 Guest_(G)StackMaster_*

Guest_(G)StackMaster_*
  • Guests

Posted 26 May 2010 - 06:37 PM

SC is a XP command and does not work on Windows 2000.  Nice try. 

The only option is to use the command Net Stop "service name" to stop the service then delete the appropriate key in the registry under HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services. 

if you are doing this via script you will need to check the service until it stops completly then remove the reg key.

-reply by StackMaster

 





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users