Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
Windows Service Startup Modes - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, Xamarin.iOS, Xamarin.Android, and Windows Azure.

News

Visual Studio Magazine Column Personal Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

Windows Service Startup Modes

When you startup your Windows Services that are written in .NET, you can specify three startup modes:

  • Automatic.  When the system starts up, the service will startup as if it is set to Automatic in the Services applet.
  • Manual.  When the system starts up, the service will startup as if it is set to Manual in the Services applet.
  • Disabled.    When the system starts up, the service will not startup as if the service is set in the Disabled mode in the Services applet.

These modes are provided by the enum System.ServiceProcess.ServiceStartMode.

Wally

Posted: May 23 2005, 08:30 AM by Wallym | with 3 comment(s)
Filed under:

Comments

Douglas Reilly said:

One important distinction I have been bitten with is that a Manual service can be started "automatically" if another service that is set to start has a dependency on the service. If you really do not want to have a service starte, no matter what, then Disabled is the best bet...
# May 23, 2005 11:22 AM

Stan said:

This post is so utterly useless!!! I can't believe that you actually posted such useless information and wasted everyone's time.
# May 24, 2005 2:51 AM

Stan said:

Almost as useless as the comment!

# November 17, 2008 2:47 PM