Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to start my application, which is written in C# and has .exe files, when installed at the beginning of Windows loading.

I would like to load it into into the application if possible.

I don't want the user to see anything after the Windows logo screen. Is that possible?

share|improve this question
    
1  
So you want to just start an application? Or do you actually want to load something into your application, which you programmed yourself? It's not that clear from your question what you really want to do –  slhck Jun 11 '12 at 12:07
    
As I understand the question, denonth wants to start his "cmd" based app with Windows without "cmd" shows itself when starting the .exe file.... This is not the same as the cited duplication asks... –  Diogo Jun 11 '12 at 12:18

2 Answers 2

up vote 4 down vote accepted

Mainly, you need to add your .exe or the method used to start the exe to your autorun registry key(to make your Windows start the program automatically):

  1. You could use your Windows Task Scheduler. Just type scheduler on your Windows search, open the Windows Task Scheduler and create a task with the "start with Windows" trigger to start your exe with Windows.

  2. You could just add your executable command to the Windows Registry autorun key:

  1. Launch the Registry Editor. This can be done by selecting the "Run" command from the "Start" menu in Windows, then typing "Regedit" into the text box and tapping the "Enter" key. You may also simply type "Regedit" from a CMD or command prompt.

  2. Open the Local Machine hive. The Registry Editor is arranged hierarchically, like the directory structure you see in the File Manager. At the top-most level there are five sections. Clicking the "+" sign next to "HKEY_LOCAL_MACHINE" will expand, or open up, that hive.

  3. Navigate to the "Run" branch. Clicking the "+" sign next to each item in turn, open up "Software" > "Microsoft" > "Windows." Inside the Windows branch open "CurrentVersion" followed by "Run."

  4. Preserve the current settings. Right-click on the word "Run" in the left panel of the Registry Editor and select "Export." Ensure the registry path at the bottom is accurate and ends in "\Run." Select the radio button marked "Selected branch" at the bottom-left of the export window. Take note of where you saved this file.

  5. Add, remove, or alter entries as you see fit. Beware that many ordinary and necessary programs are listed here, blended in with programs you may not need and may not have known you were running.

  6. When you have made your changes, choose "Save" from the "File" menu at the top-left of the Registry Editor. Quit the Registry Editor and reboot your system.

But if you "want the user to see anything after the Windows logo screen", I can see two main ways:

enter image description here

start "" "C:\Your_Program_Path\Your_Program.exe"

share|improve this answer
1  
Just what I needed –  user123_456 Jun 11 '12 at 13:04

Search the "Startup" folder then put your program in it. Any program in this folder will start when you start Windows.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.