Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Booster configuration may be configured with a SuperPrefs FilesetCreating a Superprefs Fileset

If you need Alternatively, it is possible to script Booster settings using a script.  The following script may be used to change booster settings in of multiple clients preferences, here is a script that can do it.:

Directions


Code Block
languagebash
themeConfluence
linenumberstrue
@echo off
NET STOP "FileWave WinClient">NUL
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1 /t REG_SZ /d no.booster.set /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1port /t REG_SZDWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1PublishPort /t REG_SZDWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster2 /t REG_SZ /d no.booster.set /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster2port /t REG_SZDWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster2PublishPort /t REG_SZDWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster3 /t REG_SZ /d no.booster.set /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster3port /t REG_SZDWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster3PublishPort /t REG_SZDWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster4 /t REG_SZ /d no.booster.set /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster4port /t REG_SZDWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster4PublishPort /t REG_SZDWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster5 /t REG_SZ /d no.booster.set /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster5port /t REG_SZDWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster5PublishPort /t REG_SZDWORD /d 0 /f
NET START "FileWave WinClient"

exit

...

Copy this script to a text editor. In this script we are chaning ips of all the bosoters from booster2 till booster5. You can add and remove the lines according to your requirements.So to modify the script in this line " REG ADD This script can change the names of all  boosters, from booster1 through booster5. Add and remove lines according to requirements.  Edit each entry per Booster, replacing:

  • 'no.booster.set' with the name of the Booster
  • Booster port to the required port; set as 20013 if Booster uses default settings
  • Booster Monitor Port to the required port; set as 20003 if Booster uses default settings

Leave as 'no'booster.set' where there is no Booster required.


Note

Always consider using Fully Qualified Domain Names for the Booster name


Save the script with the .bat extension.  Ensure the script is configured for 'Execute once when activated' from the 'Get Info' > 'Executables' tab.

Example

Modify Booster 1 as:

  • 'booster1.filewave.com'
  • 20013
  • 20003


Code Block
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\

...

WinClient /v

...

 booster1 /t REG_SZ /

...

We also need to set the ports for the boosters. That configuration is done in "REG ADD HKLMSOFTWAREFileWaveWinClient /v booster2port /t REG_SZ /d 0 /f" line. You can see the underlined character is 0(zero) for no.booster.set. But when we set a booster we need to configure the port. So simply modify the 0 with 20013. Similarly in the next lines you can add ports for booster 3, booster 4 and booster 5.

...

d booster1.filewave.com /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1port /t REG_DWORD /d 20013 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1PublishPort /t REG_DWORD /d 20003 /f