Well I tried my own way, and its bugging the hell out of me cuz I cant figure out why its not working for me! I went ahead and used some other package to install F@H as a service, and technically it works fine.
It works, but personally I think installing services using intsrv.exe, netsrv.exe, and srvany.exe sucks. I prefer to use the SC command.
THIS IS WHAT I DID...
- I made a new folder D:\Folding@Home\
- I downloaded FAH4Console.exe into that folder.
- I placed 2 .bat files within that folder.
- install_service.bat
- delete_service.bat
install_service.bat
Code: Select all
@ECHO OFF
ECHO.
ECHO First, we'll configure Folding@Home's console.
ECHO.
pause
%cd%\FAH4Console.exe -local -configonly
ECHO.
ECHO.
ECHO Now we'll tell windows to...
ECHO 1) run Folding@Home as a service
ECHO 2) set the description for the service
ECHO 3) tell windows what to do if Folding@Home fails to start
ECHO 4) start the service and exit this window.
ECHO.
pause
sc create Folding@Home binpath= "%cd%\FAH4Console.exe -service -advmethods -forceSSE -forceasm -local -service -verbosity 9" start= auto displayname= Folding@Home
sc description Folding@Home "Folding@Home is a distributed computing project which studies protein folding, misfolding, aggregation, and related diseases. We use novel computational methods and large scale distributed computing, to simulate timescales thousands to millions of times longer than previously achieved. This has allowed us to simulate folding for the first time, and to now direct our approach to examine folding related disease."
sc failure Folding@Home reset= 100 actions= restart/60000/restart/90000/restart/120000
sc start Folding@Home
EXIT
delete_service.bat
Code: Select all
@ECHO OFF
sc stop Folding@Home
sc delete Folding@Home
EXIT
As far as it goes, everything's fine...until you tell it to actually start the service.
At that point, I keep getting Error 1053: The service did not respond to the start or control request in a timely fashion.
What do I do now?