Registry question- Poping in the service?

marty9876

[H]ard|DCer of the Month - February 2006
Joined
Jun 11, 2003
Messages
4,906
Ok, looking to borg some units remotely via dialup. Question what's the quickest way. When I connect to these units, it's not over the internet. The boxen connect once a night automatically, for a 1 hour window. I set one up manually and it seemed to grab a WU, I assume the boxen will upload/download another when done. Yea, when it finishes early nothing to do, but better than nothing. I guess I could cache timeless but that's no fun.

If I make a directory called "folding".
Upload the console file, config I want to use
Upload this key (not the machine specific one) and pop it in
Reboot the boxen

Will this work? Going through the config screen kinda blows just to pop the service in.

Opps, forgot the forceasm on this boxen.

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\FAH@C:+Folding+FAH502-Console.exe]
"Type"=dword:00000010
"Start"=dword:00000004
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):43,00,3a,00,5c,00,46,00,6f,00,6c,00,64,00,69,00,6e,00,67,00,\
  5c,00,46,00,41,00,48,00,35,00,30,00,32,00,2d,00,43,00,6f,00,6e,00,73,00,6f,\
  00,6c,00,65,00,2e,00,65,00,78,00,65,00,20,00,2d,00,73,00,76,00,63,00,73,00,\
  74,00,61,00,72,00,74,00,00,00
"DisplayName"="FAH@C:+Folding+FAH502-Console.exe"
"ObjectName"="LocalSystem"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\FAH@C:+Folding+FAH502-Console.exe\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
  05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
  00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
  00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\FAH@C:+Folding+FAH502-Console.exe\Enum]
"0"="Root\\LEGACY_FAH@C:+FOLDING+FAH502-CONSOLE.EXE\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
 
Looks like a good way to do it. If you do want to use the client to do all the work by itself instead, you can type all of your answers into a text file and run something like "fah502-console.exe < answers.txt" to have it read the answers from it. No idea how to get forceasm added that way, though.
 
You will have to edit your reg key before exporting it to add -forceasm. The only problem I have had with using reg keys is the security and enum being different on each machine. When I was testing it I would get errors but removing them took away those errors, and created one other but i think thats becasue of some other reg key that puts the service in services.msc, and lets yous start the service immediately instead of waiting on the next reboot.
 
Back
Top