tsamb. Posted June 21, 2004 Posted June 21, 2004 Anyone know how to add a program as a service in windows xp? So it comes up in msconfig / loads as windows xp boots... I googled for it but only came up with a bunch of SP2 crap... thanks in advance, -tsamb. Quote Share this post Link to post Share on other sites More sharing options...
upok Posted June 21, 2004 Posted June 21, 2004 (edited) not sure how to add a service, but if you just want an app to start at startup, that's easy. if you go to start-all programs-startup. find the address of the "startup" link, usually something like "c:\documents and settings\owner\start menu\programs\startup"(with owner being a variable). any executable file in this folder will automatically start with windows. just copy and paste the executable from the app you want to start with windows and voila! good luck! oh and by the way, it will show up in msconfig too. Edited June 21, 2004 by upok Quote Share this post Link to post Share on other sites More sharing options...
sdy284 Posted June 21, 2004 Posted June 21, 2004 My buddy @ college did it in the registry, trouble is i dunno how he did it. Go to Regedit.com and try searching on there, i think thats where he found out how to do it. good luck Quote Share this post Link to post Share on other sites More sharing options...
Nemo Posted June 21, 2004 Posted June 21, 2004 I'm going to refer you to here I used this as a guide to add a second instance of folding as a service. The only problem I had was in this line: instsrv Folding c:\fold\srvany.exe I had to put the source location in quotes like this "c:\fold\srvany.exe" Hope this helps. Quote Share this post Link to post Share on other sites More sharing options...
exeter_acres Posted June 21, 2004 Posted June 21, 2004 This is something I put together a while ago for F@H, but I don't see why it couldn't be used for others..... Not all programs CAN run as a service AFAIK.... so no gaurantees http://www.thepeaks.com/fah/ Quote Share this post Link to post Share on other sites More sharing options...
tsamb. Posted June 22, 2004 Posted June 22, 2004 Thanks for the input guys! And just FYI the reason I wanted service instead of just startup is so it runs before anyone even logs on... and it was of course in relation to folding, heh. Quote Share this post Link to post Share on other sites More sharing options...
cybergrunt69 Posted June 25, 2004 Posted June 25, 2004 ya, this is a couple of days out, so you may not notice but... If you have the resource kit installed, there is an application called "srvinstw.exe" that will walk you through installing or removing any service or driver. If you use this, you won't have to touch the registry. You can google this for specifics on how it can be used. Quote Share this post Link to post Share on other sites More sharing options...
tsamb. Posted June 26, 2004 Posted June 26, 2004 Okay, great work guys, thanks for the info. But now that I've added the service, I still want the program to run, not just the process. Anyone know what to add to the string or whatnot to load the program as well as the process? Quote Share this post Link to post Share on other sites More sharing options...
Nemo Posted June 26, 2004 Posted June 26, 2004 I can't speak to the other suggestions, but if you just created the service, you'll have to go to the registry and make entries to tell what you want to run. This method is not hard, but if you're not comfortable touching the registry, one of the other methods may be a better alternative. Quote Share this post Link to post Share on other sites More sharing options...
tsamb. Posted June 27, 2004 Posted June 27, 2004 No. Everything is done. I have created the service. I have added all of the parameters to the registry. The service loads as a service when I load windows. All I want to know now is how I get the service to actually open the program when it starts, rather than just run the process. Quote Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.