PDA

View Full Version : Remotely Installing a Service on WinXP



MashRinx
08-26-2002, 12:08 PM
Okay, I need some help....

I MAY be able to add quite a few new machines to the fold, but I need to solve a distance issue first...

I can easily copy all of the necessary DF files to these machines using admin shares, but what I don't know how to do is run the process to install the DistFold service on those boxes once the files are there?

(*laugh* If I try to fun the FoldTrajLite.exe /install from my local machine, while connected to the remote files, it just installs the service on MY machine, using the remote files *DUH*)

If I can do this though, then I should be able to up production a LOT. What I don't want to have to do is Term Svc into each box or anything along those lines to make this happen..

Is there a good way to remotely install the DistFold service on an XP box?

Thanks in advance, oh fellow Free-DC'ers. (or anyone else, for that matter) :D

Mash

IronBits
08-26-2002, 12:27 PM
Create a batchfile with the commands you want to run.
Put it in the scheduler to run once.

I use
copy batchfile.cmd \\servername\c$\temp
RCMD \\servername
soon c:\temp\batchfile.cmd
exit
within 1 minute, the scheduler will run the batchfile(script) for you and install the Service :D

Paratima
08-26-2002, 02:21 PM
Works slicker than snake snot!

For extra help, TSF has a humongous store of FAQ's here (http://tsf.dbestern.net/faq.php) .

IronBits
08-26-2002, 02:44 PM
Nice collection of FAQ :D

From the Readme file http://www.distributedfolding.org/readmeclient.html


To setup the program to work as a service:

1. Open a DOS prompt to the directory you installed the client.
2. If it is not already there, create a new file called "handle.txt" and in it
type your 8 character handle followed by Enter (or alternatively, run
foldit.bat first, enter your handle when asked for it, then quit)
3. Type: foldtrajlite /install (and hit Enter)
4. The next time you reboot your machine it will start automatically

To remove the service:

1. Go to Administrative Tools -> Services
2. Find and Stop the service called Distributed Folding Project
3. Open a DOS prompt to the directory you installed the client.
4. Type: foldtrajlite /remove (and hit Enter)
5. It will not be run on your machine automatically anymore

You may install a second instance of the service by changing step 3 above
from 'foldtrajlite /install' to 'foldtrajlite /install2'. Similarly, to
remove this second instance, change step 4 to 'foldtrajlite /remove2'.
Note that if you wish to run two instances, you must install two full
copies of the software in separate directories and install one using
/install and the other /install2. Not following this procedure correctly
will result in unpredictable behaviour.

Configuring the service
-----------------------
You should have a SERVICE.CFG file in your client directory after
following the above steps. If it is not there, remove and re-install
the service. The first line of this file must contain a number
identifying whether it is copy 1 or copy 2 of the service. Next, you
may include any of the following options in any order if you wish:

useram=1 makes use of extra RAM for improved speed (see -rt option
elsewhere in this readme); default is useram=0
priority=### where -20<=###<=20 sets the priority of the task just like
the -p option (20=passive, -20=aggressive); default is 20
progress=### where 0<=###<=100 sets the update interval for the
progress.txt file, like the -g option (0=disable)
default is 50
uploadfreq=### where 999<=###<=10000 controls the upload frequency like
the -s option; default=999=assigned from our server

MashRinx
08-26-2002, 05:26 PM
Thanks for all the feeback guys.

A couple questions about IB's first post:

Ok, the only other question I have then is can I run some of these Win 2K Resource Kit utils on an XP box, or will I need to run them from a 200 Server. It's fine if I do need to run them from a server, but more convinient if I can do it from an XP box...

Thoughts?

Thanks again,

Mash

IronBits
08-26-2002, 08:05 PM
Say it after me ;)
WindowsXP is really Windows2000 with an AOLer interface tacked on, and better USB support :)
Should work fine... try it ;) :D

bwkaz
08-26-2002, 09:18 PM
Originally posted by IronBits
Say it after me ;)
WindowsXP is really Windows2000 with an AOLer interface tacked on, and better USB support :)
Should work fine... try it ;) :D Don't forget -- XP Home won't let you join a domain or even change your workgroup (you pick one when you first set the OS up), from what I could find from looking around for about a half hour on my sister's laptop.

They must have hidden that one REALLY well under that AOL'ish interface... :spank:

MAD-ness
08-26-2002, 11:22 PM
XP home - horse$h1t.

XP pro - lovely consumer OS.

=)

I haven't used home, but the stuff they arbitrarily cut out shouldn't matter to MOST people.

I love pro though. Never, EVER want to go back to win9x. :(

MAD-ness
08-26-2002, 11:24 PM
BTW, if anyone sees errors in that FAQ (I put it together in a rush and haven't had the stomach to go back through and edit really well and fook with the html and css, etc. etc and break it again) let me know please.

Also, if you have anything you want to add please let me know as well and I will credit it however you want and include a link to your prefered DF resource (i.e. your team's web site or your personal DF site, if you have one).

IronBits
08-27-2002, 12:15 AM
Thanks MAD-ness ! :smoking:
:thumbs: Lookin good :)