PC Review


Reply
Thread Tools Rate Thread

Creating uncontrollable windows service

 
 
Sankar-R
Guest
Posts: n/a
 
      30th Jun 2004
Dear all,
I need to code a windows service which can not be controlled by
service control manager(like Remote Procedure Call (RPC) where we
cannot stop,start and we are not able to change to manual or
disabled)... Please guide me

Regards
Sankar
 
Reply With Quote
 
 
 
 
Sankar-R
Guest
Posts: n/a
 
      1st Jul 2004
(E-Mail Removed) (Sankar-R) wrote in message news:<(E-Mail Removed)>...
> Dear all,
> I need to code a windows service which can not be controlled by
> service control manager(like Remote Procedure Call (RPC) where we
> cannot stop,start and we are not able to change to manual or
> disabled)... Please guide me
>
> Regards
> Sankar


Our client requirement is that the service must run and user should
not stop or uninstall the service at any cost - help me
 
Reply With Quote
 
John Phillips
Guest
Posts: n/a
 
      3rd Jul 2004
This is impossible. Anybody with the proper permissions will be able to:

- Remove your service by editing registry keys
- Change service parameters (automatic, manual, recovery options, etc.) by
editing the registry
- Call TerminateProcess() on your service (or use an appropriate process
killer app)

The only way to do this is to deny users the permissions I've just listed.

--
John Phillips
MVP - Windows SDK



"Sankar-R" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> (E-Mail Removed) (Sankar-R) wrote in message

news:<(E-Mail Removed)>...
> > Dear all,
> > I need to code a windows service which can not be controlled by
> > service control manager(like Remote Procedure Call (RPC) where we
> > cannot stop,start and we are not able to change to manual or
> > disabled)... Please guide me
> >
> > Regards
> > Sankar

>
> Our client requirement is that the service must run and user should
> not stop or uninstall the service at any cost - help me



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a windows service Harry Bellafonte Windows XP Help 1 14th Sep 2008 02:39 AM
Creating a Windows Service Harry Bellafonte Microsoft Dot NET 1 11th Sep 2008 05:20 PM
Windows uncontrollable scrolling Christopher Jensen Windows XP Hardware 1 29th Mar 2007 12:27 AM
Creating uncontrollable windows service Sankar-R Microsoft Windows 2000 Developer 1 30th Jun 2004 02:35 PM
Uncontrollable spawning windows tb Windows XP Internet Explorer 1 23rd May 2004 03:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:47 PM.