How do i make something run on startup without...

Put it in the registry to start with Windows.

First, Know where the program executable file is located, then,

Start>Run>Regedit

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Right-click "Run" and select 'New"   "String value" and give the key a name.

Right-click the new key you just made and select "Modify"
In the lower input box, quote the full path including the program executable and click Ok.

The program now starts with Windows.










 
Hello !
This solution was... magical for me :)
But I need a little more help: if my executable to put it in the registry to start with Windows is a .reg file, how could it be run silently, without prompting any warning "are you sure you want to add the information ... to the registry?"
To execute ONE .reg file silently there is a command in RUN: regedit.exe /s path.reg file , but how to turn off the warnings forever? Or only to my startup .reg file? (And yes, it is necessary to run it everytime in startup)
Thank you!
 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Right-click "Run" and select "New" "String value" and give the key a name.

Right-click the new key you just made and select "Modify"

In the lower input box, quote "reg import path.reg "

All that did the job! Amazing !!!
Thanks from all my heart!!!

Usually the help received on other forums is like the help received in that joke with the psychiatrist.
2 friends - one orthopedist and the other psychiatrist.
When the psychiatrist broke one leg, the orthopedist helped him immediatly: put his leg in plaster.
When the orthopedist broke one leg, the psychiatrist helped him immedialty: he asked the orthopedist if he wants to ... talk about his broken leg...

So all my respect for solving a problem instead of talking with no purpose!
All the best!!!
 


You are quite welcome. :) We at Tom's Hardware try harder. [:tigsounds]



I liked working with you. Not everyone can follow really basic instructions like you did. Some must be shown each and every click and where it is, and that's not a bad thing, it's just really cool to tell someone they can put something in the Windows Startup or use the registry and they already know what you're talking about.

Cheers
😀
 
:hello: You made me blush...

Just for curiosity, you wrote another suggestion too:
"It can also go in the Windows startup folder instead". How can you put a command ( reg import path.reg ) into a ... folder?
If you intended to say to put there my .reg file there, then 100% it would ask permission everytime.

And a last curiosity: on my comp there is no password for Administrator (I chose at installation to not select one), but when I wanted to add a Task on startup with Task Scheduler - I was asked for passoword... No password - no access. Very nice! :sarcastic:
 
"It can also go in the Windows startup folder instead". How can you put a command ( reg import path.reg ) into a ... folder?
Urrgh ! 😱 Busted !!! :pfff:

My Start menu has been broken for months. I never fixed it because I never use it. I can't put your question to the test now until I fix my own computer. It might be a long night for me... dang. :cry:

To put reg import in the start menu/Startup:

Open Windows Explorer, Navigate to Docs & Settings {your username}/Start menu/Startup.
In the right pane, right-click and select New, shortcut.
Make the target anything you want, really. Click OK, a new shortcut is in the startup folder.
Right-click the new shortcut, select Properties.
Change the target to: reg import path.reg (and the slashes are backslashes here).
Example: reg import C׃\Documents and Settings\Owner\Desktop\myRegFile.reg
I'm uncertain if all this needs to be quoted or not. I'll find out later tonight 🙁 but you can test either way.
Make shortcut "Start in" C׃Windows

If it is put in the startup folder as just a .reg file, there is a switch that is supposed to make it silent,
(regedit /s regfile.reg) and including the regedit part is mandatory, but since I can't prove it...

Also, if the regedit /s regfile.reg is the contents of a batchfile, it will be silent and a batchfile call can be put into the startup.

There's 3 ways to put your project in the Start menu, silent, without even looking.
Of course the whole point and title of this thread was that you don't want it in the start menu/startup. :??:
So that brings us full-circle, right back to what I said
HERE.

The Task Scheduler thing is a new thread in the making. Mine demands the computer name and user in the first box. I don't have a lot of time to look into it right now, obviously. :sweat:






(I'll be back) [:tigsounds:3]