To be more specific, I'm looking for a way for the program to begin without needing to execute the program at all. I've tried a batch file, but it didn't work (thanks though, Mungo ).
I've looked into adding registry keys, but that would require the execution of the program.
How can I do this? Any ideas? Thanks guys.
You can set a program to be run at startup by adding it to the Registry under the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run.
In regedit, do this manually, then export (File->Export...) just that key. It exports as a .reg file (which is Unicode text) that you can edit; clean out the irrelevant entries and just leave yours. It should look something like:
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"googletalk"="C:\\Program Files\\Google\\Google Talk\\googletalk.exe /autostart"
(in this example, googletalk.exe is the program you want run).
Put the .reg file and your program on the target machine. Double-clicking on a .reg file like this one will bring up a confirm dialog; if you click "Yes", it will be added to the registry, and your program will run on next startup.