2

I've got a small console application that runs some SVN commands on a number of folders that I run first thing in the morning. Is it possible to add this to the list of things Windows runs at startup?

Edit; Downloading the Tortoise SVN PDF now and I'll see if I can "translate" my app to a batch script, if that's an easier to run automatically at startup.

10

NB: a faster way would be to add a link to the file in C:\Users(User-Name)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Regarding your question: you can add the path to the application in the windows registry:

1) hit Start

2) type regedit and press enter

3) go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

4) In the right pane of Run, right click on a blank spot and add a new key, containing the path to your application

Detailed guide here.

2
  • 1
    you're welcome sab. a faster way would be to add a link to the file in C:\Users(User-Name)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup – Jess Stone Dec 16 '13 at 14:55
  • Is there a practical difference between adding it to the Startup folder versus editing the registry? – shadowtalker Oct 7 '18 at 16:01
2

This page has the steps mentioned in detail. This is by far the best method of adding a program to startup because you also get the option to disable it from msconfig by a simple checkbox uncheck

Source: http://nofusswintricks.blogspot.in/2011/12/how-to-add-program-to-windows-startup.html

Step 1:

Start regedit:

Press “Win + R” or Start button > Run

Step 2:

To run only for current user:

In regedit, go to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

To run for all users, go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Step 3:

Right Click > New > String Value

and then type name of the program e.g.: “Sticky Notes”

Right Click > Modify

now enter the full path of the program e.g.:”C:\Windows\System32\StikyNot.exe”

Now your program should start the next time you restart your PC

3
  • Nice link! However, we discourage link-only answer, because if the link is broken, then your answer will be invalidated and might be deleted. Can you update your answer to include the essential part/summary of the link mentioned? – Vylix Nov 29 '17 at 7:35
  • 1
    included text from the link – t4u51f Nov 30 '17 at 8:36
  • Although it is essentially the same answer, +1 for better readability. – RiA Jul 24 '18 at 0:35
1

You can add/remove an item to the Startup list in MSConfig with regedit :

On regedit you have several path :

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run (like Jess's answer)
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run only 64bits
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Unchecked elements on msconfig.exe, are here : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg

And with windows folder : C:\Users\(User-Name)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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