Link to home
Start Free TrialLog in
Avatar of Amitava_Mukherjee
Amitava_MukherjeeFlag for India

asked on

prevent uninstalling services

i have 2 services which constantly monitoring one another. if user wants to stop any one of them another service starts that once in no time. so user can not stop that services. but if user give "sc" command from dos window, he can uninstall those services. all of my users are administrator in there own pc. they are using xp sp3.

now my question is, can i apply any trick so that user can not uninstall those services from their pcs?

my services are developed in vb.net 2005.

thanx
SOLUTION
Avatar of Saber37886661
Saber37886661

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Amitava_Mukherjee

ASKER

but i am not still clear how to prevent uninstallation of a service
can i prevent uninstalling forcing user to give password to uninstall?
Saber37886661,

your comments seems to be interesting. can you clarify a little more?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I agree with able.

There is no way to GUARANTEE that the service will not be uninstalled.  Take Safe Mode, for instance.  If a user is determined enough, your hosed, period.

But monitoring able's suggestions will go a long way to making it VERY difficult.

Jake
Thanx, abel, it works. nice solution