Service start/restart

Folks,

Greetings! I would liek to know if we can start/restart a windows service
from a driver. Target OS is winxp32, vista[32|64]

Thanks

  • amitr0

Not directly, no.

? S


From: amitr0
Sent: Tuesday, January 06, 2009 22:54
To: Windows System Software Devs Interest List
Subject: [ntdev] Service start/restart

Folks,

Greetings! I would liek to know if we can start/restart a windows service from a driver. Target OS is winxp32, vista[32|64]

Thanks



- amitr0
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

how abt explaining the indirect way :stuck_out_tongue:

On Tue, Jan 6, 2009 at 11:08 PM, Skywing wrote:

> Not directly, no.
>
> ? S
>
> ------------------------------
> From: amitr0
> Sent: Tuesday, January 06, 2009 22:54
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Service start/restart
>
> Folks,
>
> Greetings! I would liek to know if we can start/restart a windows service
> from a driver. Target OS is winxp32, vista[32|64]
>
> Thanks
>
>
>
> –
>
> - amitr0
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>



- amitr0

You have some UM component that can call the SCM APIs on your driver?s behalf. Basically, you can use another service to start/stop the orig service in question

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of amitr0
Sent: Tuesday, January 06, 2009 11:23 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Service start/restart

how abt explaining the indirect way :stuck_out_tongue:

On Tue, Jan 6, 2009 at 11:08 PM, Skywing > wrote:
Not directly, no.

? S
________________________________
From: amitr0 >
Sent: Tuesday, January 06, 2009 22:54
To: Windows System Software Devs Interest List >
Subject: [ntdev] Service start/restart
Folks,

Greetings! I would liek to know if we can start/restart a windows service from a driver. Target OS is winxp32, vista[32|64]

Thanks



- amitr0
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer



- amitr0
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Top tip: Don’t try to stop another service from a service that has just
been told to stop - you’ll lock up SCM for 30 seconds.

Tim Green
Development Engineer
DisplayLink (UK) Limited
Registered in England No. 04811048


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: 07 January 2009 07:31
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Service start/restart

You have some UM component that can call the SCM APIs on your
driver’s behalf. Basically, you can use another service to start/stop
the orig service in question

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of amitr0
Sent: Tuesday, January 06, 2009 11:23 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Service start/restart

how abt explaining the indirect way :stuck_out_tongue:

On Tue, Jan 6, 2009 at 11:08 PM, Skywing
wrote:

Not directly, no.

- S

________________________________

From: amitr0
Sent: Tuesday, January 06, 2009 22:54
To: Windows System Software Devs Interest List

Subject: [ntdev] Service start/restart

Folks,

Greetings! I would liek to know if we can start/restart a
windows service from a driver. Target OS is winxp32, vista[32|64]

Thanks



- amitr0

— NTDEV is sponsored by OSR For our schedule of WDF, WDM,
debugging and other seminars visit: http://www.osr.com/seminars To
unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars
visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer



- amitr0
— NTDEV is sponsored by OSR For our schedule of WDF, WDM,
debugging and other seminars visit: http://www.osr.com/seminars To
unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars
visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Have an already-running user mode component somewhere that you signal from the driver, requesting that the user mode component do the necessary work on behalf of the driver.

? S


From: amitr0
Sent: Tuesday, January 06, 2009 23:23
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Service start/restart

how abt explaining the indirect way :stuck_out_tongue:

On Tue, Jan 6, 2009 at 11:08 PM, Skywing > wrote:
Not directly, no.

? S

________________________________
From: amitr0 >
Sent: Tuesday, January 06, 2009 22:54
To: Windows System Software Devs Interest List >
Subject: [ntdev] Service start/restart

Folks,

Greetings! I would liek to know if we can start/restart a windows service from a driver. Target OS is winxp32, vista[32|64]

Thanks



- amitr0
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer



- amitr0
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer