how to run exe program in window start up and window shutdown RRS feed


All replies

  • Hi haidereng,

    Please clarify your project type and programming language. This is not a develop forum.

    Or if you just want your exe to be run.

    Check something below:

    1. About exe run at Windows Start Up, you can use msconfig->Startup and add your app there.

    2. About exe run when shutdown, that is depends. I don't know such a way except for programming yourself.


    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, February 3, 2014 5:49 AM
  • Hi Haidereng,

    Welcomes you to MSDN forums...

    For your Query

    1. How to run a exe in windows startup:

    There are a few ways but one of the easiest is to but a shortcut to the application in the startup folder of the start menu.

    Place as shortcut to the program in the windows start up file.

    Win9x/98/Me - C:\Windows\Start Menu\Programs\StartUp
    WinNT/2K - C:\Winnt\Profiles\All Users\Start Menu\Programs\StartUp
    WinXP - C:\Documents and Settings\All Users\Start Menu\Programs\Startup

    You can also add a key to the registry under
    HKCU\Software\Microsoft\Windows\Current Version\Run


    2.How to run a exe in windows shutdown,

    Execute gpedit.msc (local Policies)

    Windows settings -> Scripts -> Shutdown -> Properties -> Add


    I hope it will helps to you.


    A Pathfinder..

    JoSwa(P Elayaraja)

    Best Online Journal

    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful"

    Monday, February 3, 2014 9:29 AM