The Straight Dope

Go Back   Straight Dope Message Board > Main > General Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 01-29-2007, 08:00 PM
CookingWithGas CookingWithGas is online now
Charter Member
 
Join Date: Mar 1999
Location: Tysons Corner VA
Posts: 8,995
Windows and Services

I have a program that I want to run every time Windows (XP Home) starts up, even if no one has logged in. Does such a program have be written to be a service, or is it possible to simply identify a program as a service for this to happen?
Reply With Quote
Advertisements  
  #2  
Old 01-29-2007, 08:07 PM
Duckster Duckster is online now
Charter Member
 
Join Date: Aug 2001
Posts: 11,844
How to Modify the List of Programs that Run When You Start Windows XP
Reply With Quote
  #3  
Old 01-29-2007, 08:37 PM
CookingWithGas CookingWithGas is online now
Charter Member
 
Join Date: Mar 1999
Location: Tysons Corner VA
Posts: 8,995
The first line, and subsequent instructions, refer to "To create or modify the list of programs that start automatically when you log on to your computer, follow these steps: "

I want a program to start when the machine starts, before anyone logs in.
Reply With Quote
  #4  
Old 01-29-2007, 08:40 PM
ultrafilter ultrafilter is offline
Guest
 
Join Date: May 2001
Wiki actually has a pretty decent article on Windows services. The external links should help to get you started.
Reply With Quote
  #5  
Old 01-29-2007, 08:41 PM
ParentalAdvisory ParentalAdvisory is offline
Guest
 
Join Date: Apr 2003
http://www.gamedev.net/reference/art...rticle1899.asp

Seems to require some knowledge of programming.
Reply With Quote
  #6  
Old 01-29-2007, 11:54 PM
Duckster Duckster is online now
Charter Member
 
Join Date: Aug 2001
Posts: 11,844
Quote:
Originally Posted by CookingWithGas
I want a program to start when the machine starts, before anyone logs in.

I sit corrected.

How about:

http://www.nirsoft.net/utils/strun.html
http://www.mlin.net/StartupCPL.shtml
Reply With Quote
  #7  
Old 01-30-2007, 07:40 AM
Number Number is offline
Charter Member
 
Join Date: Apr 2002
Location: North Chicagoland
Posts: 2,059
As ultrafilter's wiki link points out, you can create a service using Microsoft-published tools by following the steps in this Knowledge Base article.

The article was written for the Windows NT version of the utilities, but you can get newer ones in the Server 2003 Resource Kit Tools. Note that you don't have to install the package; the individual tools can be extracted with any unzipping program.

Not all programs will run correctly as services, and may require a lot of tweaking to get right.
Reply With Quote
  #8  
Old 01-30-2007, 08:04 AM
Khadaji Khadaji is offline
Member
 
Join Date: Mar 2002
Location: Southern Pennsylvania
Posts: 21,601
You have to create it as a service. There are some good books on it, with some good examples on Amazon.

I have recently had to create several services for a project at work. I used Borland Builder, which provides a very nice class wrapper for it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Send questions for Cecil Adams to: cecil@chicagoreader.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Publishers - interested in subscribing to the Straight Dope?
Write to: sdsubscriptions@chicagoreader.com.

Copyright © 2013 Sun-Times Media, LLC.