Starting an application on logon












3















I have some programs I wish to start when I logon to my user account on Windows 7. Currently I am putting a shortcut in the "startup" folder in the start menu. Is there an alternative to doing this? Looking in msconfig, there are programs set to start up there, but there is no apparent way of adding new ones. How can I start applications are logon? An example would be Xfire, a gaming application that I want to start automatically, but not as a service.










share|improve this question

























  • The best answer may vary depending on what kinds of programs. Are they shortcuts, exe or bat files, or do you need some program to run as a service? I can think of a lot of ways to do this, but some might be better than others depending on what you are doing: One is even very complicated for complicated situations.

    – KCotreau
    Jul 29 '11 at 22:41













  • One more question: What isn't the startup folder doing for you in this case?

    – KCotreau
    Jul 29 '11 at 23:19











  • @KCotreau I just feel there may be a better way to do it.

    – Simon Sheehan
    Jul 29 '11 at 23:20
















3















I have some programs I wish to start when I logon to my user account on Windows 7. Currently I am putting a shortcut in the "startup" folder in the start menu. Is there an alternative to doing this? Looking in msconfig, there are programs set to start up there, but there is no apparent way of adding new ones. How can I start applications are logon? An example would be Xfire, a gaming application that I want to start automatically, but not as a service.










share|improve this question

























  • The best answer may vary depending on what kinds of programs. Are they shortcuts, exe or bat files, or do you need some program to run as a service? I can think of a lot of ways to do this, but some might be better than others depending on what you are doing: One is even very complicated for complicated situations.

    – KCotreau
    Jul 29 '11 at 22:41













  • One more question: What isn't the startup folder doing for you in this case?

    – KCotreau
    Jul 29 '11 at 23:19











  • @KCotreau I just feel there may be a better way to do it.

    – Simon Sheehan
    Jul 29 '11 at 23:20














3












3








3


2






I have some programs I wish to start when I logon to my user account on Windows 7. Currently I am putting a shortcut in the "startup" folder in the start menu. Is there an alternative to doing this? Looking in msconfig, there are programs set to start up there, but there is no apparent way of adding new ones. How can I start applications are logon? An example would be Xfire, a gaming application that I want to start automatically, but not as a service.










share|improve this question
















I have some programs I wish to start when I logon to my user account on Windows 7. Currently I am putting a shortcut in the "startup" folder in the start menu. Is there an alternative to doing this? Looking in msconfig, there are programs set to start up there, but there is no apparent way of adding new ones. How can I start applications are logon? An example would be Xfire, a gaming application that I want to start automatically, but not as a service.







windows-7 windows






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 31 at 7:13









Martin Prikryl

11.1k43278




11.1k43278










asked Jul 29 '11 at 22:12









Simon SheehanSimon Sheehan

7,705124269




7,705124269













  • The best answer may vary depending on what kinds of programs. Are they shortcuts, exe or bat files, or do you need some program to run as a service? I can think of a lot of ways to do this, but some might be better than others depending on what you are doing: One is even very complicated for complicated situations.

    – KCotreau
    Jul 29 '11 at 22:41













  • One more question: What isn't the startup folder doing for you in this case?

    – KCotreau
    Jul 29 '11 at 23:19











  • @KCotreau I just feel there may be a better way to do it.

    – Simon Sheehan
    Jul 29 '11 at 23:20



















  • The best answer may vary depending on what kinds of programs. Are they shortcuts, exe or bat files, or do you need some program to run as a service? I can think of a lot of ways to do this, but some might be better than others depending on what you are doing: One is even very complicated for complicated situations.

    – KCotreau
    Jul 29 '11 at 22:41













  • One more question: What isn't the startup folder doing for you in this case?

    – KCotreau
    Jul 29 '11 at 23:19











  • @KCotreau I just feel there may be a better way to do it.

    – Simon Sheehan
    Jul 29 '11 at 23:20

















The best answer may vary depending on what kinds of programs. Are they shortcuts, exe or bat files, or do you need some program to run as a service? I can think of a lot of ways to do this, but some might be better than others depending on what you are doing: One is even very complicated for complicated situations.

– KCotreau
Jul 29 '11 at 22:41







