Skip to main content

Configure Windows Client Booster Settings with a Script

DescriptionWhat this script configures

Boosters running on Windows systemsclients maycan bereceive configuredup withto five Booster addresses and ports through a SuperPrefs Fileset: Creating a Superprefs Fileset or the batch script below.

Alternatively,Use itthe isscript possiblewhen you need a Fileset to scriptwrite explicit Booster settingsentries usinginto athe script.FileWave TheWinClient followingRegistry scriptsettings. mayIt bestops usedthe toclient changeservice, boosterupdates settingsthe ofentries, multipleand clientsstarts preferences:the service again.

DirectionsBatch script

@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_DWORD /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_DWORD /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_DWORD /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_DWORD /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_DWORD /d 0 /f
NET START "FileWave WinClient"

exit

Copy thisthe script tointo a text editor.editor Thisand script can changeadjust the names of all  boosters, from booster1 through booster5.booster5 Addentries andfor removeyour lines according to requirements.  Edit each entry per Booster, replacing:environment:

  • 'Replace no.booster.set'set with the Booster's fully qualified domain name offor each slot you use.
Set the Booster Boostermatching port to the required port; set as 20013 ifconfigured Booster usesport. The default settings
is 20013. For an unused slot, keep no.booster.set and port 0.

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

Alwaysnot use Fullya Qualifiedshort Domainhost Namesname forwhen the client must resolve the Booster nameacross DNS domains.

Save the scriptfile with thea .bat extension.

Ensure

In the scriptFileset's isGet configuredInfo for> 'Executables tab, add the batch file and configure it to Execute once when activated' from the 'Get Info' > 'Executables' tab.activated.

Example

ModifyThis example configures Booster 1 as:

as
    'booster1.filewave.com'com on the default port 20013
    :
    REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1 /t REG_SZ /d booster1.filewave.com /f
    REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1port /t REG_DWORD /d 20013 /f