|
Summary: There are several ways to auto start a program under Windows. Unfortunately, only one of the auto start methods is easy. I have a program that I want to auto start every time when windows starts, how can I do that? I know that i can do it when i put it in start folder in "programs". But I don't want to do it at that way, are there any other methods? Is it possible to create a batch file or something and write what the program is named and just click on the batch file one time, and the program will start every time when the windows starts, or do you have other ideas? The batch file idea reminds me of the old "autoexec.bat" file that would run every time MS-DOS was booted. That file still exists for some compatibility reasons, but it's no longer used at all. There are other ways, but things get pretty geeky pretty quick if you don't want to use the Start menu functionality. • I'll start by saying this: unless you know what you're doing, the Start menu - or more correctly the Start->[All] Programs->Startup sub menu - is the easiest, quickest and safest way to do it. It's what I honestly recommend - even if you need to set up an auto-login to make it happen on boot. All you need do is create a shortcut within that sub menu to whatever it is you want and it will be run each time you log in. Now, if you're still set on finding other ways, my recommendation would be to grab the tool "autoruns" from SysInternals.com. It will list everything that auto-starts on your machine, and from where. "You probably want to know what you're doing before you
attempt to add things to the registry"
You'll see several entries that are in the registry, for one example: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run has many programs listed there on my machine. You can easily look at the examples of what's already there on your own. The several different registry keys have different purposes. They run as different users, and auto-run at different times (Boot versus user login, for example). They may not have access to everything you need, though, based on permissions and the state of the machine as it's booting up. You probably want to know what you're doing before you attempt to add things to the registry. It's also why I say that the Start menu approach is much easier. But the start menu, and the registry, are pretty much your only options. Related:
• Recent Comments
Just for the record (and for users still using Windows 95/98/ME): on 9x-based Windows operating-systems there were also "run=" and "load=" lines in the "win.ini" file, which purpose was to load programs (and drivers, read on); where the run= one was intended to run programs and load= one to load any additional drivers. ________ best regards, Another idea - you can convert your program or script to Windows Service. This service will start your program after computer restart even if no user is logged on. This article helped me a lot. That's what I can say... Posted by: Ankit Kaul at April 27, 2007 05:03 AMHow about using the Local Computer Policy (if the computer is not a member of a domain) and add a Startup/Logon Script Jankovic Milan, Belgrade, Serbia Posted by: Jankovic Milan at March 16, 2008 05:28 AMHi, Please let me know what my options are at this point. I used the exetoservice software to convert my app to a service and set it up. I think it works great now and addresses my needs very well. Thanks you for the info on this web site. This was so helpful. HELP!! i need to know how to directly start a program example... When your friend asks a file and you send it by msn i want the program or file to start or open directly after download... Tell me please,,. Thanks -----BEGIN PGP SIGNED MESSAGE----- Starting a program automatically after a download (without Leo
iD8DBQFIe4TyCMEe9B/8oqERAi5NAJ4ld2RnolKqwj0rA5LqMKigjXx6sACeIUUY Post a comment on "Auto Start: How do I run a program automatically when Windows starts?":
|
Archives Advertisers |