Results 1 to 10 of 10

Thread: Remotely Installing a Service on WinXP

  1. #1
    Member
    Join Date
    Jun 2002
    Location
    Atlanta, GA
    Posts
    35

    Remotely Installing a Service on WinXP

    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)

    Mash

  2. #2
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    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

  3. #3
    Ancient Programmer Paratima's Avatar
    Join Date
    Dec 2001
    Location
    West Central Florida
    Posts
    3,296
    Works slicker than snake snot!

    For extra help, TSF has a humongous store of FAQ's here .

  4. #4
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    Nice collection of FAQ

    From the Readme file http://www.distributedfolding.org/readmeclient.html
    Code:
    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

  5. #5
    Member
    Join Date
    Jun 2002
    Location
    Atlanta, GA
    Posts
    35
    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
    Last edited by MashRinx; 08-26-2002 at 05:31 PM.

  6. #6
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    Say it after me
    WindowsXP is really Windows2000 with an AOLer interface tacked on, and better USB support
    Should work fine... try it

  7. #7
    Senior Member
    Join Date
    Mar 2002
    Location
    MI, U.S.
    Posts
    697
    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
    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...

  8. #8
    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.

  9. #9
    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).

  10. #10
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    Thanks MAD-ness !
    Lookin good

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •