Tech Support > Microsoft Windows > Drivers > Monitor Service Control Manager operation from a driver
Monitor Service Control Manager operation from a driver
Posted by Omer on April 4th, 2005


Hi,

Is there a way to monitor SCM operation and all service control codes
being sent to a service with ControlService() from a driver?
(Like a driver that catches all service stop/start requests)

Thanks

Posted by Doron Holan [MS] on April 5th, 2005


no. the SCM operates in user mode.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Omer" <Omerb99@gmail.com> wrote in message
news:1112602610.889720.191100@z14g2000cwz.googlegr oups.com...


Posted by Omer on April 6th, 2005


So how can i protect a service i didnt wrote from user mode ?

Posted by Maxim S. Shatskih on April 6th, 2005


Impossible. The task itself is strange a bit. Administrator must have the
rigths to do anything. And, if the user is not administrator - then he/she
cannot control services anyway.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Omer" <Omerb99@gmail.com> wrote in message
news:1112778895.883585.34680@f14g2000cwb.googlegro ups.com...