How To Remove A Windows Service? win/dos command to completly remove
#3
Posted 12 October 2003 - 10: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
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)
-
serviceEnum.exe (104K)
Number of downloads: 66
#5
Posted 12 October 2003 - 10: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
http://forums.govern...?showtopic=3122
There is a lot of nice links you can find, go and check them..
Manu :D
#6
Posted 12 October 2003 - 06:31 PM
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.
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.
#9
Posted 13 October 2003 - 07:54 PM
@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
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
#12
Posted 14 October 2003 - 08: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
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

Sign In
Register
Help
MultiQuote