Depending on your OS, the methods vary.

There's of course the Startup(all), registry(all), services(NT), win.ini(all, i think).