Run program as Windows 2003 Service

This is a discussion on Run program as Windows 2003 Service within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I have written some back up software using MFC (VC++) I would like the program to automatically run at ...

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    35

    Run program as Windows 2003 Service

    Hi,

    I have written some back up software using MFC (VC++)

    I would like the program to automatically run at a given time (to back up the data).

    I assume I have to install it as a service (Windows Server 2003).

    Can anyone point me in the right direction on how to achive this.

    Many Thanks

    Mike

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,265
    When I typed "windows programming service" into the google search box, you'll never guess what the first result was.

    How to write a Windows NT service

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    if you are running XP you can let the os schedule it -- see description of Schtasks. Click Start ==> Help & Support ==> enter "Schtasks" in the search box. You want need to make your program a Service if you use that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Changing a program into a Win Service
    By phal in forum Windows Programming
    Replies: 15
    Last Post: 08-03-2008, 06:31 PM
  2. program run as service
    By statquos in forum C++ Programming
    Replies: 2
    Last Post: 06-02-2008, 12:43 PM
  3. Replies: 2
    Last Post: 12-22-2006, 08:45 PM
  4. writing a windows service
    By talz13 in forum Windows Programming
    Replies: 2
    Last Post: 07-01-2004, 07:32 AM
  5. windows service + hooks + dll
    By rotis23 in forum Windows Programming
    Replies: 5
    Last Post: 09-04-2003, 08:06 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21