1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Running a program on startup

Discussion in 'Windows Home Server' started by Pablo Ruano, Oct 14, 2009.

  1. Pablo Ruano

    Pablo Ruano Guest

    Hello:

    I've developed an application that listens in a port for backup purposes. I
    want the application to run on the computer startup, even when there is no
    user logged on.
    I've read in the internet that I should create a new value in the regitry,
    in HKLM\software\microsoft\windows\CurrentVersion\RunServices.
    But I don't have such key in the registry. I only have Run and RunOnce. I've
    tried placing the value in the Run key, but the application starts after
    loggon.

    Could someone tell me how to create the key RunServices, because I tried
    just creating a ney key and renaming it, but it doesn't work, or any other
    solution for my problem?

    Thanks.
    Pablo.
     
  2. Good Afternoon.

    search the web for " run as a service " not related to "runas"
    can't remember the name for sure, but i beleive what you need is "srvany".

    Good Luck
    Pedro
    -------------------------------------
    On Wed, 14 Oct 2009 14:57:51 +0200, Pablo Ruano wrote:
    <!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Hello:
    >
    > I've developed an application that listens in a port for backup
    > purposes. I want the application to run on the computer startup, even
    > when there is no user logged on.
    > I've read in the internet that I should create a new value in the
    > regitry, in HKLMsoftwaremicrosoftwindowsCurrentVersionRunServices.
    > But I don't have such key in the registry. I only have Run and RunOnce.
    > I've tried placing the value in the Run key, but the application starts
    > after loggon.
    >
    > Could someone tell me how to create the key RunServices, because I tried
    > just creating a ney key and renaming it, but it doesn't work, or any
    > other solution for my problem?
    >
    > Thanks.
    > Pablo.<!--colorc--><!--/colorc-->





    --
    No trees were destroyed in the sending of this message, however, a
    significant number of electrons were terribly inconvenienced





    --
    No trees were destroyed in the sending of this message, however, a
    significant number of electrons were terribly inconvenienced
     
  3. "Pablo Ruano" <panda_929@hotmail.com> wrote in message
    news:elj0%233MTKHA.4144@TK2MSFTNGP02.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Hello:
    >
    > I've developed an application that listens in a port for backup purposes.
    > I want the application to run on the computer startup, even when there is
    > no user logged on.
    > I've read in the internet that I should create a new value in the regitry,
    > in HKLMsoftwaremicrosoftwindowsCurrentVersionRunServices.
    > But I don't have such key in the registry. I only have Run and RunOnce.
    > I've tried placing the value in the Run key, but the application starts
    > after loggon.
    >
    > Could someone tell me how to create the key RunServices, because I tried
    > just creating a ney key and renaming it, but it doesn't work, or any other
    > solution for my problem?
    >
    > Thanks.
    > Pablo.<!--colorc--><!--/colorc-->

    The easiest way is to start the application at boot time, using the Task
    Manager. The not so easy way is with srvany.exe, as Pedro mentioned - see
    here: .
     

Share This Page