I acually forgot the name. You know the unix file that is run when the machine is turned on, ie you dont gotta login for it to start. Im looking for something like that in windows. I tried services, but I cant seem to add anything there. I have been using the startup folder of admin to do this, but I dont want to login for the service to start. Any ideas?
Enter your domain name, account name, and password in DefaultDomainName, DefaultUserName, and DefaultPassword, using the values you would normally type when logging in. If values do not exist, you may add them with Edit, New, String Value, OK. Double-click the new String Value in the right window pane, and enter the password, etc. in the Value data box. The data type should be displayed as "REG-SZ."
You can cheat if you don't want to auto login. Use the task schedular. When you click "Add Scheduled Task" you can request an application to start when the machine starts, not when the user logs in. All you then need to do is specify the username and password of the user that has the privilege of running the app.
If you want it to run before you logon, it'll need to be a service. But as you discovers services aren't quite the same as other apps.
There are some programs out there that will run a regular program as a NT/2000 service (don't know if they work with Win9x) One of them is ServiceMill but it's pricy $125 for 1 server.
Others were freeware/shareware and much cheaper. They were popular for getting Setiathome working without having to login. Check around some of the seti groups' sites, you could probably find a link or two to them.
You could use SrvAny which is in the resource kit - bit difficult to use tho.
If you know any VB(6) do a search for ntsvc.ocx on google and you'll get some good sample code. Alternatively - services are a doddle in Vb.net (or c# or whatever).
Another alternative using Perl.... http://www.roth.net/perl/Daemon/