Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Start application before Windows startup

Start application before Windows startup

Scheduled Pinned Locked Moved System Admin
securityquestion
7 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JaVinci
    wrote on last edited by
    #1

    Hi! I'm developing a security application under Windows xp and I want it to run at the very beginning of the startup, before any other application starts. Is there any easy way to do it? Thank you very much. JaVinci.

    K 1 Reply Last reply
    0
    • J JaVinci

      Hi! I'm developing a security application under Windows xp and I want it to run at the very beginning of the startup, before any other application starts. Is there any easy way to do it? Thank you very much. JaVinci.

      K Offline
      K Offline
      K Baruah
      wrote on last edited by
      #2

      Hi A simple way is to make a Installer of the application with the option of putting the application in the StartUp folder under windowsXP Otherwise,If you have a very good knowledge of Windows Registry,(make sure to have registry Backup before editing it)then you can add the add a new startup application using the following Open your registry and find the key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]. For your Program to run,create a new string value and set the value of the string to the program executable. For example, to automatically start Microsoft Paint, add a new entry of "Paint"="c:\windows\mspaint.exe". Kaushik Baruah, Programmer Analyst in Cognizant Technology Solutions,India

      J 1 Reply Last reply
      0
      • K K Baruah

        Hi A simple way is to make a Installer of the application with the option of putting the application in the StartUp folder under windowsXP Otherwise,If you have a very good knowledge of Windows Registry,(make sure to have registry Backup before editing it)then you can add the add a new startup application using the following Open your registry and find the key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]. For your Program to run,create a new string value and set the value of the string to the program executable. For example, to automatically start Microsoft Paint, add a new entry of "Paint"="c:\windows\mspaint.exe". Kaushik Baruah, Programmer Analyst in Cognizant Technology Solutions,India

        J Offline
        J Offline
        JaVinci
        wrote on last edited by
        #3

        Hi and thanks for your reply! I was looking for some kind of registry solution... But it's important for my application to start before any other user application, does this solution grant it? My firewall, for instance, is launched even before the Win xp login screen appears, I mean, I know it can be done... I just don't know how... Thank you very much, Kaushik. JaVinci.

        L D 2 Replies Last reply
        0
        • J JaVinci

          Hi and thanks for your reply! I was looking for some kind of registry solution... But it's important for my application to start before any other user application, does this solution grant it? My firewall, for instance, is launched even before the Win xp login screen appears, I mean, I know it can be done... I just don't know how... Thank you very much, Kaushik. JaVinci.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Try to build your application as windows service[^] from vb.net.


          A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office

          J 1 Reply Last reply
          0
          • L Lost User

            Try to build your application as windows service[^] from vb.net.


            A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office

            J Offline
            J Offline
            JaVinci
            wrote on last edited by
            #5

            Sorry! I forgot to mention I'm using VC++ 6...

            L 1 Reply Last reply
            0
            • J JaVinci

              Sorry! I forgot to mention I'm using VC++ 6...

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Try to read this article[^], is this what you are looking for? Let me know if it is right or wrong!


              A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office

              1 Reply Last reply
              0
              • J JaVinci

                Hi and thanks for your reply! I was looking for some kind of registry solution... But it's important for my application to start before any other user application, does this solution grant it? My firewall, for instance, is launched even before the Win xp login screen appears, I mean, I know it can be done... I just don't know how... Thank you very much, Kaushik. JaVinci.

                D Offline
                D Offline
                Dimitris Vasiliadis
                wrote on last edited by
                #7

                Maybe you should check the CP article here. I think it will fit your needs better that putting your application in HKLM/.../Run


                ...Plug & Pray... X|

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups