Forums: How To Remove A Windows Service? - Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

How To Remove A Windows Service? win/dos command to completly remove

#1 User is offline   =k3Rn= 

  • Corporal
  • Icon
  • Group: Members
  • Posts: 158
  • Joined: 17-September 03

Post icon  Posted 11 October 2003 - 05:39 PM

hey

is there a dos / windows command for removing a service? i am not talking about stopping, i want to completly delete it, with reg entries.
couldn't find out how to manage that <_<

greetz
k3Rn
0

#2 Guest_qod_*

  • Group: Guests

Posted 11 October 2003 - 07:36 PM

from the control panel at add and remove windows components, and you could go to the services form the admin tools to disable any service.
check microsoft.com
0

#3 User is offline   manu 

  • Master Sergeant
  • Icon
  • Group: Members
  • Posts: 820
  • Joined: 17-July 03

Post icon  Posted 12 October 2003 - 02:06 AM

Karn, just use the tool INSTSRV.EXE, Find it and download it to ur SYSTEM32 folder..

Then type the command,

INSTSRV <SERVICENAME> REMOVE

Will completely remove the service... Dont forget to stop the SERVICE before you try to delete it, That will only help you...

Hope that your problem solved... If you want alternate solution, I can help you...

I will upload one EXE file, just copy it to ur SYSTEM32 folder and follow these

Goto command prompt, and use this command

ServiceEnum

Arguments:
/? Show usage
/brokenServices Show only services not in Running state but which should be
/deleteService <name> Delete the specified service
/deleteNoPrompt Delete service without prompting (for batch scripts)

Hope that your face is clear and happy...
Manu

Attached File(s)


0

#4 Guest_ArEs_*

  • Group: Guests

Posted 12 October 2003 - 02:07 AM

i think net stop "service" /y should do it , u can try net stop service /delete /y too :P
0

#5 User is offline   manu 

  • Master Sergeant
  • Icon
  • Group: Members
  • Posts: 820
  • Joined: 17-July 03

Posted 12 October 2003 - 02:10 AM

Hey, you will get a lot of valuable informations from the below article...

http://forums.govern...?showtopic=3122

There is a lot of nice links you can find, go and check them..

Manu :D
0

#6 User is offline   =k3Rn= 

  • Corporal
  • Icon
  • Group: Members
  • Posts: 158
  • Joined: 17-September 03

Posted 12 October 2003 - 10:31 AM

so instsrv "servicename" remove only removes services that has been set up with instsrv.
i didn't really understood the syntax of servicesenum.exe - not sure if that can help.
an exaple would be to remove the service "remote registry" completely afetr stopping it.
0

#7 User is offline   manu 

  • Master Sergeant
  • Icon
  • Group: Members
  • Posts: 820
  • Joined: 17-July 03

Posted 12 October 2003 - 10:50 AM

This is the syntax

ServiceEnum.exe /deleteService <name>

will remove it man, Sure, I had been playing with it.. Anyway, try and try till u get what u want.. If you find some other way, please let me know

Manu
0

#8 User is offline   SuperG 

  • Private
  • Icon
  • Group: Members
  • Posts: 18
  • Joined: 20-September 03

Post icon  Posted 13 October 2003 - 09:09 AM

U can use very easily sc.exe from the Win2k ResKit.

sc delete <service_name>

Attached File(s)

  • Attached File  sc.exe (52.77K)
    Number of downloads: 56

0

#9 User is offline   =k3Rn= 

  • Corporal
  • Icon
  • Group: Members
  • Posts: 158
  • Joined: 17-September 03

Posted 13 October 2003 - 11:54 AM

@superg: thx man - from the beginning i wanted to do it with sc.exe (i also use it for changing the service description of some service). i thought it doesn't properly but the problem was, that i tested it with some broken service (reg-keys had been deleted but it still remained in "services tab".
i tryed it again with removing a running serv-u instance. worked as i wanted it.
net stop serv-u
sc delete serv-u
and it's gone (i thik forever)

thx m8
0

#10 User is offline   manu 

  • Master Sergeant
  • Icon
  • Group: Members
  • Posts: 820
  • Joined: 17-July 03

Posted 13 October 2003 - 10:46 PM

Thanks SUPERG, will help me too...

manu
0

#11 Guest_hermel_*

  • Group: Guests

Posted 13 October 2003 - 11:18 PM

sc ist a great tool, the most tools from WIN RK are great :)
0

#12 User is offline   manu 

  • Master Sergeant
  • Icon
  • Group: Members
  • Posts: 820
  • Joined: 17-July 03

Posted 14 October 2003 - 12:35 AM

Friends,

I found a nice place which a lot of tools are available to download.. WIN 2K Resouce kit tools and other stuffs... Go and download what ever you want for free...

http://www.petri.co....eskit_tools.htm

Hope that it will help to find tools for similar sort of requests

Manu
0

#13 Guest_hermel_*

  • Group: Guests

Posted 14 October 2003 - 02:27 AM

Nice site, THX manu :)
0

#14 User is offline   labbertasche 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 34
  • Joined: 30-August 03

Posted 30 October 2003 - 03:19 PM

thank for sc.exe ... very nice tool ;) better as psservice.exe
0

#15 Guest_damulint_*

  • Group: Guests

Posted 07 December 2003 - 09:23 PM

Thank you..
Useful information..
0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting