471,338 Members | 1,294 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

Windows service automatic

Tom
Hi

I've created a windows service and it is set to run under local system
account. But after its installed and after reboot when I check in the
services its still sitting there and have not automatically started ?
but next to it the start mode does say 'automatic' instead of manual.

so how I get it to start after every reboot ?

Thanks
Tom
Jul 21 '05 #1
4 1732
JV
Never had this problem with any Windows service I've written.
Check whether you have a bug in the service's startup code that is causing a
crash, perhaps?

"Tom" <to********@optushome.com.au> wrote > Hi

I've created a windows service and it is set to run under local system
account. But after its installed and after reboot when I check in the
services its still sitting there and have not automatically started ? but
next to it the start mode does say 'automatic' instead of manual.

so how I get it to start after every reboot ?

Thanks
Tom

Jul 21 '05 #2
Tom
JV wrote:
Never had this problem with any Windows service I've written.
Check whether you have a bug in the service's startup code that is causing a
crash, perhaps?

"Tom" <to********@optushome.com.au> wrote > Hi
I've created a windows service and it is set to run under local system
account. But after its installed and after reboot when I check in the
services its still sitting there and have not automatically started ? but
next to it the start mode does say 'automatic' instead of manual.

so how I get it to start after every reboot ?

Thanks
Tom


there is no bug I checked in the event log and also when I manually
start it starts fine....

Thanks
Tom
Jul 21 '05 #3
I know it's been a while but I had a hard time with this one myself...
You can find some suggestions on the net that it may have something to do
with service dependencies, especially with the Eventlog service. In my case
problem was all about NET performance during system startup. You have to
create (or modify existing) registry DWORD value "ServicesPipeTimeout" in
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr ol" - I set it to 60000
(in miliseconds) and my service autostarts fine. Infuriatingly simple:-/

Jan
Hi

I've created a windows service and it is set to run under local system
account. But after its installed and after reboot when I check in the
services its still sitting there and have not automatically started ?
but next to it the start mode does say 'automatic' instead of manual.

so how I get it to start after every reboot ?

Thanks
Tom

Jul 21 '05 #4
Hi,

I remember that thread, but never understood what happens.
I will start writing a service in the near future and thanks for
that good pointer!!!

Best regards,
Manfred Braun

(Private)
Mannheim
Germany

mailto:_m*************@manfbraun.de
(Remove the anti-spam-underscore to mail me!)

"Jan Waga" <jw***@sim.com.pl> wrote in message
news:Ow**************@tk2msftngp13.phx.gbl...
I know it's been a while but I had a hard time with this one myself...
You can find some suggestions on the net that it may have something to do
with service dependencies, especially with the Eventlog service. In my case problem was all about NET performance during system startup. You have to
create (or modify existing) registry DWORD value "ServicesPipeTimeout" in
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr ol" - I set it to 60000
(in miliseconds) and my service autostarts fine. Infuriatingly simple:-/

Jan
Hi

I've created a windows service and it is set to run under local system
account. But after its installed and after reboot when I check in the
services its still sitting there and have not automatically started ?
but next to it the start mode does say 'automatic' instead of manual.

so how I get it to start after every reboot ?

Thanks
Tom


Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Artur Kowalski | last post: by
2 posts views Thread by Mark | last post: by
3 posts views Thread by Johnny Fugazzi | last post: by
4 posts views Thread by microsoft.public.dotnet.framework.performance | last post: by
4 posts views Thread by tshad | last post: by
6 posts views Thread by =?Utf-8?B?QW5kcmV3?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.