I may not have just the right program for you there. But I can point out why you are seeing the program crash when placing it in a startup folder. The program(unnamed, whatever it is) was never written to load along with Windows but to be run once in the Windows environment.
Possible solution? You would need a schedule type utility of some type set for a certain time of day when the system will already be running to see the program automatically started then. One of those just happens to be 12Ghosts Timer seen at http://12ghosts.co.uk/ghosts/timer.htm