hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

=k3Rn=

More information on Removing Windows Service & Processes from GovernmentSecurity.org
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
qod
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
manu
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
ArEs
i think net stop "service" /y should do it , u can try net stop service /delete /y too
manu
Hey, you will get a lot of valuable informations from the below article...

http://forums.governmentsecurity.org/index...?showtopic=3122

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

Manu
=k3Rn=
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.
manu
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
SuperG
U can use very easily sc.exe from the Win2k ResKit.

sc delete <service_name>

=k3Rn=
@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
manu
Thanks SUPERG, will help me too...

manu
hermel
sc ist a great tool, the most tools from WIN RK are great
manu
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.il/download_free_reskit_tools.htm

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

Manu
hermel
Nice site, THX manu
labbertasche
thank for sc.exe ... very nice tool better as psservice.exe
damulint
Thank you..
Useful information..
batigoooal
There is some others tools for remove services like hct.exe who list all service, process and could kill services or process!!

All in one tools
Zivleton
A very easy to use tool is DameWare NT Utilities.
All you need to do is put in your IP and look for the services...
Then you can add/remove any service you like.
(It has other uses as well)


-Zivlet-
jacerra
You should really just be reimaging that machine, forget about putting bandaids on the pc!!!!

damm it Jimmy!
skorpio
Good site thx manu! smile.gif

bye!
[edit] tibbar - no thanx posts allowed - +1 warning, 5 day vacation!
h0ttz
thanks!!!

[edit] tibbar - no thanx posts allowed - +1 warning, 5 day vacation!
Bedosman
Yes , or U can use the very good "hct" from haxorcitos ...

With it you are able to install service , remove services , enumerate service , .... dry.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.