Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/astahost/public_html/rkrt/rkrt_tracker.php on line 186
How To Delete A Service
Astahost.com   Mar 22, 2010
Open Discussion & Free Web Hosting > Computers & Tech > Operating Systems > Windows (All Versions)
Pages: 1, 2

How To Delete A Service

free web hosting

Read Latest Entries..: (Post #11) by iGuest on Oct 8 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://mstechnoblogger.Blogspot.Com/2009/04/deleting-services-forcefully-from.Html Replying to TavoxPeru...
read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion & Free Web Hosting > Computers & Tech > Operating Systems > Windows (All Versions)

How To Delete A Service

TavoxPeru
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,

Comment/Reply (w/o sign-up)

turbopowerdmaxsteel
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.


Comment/Reply (w/o sign-up)

TavoxPeru
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,

Comment/Reply (w/o sign-up)

mastercomputers
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

Comment/Reply (w/o sign-up)

saneax
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

 

 

 


Comment/Reply (w/o sign-up)

Jaskaran
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.


Comment/Reply (w/o sign-up)

TavoxPeru
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,

Comment/Reply (w/o sign-up)

WeaponX
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.

Comment/Reply (w/o sign-up)

mastercomputers
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

Comment/Reply (w/o sign-up)

TavoxPeru
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,

Comment/Reply (w/o sign-up)

Latest Entries

iGuest

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://mstechnoblogger.Blogspot.Com/2009/04/deleting-services-forcefully-from.Html

Replying to TavoxPeru



Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : delete, service

  1. Booting Specific Priorities
    How to Set a Priority to specified service ? (7)
  2. Xp Service Pack 3
    (3)
    Having exhausted the many possible workarounds to get a Vista Business Edition Dell computer to
    recognise my network hosted by an XP computer (when it did originally, until I relocated the
    broadband router), I took Mr. Microsoft's advice and installed SP3 on the XP machine. According
    to him the Vista machine needed to find Link Layer Topology Discovery (LLTD) on the host, and if it
    couldn't find it then "Unidentified network, local only". So, being a believing soul, I
    downloaded and installed SP3 on the XP machine. Result? Now not only can I still not get rid of ....
  3. Windows Xp Service Pack 3 - Updates
    (19)
    its been a couple or more year, Microsoft haven't release a 3rd version of their service pack,
    for Micorsoft's Windows XP. In the late 2007, Microsoft had announce of the release of their
    Service Pack 3 for Microsoft Windows XP. Windows XP Service Pack 3 (SP3) is currently in
    development. As of January 2008, Microsoft's web site indicates a "preliminary" release date to
    be in the first half of 2008.A feature set overview has been posted by Microsof and details new
    features available separately as standalone updates to Windows XP, as well as features backpor....
  4. Q: How Can I Delete Installation Entries?
    entries installed from a .msi file (8)
    I'm wondering.... How can I delete installation entries? QUOTE To tell you all the truth, I
    already know how to hide installation entries 90%, I just use the CCleaner! But the problem is...I
    can't use the the CCleaner to delete .msi installation entries! How? Or tell me if entries
    installed from .msi files just can't be deleted. Note: QUOTE (.msi) files are Windows
    Installation Packages. Just download a .msi file and see it for yourself! ....
  5. Deleting A Corrupt File
    Cannot delete a corrupt file on Windows XP... (35)
    I was upgrading some software and came across a corrupt file that halted the installation process. I
    went to see what was wrong with the file, and failed to manually delete it. I tried moving
    (cut&paste) it to another location, and the installation succeeded. However, the file is still on my
    drive, taking up a KB of space. I know that's not a lot, but where am I supposed to put it? In a
    folder created especially for all the corrupt files on my computer? /blink.gif"
    style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> I've heard
    something....
  6. Problem Deleting Empty Folder In Win XP
    why you can not delete an empty folder? (22)
    It happened to me several times. When a folder is already empty, but still can't delete it.
    Which says something about other user is using it. Yet I am the only user on my PC. Anyone knows why
    is it? And how to deal with it?....
  7. How Can I Delete Old Files In Windows Xp ?
    HELP!!! (22)
    I've just reinstall my system. But I can't delete old profiles in C:\Documents and Settings
    . I have the Admin right, of course. But... the system don't allow me to delete the files.
    I need to free up some space on my hard disk. (That folder's size is up to 12GB)....
  8. How To Delete Files And Folders Directly
    (10)
    How to delete files and folders without having them move to Recycle Bin 1- Click Start menu > Run
    > and type “gpedit.msc” (without quotes ) to run Group Policy 2- Go to following : User
    Configuration > Administrative Templates > Windows Components > Windows Explorer 3- In right panel,
    find “Do not move deleted files to the Recycle Bin”, right click and select Properties, in dialog
    box select Enable check box 4- Click ok and exit Group Policy To disable confirmation dialog box
    when deleting files, go to following : User Configuration > Administrative Templates > Windo....
  9. Delete Any File On Xp
    (21)
    Many a times when we try to delete a file Windows show an error that the file is being used or some
    other message and we are unable to delete it. This often happens when the file is infected. Here is
    a way to delete any file: Go to Start>>Run>>cmd Type in the path where the file is located (eg. "cd
    c:\temp" ), don’t close this window Press ctrl + alt + del In processes panel close "Explorer.exe"
    (you would see that taskbar disappears), dont close the window In the command screen delete the file
    ( del filename ) In the task manager click File >> New task >> Explorer.exe ....
  10. Xp Service Pack 3
    (18)
    Microsoft confirms that will realease a new Service Pack for windows Xp after the lauch of windows
    vista. This service pack will improve the security.....
  11. Office 2003
    New service pack released (4)
    For those of you using Offcie 2003, there is a new service pack just released today. Advice from
    M.Soft is download it asp. Service Pack 2003 ....
  12. Xp Service Pack 2
    Is it worth it? (25)
    Hi everyone, when it first came out I had downloaded the SP2 for my laptop, at that time it totally
    screwed up my laptop, made it slow and unstable. So i had to reinstall windows from scratch and
    decided to stick to sp1 and any other updates that are not sp2 related. It's been a while since
    that, I just wanted to know your opinion on the latest sp2 versions, is it working well for you? and
    more important, do you find it RELIABLE? /dry.gif" style="vertical-align:middle" emoid=" ....
  13. Avg7 Update Service Hardware!
    The things that Windows detects (1)
    Since the past few weeks i've been getting really strange messages. Every time my system boots
    up i get the New Hardware detected message and it shows some really wierd name like aswRdr,
    cusbohcn. I used to cancel the sequence and disable the hardware but today i get several different
    hardware:- aswRdr avast! mail scanner AVG7 update service ClntMgmt cusbohcn Macromedia
    Licensing Service Office Source Engine SVKP I have absolutely no idea what to do except disable
    all of them. Any other ideas??....
  14. What Is Generic Host Service?
    (0)
  15. What Is The Use Of Service Packs For Windows?
    (0)
  16. What Is Generic Host Service?
    (5)
    Any one can explain me what a hell its this ? Every time i'm in my PC , few minutes after
    apears a window saying that Gerneric Host Service had to be closed , i'm using Windows XP SP2
    Full Updated and the erros dont stop show up , i already format my C:\ but the problem still there.
    I dont know what else can i do. cheers /sad.gif" style="vertical-align:middle" emoid=":("
    border="0" alt="sad.gif" />....
  17. Microsoft Service Pack 2 Cd (free)
    Windows XP (17)
    For those who missed my post: http://www.astahost.com/index.php?act=ST&f...t=10#entry27941 For
    those who want a free CD copy of Service Pack 2 with Advanced Security Technologies (popup blocker
    and firewall) follow this link: http://www.microsoft.com/windowsxp/downloa...us/default.mspx I
    ordered mine about 3 months ago, received it in a within a week.....
  18. What Is The Use Of Service Packs For Windows?
    (18)
    Hi there. Who of you has service packs and what are they good for? Does it worth the huuuuuge
    download (keep in mind I have a 56k connection)? I said I wasn't going to update it but I got a
    video editing program and it asks me to have Service Pack 1 installed and that made me reconsider my
    choice... Thanks.....
  19. Service Pack 2 of Windows XP
    Talk about the sp2 of WinXp (35)
    Recently I update my operation system (windows xp) to service pack2..... when they finish the
    update...to my surprise,it was really a good one than service pack 1... Best improvement of the sp2
    is MS IE....to block the popup windows in some website, it's cool.... And this time,microsoft
    has setup a net firewall in the sp2..is also Well~ any one use xp sp2 please talk about your
    opinion~....

    1. Looking for delete, service



See Also,

*SIMILAR VIDEOS*
Searching Video's for delete, service
advertisement




How To Delete A Service

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com



Creative Commons License