The best answer may vary depending on what kinds of programs. Are they shortcuts, exe or bat files, or do you need some program to run as a service? I can think of a lot of ways to do this, but some might be better than others depending on what you are doing: One is even very complicated for complicated situations.

– KCotreau
Jul 29 '11 at 22:41















One more question: What isn't the startup folder doing for you in this case?

– KCotreau
Jul 29 '11 at 23:19





One more question: What isn't the startup folder doing for you in this case?

– KCotreau
Jul 29 '11 at 23:19













@KCotreau I just feel there may be a better way to do it.

– Simon Sheehan
Jul 29 '11 at 23:20





@KCotreau I just feel there may be a better way to do it.

– Simon Sheehan
Jul 29 '11 at 23:20










2 Answers
2






active

oldest

votes


















4














I am going to cover a bunch of ways to start things, for the both the user and for the entire computer. Some of it is not specific to your question, but seems relevant to the general discussion.



In your case, I think the Startup folder is probably easiest and best unless you come up with a specific problem it does not solve.



Basically, there are numerous ways to make something start as a user:




  1. The Startup folder.

  2. If you have a real scripts, like .BAT, .CMD, Powershell, Windows Script Host (WSH), VBScript, or Jscript you can use gpedit.msc to add them as a login/logoff script (see the screenshot, but under User Configuration>Windows Settings>Scripts).

  3. Under this key in the registry:
    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun


To make things start for the entire computer:




  1. You can make things run as a service. It is fairly detailed, but you can follow this reprinting of the article I wrote on doing this for a VPN, and apply the basics steps to your situation and specific service.

  2. Same as above, slightly different location: If you have a real scripts, like .BAT, .CMD, Powershell, Windows Script Host (WSH), VBScript, or Jscript you can use gpedit.msc to add them as a startup/shutdown script (see the screenshot).

  3. Under this key in the registry:
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun


enter image description here



There are others like the Runonce registry keys, legacy files like autoexec.bat, but this covers the most important ones.






share|improve this answer


























  • VERY well written, nice job.

    – Simon Sheehan
    Jul 30 '11 at 0:03











  • Thank you. That VPN article I wrote was based on a lot of hard work to figure out how to get it to work.

    – KCotreau
    Jul 30 '11 at 0:06











  • Great job on this one, Its an innovative way to do this. I'm not marking it as correct yet, to give others a chance, but its great so far.

    – Simon Sheehan
    Jul 30 '11 at 0:14



















0














You can do this:





  1. Start >> Run (or press Win_Key + R>> Type gpedit.msc

  2. Under Computer Configuration >> Windows Settings

  3. Double click Scripts(Startup/Shutdown)

  4. Double click Startup in the right pane.

  5. Click Add button and browse to your program's .exe file and then click Ok then Click 'Ok' again.


This post mentions six other ways to do this!!






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f316875%2fstarting-an-application-on-logon%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    I am going to cover a bunch of ways to start things, for the both the user and for the entire computer. Some of it is not specific to your question, but seems relevant to the general discussion.



    In your case, I think the Startup folder is probably easiest and best unless you come up with a specific problem it does not solve.



    Basically, there are numerous ways to make something start as a user:




    1. The Startup folder.

    2. If you have a real scripts, like .BAT, .CMD, Powershell, Windows Script Host (WSH), VBScript, or Jscript you can use gpedit.msc to add them as a login/logoff script (see the screenshot, but under User Configuration>Windows Settings>Scripts).

    3. Under this key in the registry:
      HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun


    To make things start for the entire computer:




    1. You can make things run as a service. It is fairly detailed, but you can follow this reprinting of the article I wrote on doing this for a VPN, and apply the basics steps to your situation and specific service.

    2. Same as above, slightly different location: If you have a real scripts, like .BAT, .CMD, Powershell, Windows Script Host (WSH), VBScript, or Jscript you can use gpedit.msc to add them as a startup/shutdown script (see the screenshot).

    3. Under this key in the registry:
      HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun


    enter image description here



    There are others like the Runonce registry keys, legacy files like autoexec.bat, but this covers the most important ones.






    share|improve this answer


























    • VERY well written, nice job.

      – Simon Sheehan
      Jul 30 '11 at 0:03











    • Thank you. That VPN article I wrote was based on a lot of hard work to figure out how to get it to work.

      – KCotreau
      Jul 30 '11 at 0:06











    • Great job on this one, Its an innovative way to do this. I'm not marking it as correct yet, to give others a chance, but its great so far.

      – Simon Sheehan
      Jul 30 '11 at 0:14
















    4














    I am going to cover a bunch of ways to start things, for the both the user and for the entire computer. Some of it is not specific to your question, but seems relevant to the general discussion.



    In your case, I think the Startup folder is probably easiest and best unless you come up with a specific problem it does not solve.



    Basically, there are numerous ways to make something start as a user:




    1. The Startup folder.

    2. If you have a real scripts, like .BAT, .CMD, Powershell, Windows Script Host (WSH), VBScript, or Jscript you can use gpedit.msc to add them as a login/logoff script (see the screenshot, but under User Configuration>Windows Settings>Scripts).

    3. Under this key in the registry:
      HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun


    To make things start for the entire computer:




    1. You can make things run as a service. It is fairly detailed, but you can follow this reprinting of the article I wrote on doing this for a VPN, and apply the basics steps to your situation and specific service.

    2. Same as above, slightly different location: If you have a real scripts, like .BAT, .CMD, Powershell, Windows Script Host (WSH), VBScript, or Jscript you can use gpedit.msc to add them as a startup/shutdown script (see the screenshot).

    3. Under this key in the registry:
      HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun


    enter image description here



    There are others like the Runonce registry keys, legacy files like autoexec.bat, but this covers the most important ones.






    share|improve this answer


























    • VERY well written, nice job.

      – Simon Sheehan
      Jul 30 '11 at 0:03











    • Thank you. That VPN article I wrote was based on a lot of hard work to figure out how to get it to work.

      – KCotreau
      Jul 30 '11 at 0:06











    • Great job on this one, Its an innovative way to do this. I'm not marking it as correct yet, to give others a chance, but its great so far.

      – Simon Sheehan
      Jul 30 '11 at 0:14














    4












    4








    4







    I am going to cover a bunch of ways to start things, for the both the user and for the entire computer. Some of it is not specific to your question, but seems relevant to the general discussion.



    In your case, I think the Startup folder is probably easiest and best unless you come up with a specific problem it does not solve.



    Basically, there are numerous ways to make something start as a user:




    1. The Startup folder.

    2. If you have a real scripts, like .BAT, .CMD, Powershell, Windows Script Host (WSH), VBScript, or Jscript you can use gpedit.msc to add them as a login/logoff script (see the screenshot, but under User Configuration>Windows Settings>Scripts).

    3. Under this key in the registry:
      HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun


    To make things start for the entire computer:




    1. You can make things run as a service. It is fairly detailed, but you can follow this reprinting of the article I wrote on doing this for a VPN, and apply the basics steps to your situation and specific service.

    2. Same as above, slightly different location: If you have a real scripts, like .BAT, .CMD, Powershell, Windows Script Host (WSH), VBScript, or Jscript you can use gpedit.msc to add them as a startup/shutdown script (see the screenshot).

    3. Under this key in the registry:
      HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun


    enter image description here



    There are others like the Runonce registry keys, legacy files like autoexec.bat, but this covers the most important ones.






    share|improve this answer















    I am going to cover a bunch of ways to start things, for the both the user and for the entire computer. Some of it is not specific to your question, but seems relevant to the general discussion.



    In your case, I think the Startup folder is probably easiest and best unless you come up with a specific problem it does not solve.



    Basically, there are numerous ways to make something start as a user:




    1. The Startup folder.

    2. If you have a real scripts, like .BAT, .CMD, Powershell, Windows Script Host (WSH), VBScript, or Jscript you can use gpedit.msc to add them as a login/logoff script (see the screenshot, but under User Configuration>Windows Settings>Scripts).

    3. Under this key in the registry:
      HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun


    To make things start for the entire computer:




    1. You can make things run as a service. It is fairly detailed, but you can follow this reprinting of the article I wrote on doing this for a VPN, and apply the basics steps to your situation and specific service.

    2. Same as above, slightly different location: If you have a real scripts, like .BAT, .CMD, Powershell, Windows Script Host (WSH), VBScript, or Jscript you can use gpedit.msc to add them as a startup/shutdown script (see the screenshot).

    3. Under this key in the registry:
      HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun


    enter image description here



    There are others like the Runonce registry keys, legacy files like autoexec.bat, but this covers the most important ones.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jan 31 at 7:12









    Martin Prikryl

    11.1k43278




    11.1k43278










    answered Jul 29 '11 at 23:53









    KCotreauKCotreau

    24.7k54064




    24.7k54064













    • VERY well written, nice job.

      – Simon Sheehan
      Jul 30 '11 at 0:03











    • Thank you. That VPN article I wrote was based on a lot of hard work to figure out how to get it to work.

      – KCotreau
      Jul 30 '11 at 0:06











    • Great job on this one, Its an innovative way to do this. I'm not marking it as correct yet, to give others a chance, but its great so far.

      – Simon Sheehan
      Jul 30 '11 at 0:14



















    • VERY well written, nice job.

      – Simon Sheehan
      Jul 30 '11 at 0:03











    • Thank you. That VPN article I wrote was based on a lot of hard work to figure out how to get it to work.

      – KCotreau
      Jul 30 '11 at 0:06











    • Great job on this one, Its an innovative way to do this. I'm not marking it as correct yet, to give others a chance, but its great so far.

      – Simon Sheehan
      Jul 30 '11 at 0:14

















    VERY well written, nice job.

    – Simon Sheehan
    Jul 30 '11 at 0:03





    VERY well written, nice job.

    – Simon Sheehan
    Jul 30 '11 at 0:03













    Thank you. That VPN article I wrote was based on a lot of hard work to figure out how to get it to work.

    – KCotreau
    Jul 30 '11 at 0:06





    Thank you. That VPN article I wrote was based on a lot of hard work to figure out how to get it to work.

    – KCotreau
    Jul 30 '11 at 0:06













    Great job on this one, Its an innovative way to do this. I'm not marking it as correct yet, to give others a chance, but its great so far.

    – Simon Sheehan
    Jul 30 '11 at 0:14





    Great job on this one, Its an innovative way to do this. I'm not marking it as correct yet, to give others a chance, but its great so far.

    – Simon Sheehan
    Jul 30 '11 at 0:14













    0














    You can do this:





    1. Start >> Run (or press Win_Key + R>> Type gpedit.msc

    2. Under Computer Configuration >> Windows Settings

    3. Double click Scripts(Startup/Shutdown)

    4. Double click Startup in the right pane.

    5. Click Add button and browse to your program's .exe file and then click Ok then Click 'Ok' again.


    This post mentions six other ways to do this!!






    share|improve this answer






























      0














      You can do this:





      1. Start >> Run (or press Win_Key + R>> Type gpedit.msc

      2. Under Computer Configuration >> Windows Settings

      3. Double click Scripts(Startup/Shutdown)

      4. Double click Startup in the right pane.

      5. Click Add button and browse to your program's .exe file and then click Ok then Click 'Ok' again.


      This post mentions six other ways to do this!!






      share|improve this answer




























        0












        0








        0







        You can do this:





        1. Start >> Run (or press Win_Key + R>> Type gpedit.msc

        2. Under Computer Configuration >> Windows Settings

        3. Double click Scripts(Startup/Shutdown)

        4. Double click Startup in the right pane.

        5. Click Add button and browse to your program's .exe file and then click Ok then Click 'Ok' again.


        This post mentions six other ways to do this!!






        share|improve this answer















        You can do this:





        1. Start >> Run (or press Win_Key + R>> Type gpedit.msc

        2. Under Computer Configuration >> Windows Settings

        3. Double click Scripts(Startup/Shutdown)

        4. Double click Startup in the right pane.

        5. Click Add button and browse to your program's .exe file and then click Ok then Click 'Ok' again.


        This post mentions six other ways to do this!!







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jul 29 '11 at 22:29

























        answered Jul 29 '11 at 22:17









        TookTheRookTookTheRook

        3,0191018




        3,0191018






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f316875%2fstarting-an-application-on-logon%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